The IP address is like a phone number, but the area code is required for dialing a phone number from another country. The subnet mask is required for accessing other network segments in the network. The IP address must be classified as if the IP
This is a thesis composition. Recently always wanted to write something, but have been unable to find the topic, just received an e-mail, someone asked me the layout of the Linux routing table problem and the problem of routing cache, in addition to
How to block a large number of malicious IP addresses in Linux
In many cases, you may need to block IP addresses in Linux. For example, as an end user, you may want to avoid the troubles of spyware or IP tracking. Or when you are running P2P
Http://blog.chinaunix.net/uid-346158-id-2131136.html
In linux, apart from primary, there are two types of IP addresses:1. ip alias (sub-interface)2. secondary ip (secondary ip)Can be added to a physical network card. alias is added by ifconfig.
A thorough understanding of Cisco, Linux, and Windows IP routing-1. As long as you understand the essence, the name is not important! Many Linux-based network experts consciously beat Cisco administrators in terms of management distance, route
In many cases, you may need to block IP addresses under Linux. For example, as an end user, you may want to be immune from spyware or IP tracking. Or when you're running the peer software. You may want to filter the Internet links for anti-peer
TCP/IP protocol stack
This section briefly introduces the internal structure of TCP/IP and lays the foundation for discussing Internet-related security issues. TCP/IP protocol groups are popular in part because they can be used on a variety of
Introduction: This article as a theoretical basis, will tell us the basic principles of TCP/IP and important protocol details, and on this basis, introduced the implementation of TCP/IP on Linux.OSI Reference Model and TCP/IP Reference ModelThe OSI
The problem of Netfilter/iptables
In Linux, it is easy to use the Netfilter/iptables framework to prohibit IP addresses:
The code is as follows:
$ sudo iptables-a input-s 1.1.1.1-p tcp-j DROP
If you want to completely block an IP address segment,
Because the company's intranet gateway and intranet IP address is not in a network segment, linux can not connect to the Internet, the solution is as follows: 1.vim/ etc/rc. local2. add the following two
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.