Hello Subhro,

Monday, October 11, 2004, 11:32:13 AM, you wrote:

> 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 like:

> ipfw add 100 deny all from to me in

> Regards
> S.

> On Mon, 11 Oct 2004 08:46:40 +0200, Pelle Andersson <[EMAIL PROTECTED]> wrote:
>> Hi!
>> I have a lot of login attempts from various networks and IP addresses
>> 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
>> the 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)
>> to stopping them? I have the firewall activated and have changed
>> the port for example SSH to a higher one.
>> Could someone please provide me with some examples on either using
>> hosts.deny or the default firewall?

you should try hosts.allow alrady. for example:

sshd : : deny

>> A big thanks in advance,
>> Best Regards Pelle

Best regards

| [EMAIL PROTECTED] ICQ261701668 |
| http://danger.homeunix.org |

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to