hosts.allow and hosts.deny are in the /etc/directory. The priority is first to check hosts.deny, then check hosts.allow, the latter setting can override the former limit,
For example: 1. Limit all ssh unless it comes from 218.64.87.0——127. Hosts.deny:in.sshd:ALLhosts.allow:in.sshd:218.64.87.0/255.255.255.128
2. Close the telnethosts.denyin.sshd:218.64 of 218.64.87.0——127. 87.0/255.255.255.128
3. Restrict everyone's TCP connection unless accessing hosts.denyALL:ALLhosts.allowALL:218.64.87.0/255.255.255.128<21> from 218.64.87.0——127 p>4. Restrict 218.64.87.0——127 access to all services hosts.denyALL: 218.64.87.0/255.255.255.128
where the colon is preceded by the TCP daemon's service process name, usually the system process is Specified in /etc/inetd.conf, such as in.ftpd, in.telnetd, in.sshd
There are several ways to write IP address ranges. The main three are: 1. Network address —&mdash Subnet mask mode: 218.64.87.0/255.255.255.02. Network address mode (I call it myself, huh, huh) 218.64. (ie IP address starting with 218.64) 3. Minimize the subnet mask mode, which is a few How many "1" are in front of the subnet mask? For example: 218.64.87.0/255.255.255.0 "===="218.64.87.0/24
The Linux boot file is stored in the grub.conf configuration file in the /boot/grub/directory. 1.
First talk about my environment: redhat5.4 system, IP address is 192.168.0.10 Debian is 6.0 system,
tcpdump is a commonly used capture tool under the Linux command line, record the usual way, the test
Under Linux is a regular software installation method in addition to binary form of software distrib
Linux system security performance check small note
Install ADSL Internet Dialer under SUSE Linux
ECmall how to add users in bulk
Linux LAMP service rpm package installation and configuration basic tutorial
Solve SecureCRT Chinese garbled
Reset MySQL root password under Linux
Exclusion of Operating System Printing Failures
Apache prefork and worker working mode introduction
Sudo cd and sudo ll command error solution
In turn, let xp memory read and write errors no longer appear
Must know that Win10 Black Technology from artificial intelligence to image recognition
Windows XP can't add input method solution
Win8 microphone sound is small how to solve
What should I do if the Win10 preview version of the start menu application list is blank?
The SD card is damaged, how to take out the information inside