Once I noticed a message in /var/log/samba/log on one of the servers with samba:
Continue reading “Samba warning solution “rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)””Category Archives: Linux
Monitoring current RX and TX network interface buffers in Zabbix
One day after restarting the Ubuntu server, due to the long start of a large number of network interfaces, my script which increased the values of the buffers and also performed other settings was performed ahead of time, respectively, the changes did not apply and I found out about this problem only after 24 hours, so I decided monitor current RX and TX buffers.
Continue reading “Monitoring current RX and TX network interface buffers in Zabbix”Solution of the warning “database /etc/aliases.db is older than source file /etc/aliases”
I noticed once on one of the servers in the files /var/log/mail.log and /var/log/syslog the following warning:
Continue reading “Solution of the warning “database /etc/aliases.db is older than source file /etc/aliases””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”Restricting access to cPanel by IP
In cPanel, you can enable question control for unknown IP addresses.
After entering the correct username and password, 4 questions will be asked.
Install and configure tftpd-hpa
I will give an example of installing a tftpd server tftpd-hpa.
Continue reading “Install and configure tftpd-hpa”Accel-ppp debug
I will give an example of accel-ppp build with debugging information support, for example, in order to find out the cause of the crash.
Continue reading “Accel-ppp debug”How to detect DDOS attacks
I will give examples of viewing the number of active compounds:
Continue reading “How to detect DDOS attacks”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.
How to change “open files” in Linux
I will give an example of viewing and increasing the value of “open files” in Linux.
Continue reading “How to change “open files” in Linux”