Re: [squid-users] Blocking spesific url

2014-07-11 Thread Andreas Westvik
Thanks for the reply everyone, I was trying to implement this in my squid.conf but 1) squid fails to restart 2)if it starts, no webpage will load. I even tried to paste only the akamaihd\.net\/battlelog\/background-videos\/ in my “adserver” file as well but no dice. Here is my (working)

Re: [squid-users] Re: Blocking spesific url

2014-07-11 Thread Andreas Westvik
Having some issues replying to the thread, thought I had pasted both already. Anyway, here goes. Here is my (working) squid.conf without the acl. http_port 192.168.0.1:3128 transparent #Block acl ads dstdom_regex -i /etc/squid3/adservers http_access deny ads acl LAN src 192.168.0.0/24

Re: [squid-users] Blocking spesific url

2014-07-11 Thread Andreas Westvik
Finally! :D 192.168.0.20 TCP_DENIED/403 3654 GET http://eaassets-a.akamaihd.net/battlelog/background-videos/naval-mov.webm - NONE/- text/html Thanks everyone! :) On 11 Jul 2014, at 10:47, Amos Jeffries squ...@treenet.co.nz wrote: On 11/07/2014 7:50 p.m., Andreas Westvik wrote: Thanks

[squid-users] Blocking spesific url

2014-07-10 Thread Andreas Westvik
So this is driving me crazy. Some of my users are playing battlefield 4 and battlefield have this server browsing page that has webm background. Turns of this video downloads every few seconds and that adds up to about 8Gb every day. Here is the url:

Re: [squid-users] blocking ads/sites not working anymore?

2013-03-10 Thread Andreas Westvik
So what kind of format do I have now then? Do you have any examples? -Andreas On Mar 10, 2013, at 07:46 , Amos Jeffries squ...@treenet.co.nz wrote: On 2013-03-10 01:54, Andreas Westvik wrote: Hi everyone Over the time I have collected a lot of sites to block. snip #Block acl ads

[squid-users] blocking ads/sites not working anymore?

2013-03-09 Thread Andreas Westvik
Hi everyone Over the time I have collected a lot of sites to block. ads/malware/porn etc. This has been working like a charm. I have even created a custom errorpage for this. But since I don't know when, this has stopped working. And according to the googling I have done, my syntax in

Re: [squid-users] blocking ads/sites not working anymore?

2013-03-09 Thread Andreas Westvik
That did the trick! :D http://bildr.no/view/1411006 On Mar 9, 2013, at 14:33 , Amm ammdispose-sq...@yahoo.com wrote: - Original Message - From: Andreas Westvik andr...@spbk.no To: squid-users@squid-cache.org squid-users@squid-cache.org Cc: Sent: Saturday, 9 March 2013 6:24 PM

Re: [squid-users] Securing squid3

2013-02-15 Thread Andreas Westvik
...@treenet.co.nz wrote: On 15/02/2013 10:18 a.m., Andreas Westvik wrote: So i actually got it working! Client - gateway - havp - squid - internets I actually had blocked my self totally from squid3, so that was quite the head scratch. It turned out that http access deny all has

[squid-users] Securing squid3

2013-02-14 Thread Andreas Westvik
Hi everybody I have been running squid3 on my Debian squeeze on/off for a few weeks now. And there is a few things Im not sure of 1. How can I be sure that Im running it securely? I really only want squid3 to server my local clients (192.168.0.0/32). 2. Can I bind squid3 to only listen to any

Re: [squid-users] Securing squid3

2013-02-14 Thread Andreas Westvik
Sorry, I have been replying directly to users email. To clear things up, here is a image of the setup: http://bildr.no/image/1389674.jpeg havp is running on 192.168.0.24:3127 squid3 is running on 192.168.0.1:3128 -Andras On Feb 14, 2013, at 16:45 , babajaga augustus_me...@yahoo.de wrote:

Re: [squid-users] Securing squid3

2013-02-14 Thread Andreas Westvik
heh, try this one http://bildr.no/view/1389674 On Feb 14, 2013, at 16:49 , Andreas Westvik andr...@spbk.no wrote: Sorry, I have been replying directly to users email. To clear things up, here is a image of the setup: http://bildr.no/image/1389674.jpeg havp is running

Re: [squid-users] Re: Securing squid3

2013-02-14 Thread Andreas Westvik
havp supports parent setup, and as far as I have seen, it should be setup before squid. Now, I can always switch this around, and move the squid3 setup to 192.168.0.24 and setup havp on 192.168.0.1 of course. But 192.168.0.1 is running debian production and Debian does not support havp on a

Re: [squid-users] Securing squid3

2013-02-14 Thread Andreas Westvik
screencast of the thing working Have a look https://vimeo.com/59687536 Thanks for the help everyone! :) On Feb 14, 2013, at 17:24 , Andreas Westvik andr...@spbk.no wrote: havp supports parent setup, and as far as I have seen, it should be setup before squid. Now, I can always switch

[squid-users] squid3 makes my users foreigners!

2012-07-31 Thread Andreas Westvik
First post from a long time squid user So during the Olympics my national broadcaster has these free HD streaming channels on some webpage. (I'm norwegian - nrk.no) Now, when I route my LAN traffic through squid3, nrk.no thinks Im outside Europe - and thus denies me access to the streams. And