Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2004 11:51:14 +0200
From:      "Pelle Andersson" <>
To:        "'Subhro'" <>
Subject:   Re: Adding network & IP to hosts.deny
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Thanks for your reply!

Does it matter where in the script I put this/these line/lines?
Must it be before or after any other rule?


> The firewall would be definitely a better bet than host.deny.
> If you are using ipfw you can simply add a couple of deny rules
> ipfw add 100 deny all from to me in
> Regards
> S.

On Mon, 11 Oct 2004 08:46:40 +0200, Pelle Andersson <>
> Hi!
> I have a lot of login attempts from various networks and IP
> on my FBSD 4.10 server. I have read the man pages for hosts.deny but

> do not understand how to add networks and IP addresses to it.
> Let's say I want to block the network address and/or
> IP address
> What I understand is when using hosts.deny, I stopping them totally 
> from using any networking services, right?
> Would it be better to let the built-in firewall (/etc/rc.firewall)
> stopping them? I have the firewall activated and have changed the
> for example SSH to a higher one.
> Could someone please provide me with some examples on either using 
> hosts.deny or the default firewall?
> A big thanks in advance,
> Best Regards Pelle
> _______________________________________________
> mailing list 
> To unsubscribe, send any mail to

Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091

Want to link to this message? Use this URL: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAArvdSa/sjb0OI1eLKLXuK1sKAAAAQAAAAdhm1lxTTtk6dT6bn56JRwgEAAAAA>