Alex Efros schrieb:
Hi! On Sun, Oct 02, 2005 at 02:24:23PM -0700, Tad Glines wrote:These are the rules that I'm using. iptables -N SSH_WHITELIST iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --set --name SSH iptables -A INPUT -p tcp --dport 22 -m state --state NEW -j SSH_WHITELIST iptables -A SSH_WHITELIST -s 217.160.x.x -m recent --remove --name SSH -j ACCEPT iptables -A SSH_WHITELIST -s 10.0.0.0/8 -m recent --remove --name SSH -j ACCEPT iptables -A SSH_WHITELIST -s 212.184.x.x-m recent --remove --name SSH -j ACCEPT iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 60 --hitcount 4 --rttl --name SSH -j LOG --log-prefix "SSH_brute_force: " iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 60 --hitcount 4 --rttl --name SSH -j DROP Bye Marc |
- Re: [gentoo-security] [OT?] automatically ... Kirk Hoganson
- Re: [gentoo-security] [OT?] automatica... boger
- Re: [gentoo-security] [OT?] autom... Kirk Hoganson
- Re: [gentoo-security] [OT?] a... boger
- Re: [gentoo-security] [OT?] a... Kirk Hoganson
- Re: [gentoo-security] [OT?] a... boger
- [gentoo-security] Port knocki... Tobias Sager
- Re: [gentoo-security] Port kn... boger
- RE: [gentoo-security] [OT?] automatically firewalling o... Tad Glines
- Re: [gentoo-security] [OT?] automatically firewall... Alex Efros
- Re: [gentoo-security] [OT?] automatically fire... Marc Risse
- RE: [gentoo-security] [OT?] automatically fire... Tad Glines
- Re: [gentoo-security] [OT?] automatically ... Matan Peled
- Re: [gentoo-security] [OT?] automatica... William Kenworthy
- Re: [gentoo-security] [OT?] autom... Matan Peled
- Re: [gentoo-security] [OT?] a... William Kenworthy
- Re: [gentoo-security] [OT?] a... Kirk Hoganson
- RE: [gentoo-security] [OT?] automatica... Tad Glines
- RE: [gentoo-security] [OT?] autom... Eric Paynter
- Re: [gentoo-security] [OT?] a... RADDS Support Team
- Re: [gentoo-security] [OT?] automatically firewalling o... DeadManMoving
