Operating Systems > Linux and UNIX

Networking Help!

<< < (13/15) > >>

voidmain:
did you remove the "http_access allow all" from anywhere above those lines? Remember from top to bottom an "allow all" would match anything and never get to your rule.

Master of Reality:

quote:Originally posted by VoidMain:
did you remove the "http_access allow all" from anywhere above those lines? Remember from top to bottom an "allow all" would match anything and never get to your rule.
--- End quote ---


i put http_access DENY all below these lines

voidmain:
Now I just added the same rules and it worked fine for me. Did you tell squid to reload it's configuration after making the changes? "/etc/rc.d/init.d/squid reload". If you did and it still doesn't work can you stick a copy of your squid.conf on your web site so I can take a look at it? Also make sure you do your tests on the client machines and not on the server. You'll notice that "http_access allow localhost" is a default rule that if above your other rules would have allowed access to anywhere. If you want the rule to apply to the server as well just add the "!bansites" to the end of "http_access allow localhost". And your "acl" definitions should be above your "http_access" rules which it looks like you have done.

[ April 24, 2002: Message edited by: VoidMain ]

Master of Reality:
okay... it seems to work now, its succesfully blocking microsoft.com.

Master of Reality:
I was just browsing around fuckmicrosoft... and suddenly it says connection refused from fuckmicrosoft.com. It says this to every website i go to. I can still ping the outside world, so i turned off the proxy in Mozilla and it works again. This has happend before, but it started working again. The proxy always works fine with my windows computer. Now i have my server just masqing my linux computer and not sending it through the proxy. I restarted squid and that didnt work either. Does anyone have any clue at all what the hell could be causing this?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version