Discover ip address blacklist removal, include the articles, news, trends, analysis and practical advice about ip address blacklist removal on alibabacloud.com
1. Use commands to set the Ubuntu IP Address
1. modify the configuration file blacklist. conf to disable IPv6.
Sudo VI/etc/modprobe. d/blacklist. conf
The contents of the blacklist. conf file in The modprobe. D folder in the ETC folder are edited using the VI Editor (or o
--match-set banthis src-p tcp--destination-port 80-j DROP
If you want, you can save a specific IP set to a file that can be restored from the file later:
The code is as follows:
$ sudo ipset save banthis-f banthis.txt
$ sudo ipset destroy Banthis
$ sudo ipset restore-f banthis.txt
In the above command, I use the destory option to remove an existing IP set to see if I can restore it.
Automatic
aspect, and then modify the Nic configuration information, run the following command: (of course, you can use the graphic window. I. use commands to set the IP address of ubuntu. modify the configuration file blacklist. conf disable IPV6: sudo vi/etc/modprobe. d/blacklist. conf2. add
I installed Ubuntu today but found that I cannot access the Internet. I started to troubleshoot the problem:
1. First, check whether the network connection is correct and whether the network cable used works properly.
2. Check whether the network card works properly. The detection method is as follows:
A. Ping 127.0.0.1
B. Ping the static gateway address
C. Ping the Host Name (hostname indicates the host name)
3. Check whether the NIC
cannot be found in the ip address list // string rawUrl = HttpContext. current. request. rawUrl; // UrlMatchEngine pu = WebsiteFilterConfiguration. getConfig (). pickedUrls; // The list contains the current url and the list is blacklisted. The list does not contain the current url and the list is not blacklisted, when the value of "configuration result" is the same as that of "
| awk ' $1 > 100 'Mask IPv6echo "blacklist ipv6" | sudo tee /etc/modprobe.d/blacklist-ipv6View the current network connection status and programsudo netstat -atnpView network connection statusnetstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'View All listening ports of the current systemnc -zv localhost 1-65535View Current Network Traffic# Install ethstatus SoftwareSudo apt-Get install et
In the morning, I suddenly received a notification about the downtime of dnspod ).The server reached 85% at AM. Uptime indicates that the CPU usage reaches 35. Don't go down.Based on previous experience, it should trigger a CPU-consuming processing, restart PHP-CGI to restore immediately, and then view the log.OK immediately after restart.View the log and call up the log at that time point one by one, focusing on the response time. The normal processing time should be within 1 second, and many l
There are 4 ways to execute a shell command through Python, which is described here as a common use.Os.system, Os.popen, commands, subprocessNext introduce the use of subprocessThrough the Python log analysis, get to the attack source IP address, collect writes to the MySQL databaseMySQL is as follows:650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/9A/74/wKioL1lV_KuRc5I3AAAi_QJDHS4141.png-wh_500
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.