Web Hosting Talk







View Full Version : /etc/hosts.allow and IP ranges


driverdave
10-25-2001, 02:50 AM
I'm not too up on networking, so I need a little help.

I keep on seeing failed log-in attempts from a dial up account IP. All the dial up IP's start the same 64.174.184.24, 64.174.185.81 etc...

How would I go about DENY ing tcp services to this IP range, and where exactly would I do it? I DENY: ALL in hosts.deny and open up things in allow. Can I do more DENY ing in hosts.allow?

I don't mind shutting out a few dial up's from this network.

Thanks for your help. I also need to open up an IP range for someone, but I'm assuming if someone show's me how to DENY a range, I can figure out how to open one up.

iVersit
10-25-2001, 07:15 AM
when you enter ALL:ALL in hosts.deny, you are only denying those IP addresses the services listed in (inetd?) such as telnet/ftp/etc.

I haven't been able to find a way to deny TCP from certain IPs(but if you do, please let me know!)

Wish I could be of more help...

node9
10-25-2001, 07:58 AM
ALL:64.124.50.

driverdave
10-25-2001, 05:10 PM
Thanks!