21 KEJ ИнтерКосмос★Кузнец
Bilgili
Teamspeak 3 TS3INIT1 saldırısı engelleme
iptables -A INPUT -p udp --dport 9987 -m string --string "TS3INIT1" --algo kmp -m hashlimit --hashlimit-above 3/s --hashlimit-burst 3 --hashlimit-mode srcip --hashlimit-name ts3init1 -m recent --name KEJFW --set -j DROP
iptables -A INPUT -m conntrack --ctstate NEW -m string ! --string "TS3INIT1" --algo kmp -m length ! --length 62 -m hashlimit --hashlimit-above 1/s --hashlimit-burst 1 --hashlimit-mode srcip --hashlimit-name KEJFW -m recent --name KEJFW --set -j DROP
iptables -A INPUT -p udp --dport 9987 -m string --string "TS3INIT1" --algo kmp -j ACCEPT
iptables -A INPUT -p udp --dport 9987 -m string --string "TS3INIT1" --algo kmp -m hashlimit --hashlimit-above 3/s --hashlimit-burst 3 --hashlimit-mode srcip --hashlimit-name ts3init1 -m recent --name KEJFW --set -j DROP
iptables -A INPUT -m conntrack --ctstate NEW -m string ! --string "TS3INIT1" --algo kmp -m length ! --length 62 -m hashlimit --hashlimit-above 1/s --hashlimit-burst 1 --hashlimit-mode srcip --hashlimit-name KEJFW -m recent --name KEJFW --set -j DROP
iptables -A INPUT -p udp --dport 9987 -m string --string "TS3INIT1" --algo kmp -j ACCEPT