Why service networking restart or /etc/init.d/networking restart does not work

For example, take the server with the operating system Ubuntu Server 14.04, in which let’s say we changed the network settings when executing the commands:

Continue reading “Why service networking restart or /etc/init.d/networking restart does not work”

The script against DDOS attacks

I will give an example of a simple script against DDOS attacks for NAT servers.
The script is executed when the total number of “conntrack” connections is more than 500000, it saves to the text file the IP address which has the most “conntrack” connections, who has more than 10,000 – adds to the ipset list.

Continue reading “The script against DDOS attacks”