wetelectric Posted September 5, 2007 Share Posted September 5, 2007 Damn i love this program, so easy to configure. Tunnelling via ssh from my work box to my house, plus torrenting like crazy. Yet it's still working very smoothly. Anyway, does anyone use it, and if so what for...anything good? Quote Link to comment Share on other sites More sharing options...
cooper Posted September 6, 2007 Share Posted September 6, 2007 Um... In my world Squid is a caching HTTP proxy server. A *DAMN* good one at that of course, but still... Torrents? SSH? This puppy doesn't deal with that. It does filter all ads though (and prevents Google from finding out about me). Got a link or something? Quote Link to comment Share on other sites More sharing options...
wetelectric Posted September 7, 2007 Author Share Posted September 7, 2007 I meant that on my box at home I am torrenting (not via squid), you know generally raping my by upload. Then while at work I forwarded the proxy connection via ssh to my box at home. So on my firefox the settings are 127.0.0.1:MYSQUIDPORT. I did this fully expecting it to be as slow as fuck. But it handled it beautifully. So thumbs up to openssh and squid! yays all round methinks! Completely pointless of course..but meh Quote Link to comment Share on other sites More sharing options...
metatron Posted September 7, 2007 Share Posted September 7, 2007 Um... In my world Squid is a caching HTTP proxy server. Same here. Quote Link to comment Share on other sites More sharing options...
jollyrancher82 Posted September 7, 2007 Share Posted September 7, 2007 Um... In my world Squid is a caching HTTP proxy server. Same here. In my world squid is a tasty dish at a restaurant. :) Quote Link to comment Share on other sites More sharing options...
cooper Posted September 8, 2007 Share Posted September 8, 2007 In my world squid is a tasty dish at a restaurant. :) Guess that means we're both missing out. :) Quote Link to comment Share on other sites More sharing options...
dhp1080 Posted September 8, 2007 Share Posted September 8, 2007 In my world squid is a tasty dish at a restaurant. :) Mmmm... Calamari Quote Link to comment Share on other sites More sharing options...
wetelectric Posted September 13, 2007 Author Share Posted September 13, 2007 I hate sea food. But I actually like squid...odd. Trying to set up squid to filter out adservers...having problems.... # And finally deny all other access to this proxy #acl adservers dstdomain "/usr/local/squid/etc/denied_domains.acl" acl url_ads url_regex "/usr/local/squid/etc/banner-ads.acl" http_access deny url_ads http_access deny all I have a simple regExp list which i have set up as above..... It doesn't work. How have you guys done it? Am I on the right path or is my method fishy? (i know, i know) Quote Link to comment Share on other sites More sharing options...
cooper Posted September 14, 2007 Share Posted September 14, 2007 I have the following: acl blocked_domains dstdom_regex -i "/etc/squid/blocked_domains" acl blocked_urlpaths urlpath_regex -i "/etc/squid/blocked_urlpaths" acl blocked_urls url_regex -i "/etc/squid/blocked_urls" acl allowed_domains dstdom_regex -i "/etc/squid/allowed_domains" http_access allow allowed_domains http_access deny blocked_domains http_access deny blocked_urlpaths http_access deny blocked_urls # allow the local network to access the proxy acl localnet src 192.168.0.0/24 http_access allow localnet # allow localhost to access theĀ proxy http_access allow localhost # And finally deny all other access to this proxy http_access deny all The -i in it makes the regexes case-insensitive. I also doubt you want to 'deny all' without first specifying which machines are actually allowed to access the proxy. In the url http://www.somewebsite.blah/path/to/page.html: [li]dstdom = www.somewebsite.blah[/li] [li]urlpath = /path/to/page.html[/li] [li]url = www.somewebsite.blah/path/to/page.html[/li] That should get you going... :) Quote Link to comment Share on other sites More sharing options...
wetelectric Posted September 14, 2007 Author Share Posted September 14, 2007 Yea that pretty much what I had..apart from the "-I" . Tunneling it via ssh # Example rule allowing access from your local networks. Adapt # to list your (internal) IP networks from where browsing should # be allowed acl our_networks src 127.0.0.1 http_access allow our_networks # And finally deny all other access to this proxy #acl adservers dstdomain "/usr/local/squid/etc/denied_domains.acl" acl url_ads url_regex -i "/usr/local/squid/etc/banner-ads.acl" http_access deny url_ads http_access deny all Still not working perhaps it's my regExp. The following should filter ad coming from http://ad.doubleclickEvil.com ^http://ads. ^http://ad. ^http://ads02. ^http://adaver.*. Bah, i'll figure it out. Quote Link to comment Share on other sites More sharing options...
cooper Posted September 15, 2007 Share Posted September 15, 2007 In the url http://www.somewebsite.blah/path/to/page.html: [li]dstdom = www.somewebsite.blah[/li] [li]urlpath = /path/to/page.html[/li] [li]url = www.somewebsite.blah/path/to/page.html[/li] QFE Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.