Re: Blocking ip address on RH8
On Thu, 2003-02-27 at 20:49, LAST FIRST wrote: edit /etc/host.deny add the websites name there. Regards eulerkhc --- Jim Vellenga [EMAIL PROTECTED] wrote: Greetings, I am currently running on RH8.0 and my internet gateway for my home network. I want to block access to specific web sites and was wondering what would be the best way to do that? Jim Correct me if I'm wrong on this one, but the tcp_wrappers /etc/hosts.allow and /etc/hosts.deny are for _incoming_ daemon connections that are compiled against tcp_wrappers. Want to block access to some sites? Use Squid. It's included on the Red Hat v8 cdroms. Edit the /etc/squid/squid.conf file and you can block access like this: acl blockedsitesdstdomain .microsoft.com acl blockedsitesdstdomain .hotmail.com http_access denyblockedsites These lines have to be in certain sections on the configuration file, order does matter. -- Caleb Groom [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Blocking ip address on RH8
You are correct, at least, adding the sites I want to block to hosts.deny doesn't do anything for web-pages. I have never used squid before, and just masq the internet connections using iptables (a protocol that I still find cryptic) I guess I will have to learn some more :) My hope is that squid is easy to set-up. Once more into the breach. . .. Jim Correct me if I'm wrong on this one, but the tcp_wrappers /etc/hosts.allow and /etc/hosts.deny are for _incoming_ daemon connections that are compiled against tcp_wrappers. Want to block access to some sites? Use Squid. It's included on the Red Hat v8 cdroms. Edit the /etc/squid/squid.conf file and you can block access like this: acl blockedsitesdstdomain .microsoft.com acl blockedsitesdstdomain .hotmail.com http_access denyblockedsites These lines have to be in certain sections on the configuration file, order does matter. -- Caleb Groom [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Blocking ip address on RH8
Greetings, I am currently running on RH8.0 and my internet gateway for my home network. I want to block access to specific web sites and was wondering what would be the best way to do that? Jim -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Blocking ip address on RH8
edit /etc/host.deny add the websites name there. Regards eulerkhc --- Jim Vellenga [EMAIL PROTECTED] wrote: Greetings, I am currently running on RH8.0 and my internet gateway for my home network. I want to block access to specific web sites and was wondering what would be the best way to do that? Jim -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list _ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP more! http://www.everyone.net/selectmail?campaign=tag -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list