25 Dec
2005
25 Dec
'05
20:30
* Zarantu <zarantu@gmail.com> [12-25-05 15:06]:
Why bother with the firewall, do it the easy way: sudo echo "PORT : IP_ADDY/NETMASK" >>/etc/hosts.deny && rcsshd restart done.
examples: block a single host: ssh : 211.206.120.15/255.255.255.0 block an entire subnet: ssh : 220.135.213.*/255.255.254.0 (these ip's were bugging me daily, no more)
If you are taking this route, why just 'ssh'? Why not block 'all'? -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2