Skip to content

Tags

On this page

Linux Anti DDos

See who connect with Me

See: here

ss -tun state connected

Sort by ip connect with 443

netstat -tn 2>/dev/null | grep -E '\s[0-9.]+:443\s' | awk '{print $5}' | cut -d : -f 1 | sort | uniq -c | sort -nr

Ban

See here

sudo systemctl status firewalld
sudo firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='202.61.254.136' reject"
sudo firewall-cmd --reload
sudo firewall-cmd --list-all

Kill tcp

tcpkill host <ip>
Edit this page
Last updated on 1/3/2022