iptables -N logattacker
iptables -A INPUT -p udp -m udp --dport 27015 -m length --length 0:32
-j logattacker
iptables -A logattacker -j LOG --log-prefix "SRCDS:ATTACK: "
--log-ip-options -m limit --limit 2/sec
iptables -A logattacker -j DROP

Shamelessly stolen from: http://forums.srcds.com/viewpost/77292#pid77292

A couple of my admins have been complaining about A2* spam, however
there's not really a suitable solution out there at the moment. The
most promising is AzuiSleet's "Serversecure2". However, at the moment
when using it, pings are through the roof when looking at server thus
giving your server a rather unappealing look.

Cheers,
Kyle.

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to