[squid-users] Allowing downloads from certain sites

2012-06-29 Thread Chaitanya Shastri
Hi list, Is it possible to allow downloads from certain trusted sites? I tried using the url_regex acl to list certain trusted sites from which our users can download any file. Ex. acl allow_downloads url_regex -i ^http:\/\/example\.com http_reply_access allow allow_downloads

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Amos Jeffries
On 29/06/2012 6:10 p.m., Chaitanya Shastri wrote: Hi list, Is it possible to allow downloads from certain trusted sites? I tried using the url_regex acl to list certain trusted sites from which our users can download any file. Ex. acl allow_downloads url_regex -i

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Chaitanya Shastri
Hi Amos, I have acl rules for preventing downloads on client machines. So a client cannot download any file (for example, .exe, .zip .. etc ) on his/her machine. What I want is that all clients should be able to download any type of file from certain trusted domain. In short I want to allow a

RE: [squid-users] Re: FTP through squid

2012-06-29 Thread Anonymous
Here's quick and dirty Frox Proxy on FreeBSD 9.X Please adjust it as per your requirement, I do not issue any guarantee that this will work for you! * # Server Side Settings 1. pkg_add -r frox 2. mkdir /usr/local/etc/frox 3. chmod 0755 /usr/local/etc/frox #

[squid-users] squid with pdns, bandwidth control issue

2012-06-29 Thread Muhammad Yousuf Khan
i am using squid 2.7 stable 9 with pdns as Caching DNS. i have 4 Mbps internet link. when ever any client start download any big file my squid gives the full threshold to the downloading session and on other computers people see The following error was encountered while trying to retrieve the

[squid-users] Re: squid with pdns, bandwidth control issue

2012-06-29 Thread Muhammad Yousuf Khan
see the ping delay of my proxy server. see first few lines which is before download when i start download a huge file it when to 3000 which is too much and this is the only reason i think why it is happening. now at the bottem of this ping responce you will see when i cancled the download job

Re: [squid-users] Re: squid with pdns, bandwidth control issue

2012-06-29 Thread Amos Jeffries
On 29/06/2012 10:09 p.m., Muhammad Yousuf Khan wrote: see the ping delay of my proxy server. see first few lines which is before download when i start download a huge file it when to 3000 which is too much and this is the only reason i think why it is happening. now at the bottem of this ping

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Edmonds Namasenda
Shastri, try the below Assume... 1. Preventing Downloads File (nodowns.txt) has the following \.msi$ \.exe$ \.zip$ \.etc$ 2. Trusted Sites File (goodsites.txt) has the following *.*microsoft*.com* *.*windows*.com* *.*etc*.com*.com* 3. Accompanying ACLs for files above acl nodowns urlpath_regex

Re: [squid-users] Re: squid with pdns, bandwidth control issue

2012-06-29 Thread Muhammad Yousuf Khan
On Fri, Jun 29, 2012 at 3:34 PM, Amos Jeffries squ...@treenet.co.nz wrote: On 29/06/2012 10:09 p.m., Muhammad Yousuf Khan wrote: see the ping delay of my proxy server. see first few lines which is before download when i start download a huge file it when to 3000 which is too much and this is

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Amos Jeffries
On 29/06/2012 11:02 p.m., Edmonds Namasenda wrote: Shastri, try the below Assume... 1. Preventing Downloads File (nodowns.txt) has the following \.msi$ \.exe$ \.zip$ \.etc$ 2. Trusted Sites File (goodsites.txt) has the following *.*microsoft*.com* *.*windows*.com* *.*etc*.com*.com* WTF? Does

Re: [squid-users] Re: squid with pdns, bandwidth control issue

2012-06-29 Thread Amos Jeffries
On 29/06/2012 11:02 p.m., Muhammad Yousuf Khan wrote: On Fri, Jun 29, 2012 at 3:34 PM, Amos Jeffries wrote: On 29/06/2012 10:09 p.m., Muhammad Yousuf Khan wrote: see the ping delay of my proxy server. see first few lines which is before download when i start download a huge file it when to

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Edmonds Namasenda
Shastri, try the below Assume... 1. Preventing Downloads File (nodowns.txt) has the following \.msi$ \.exe$ \.zip$ \.etc$ The above is regex 2. Trusted Sites File (goodsites.txt) has the following *.*microsoft*.com* *.*windows*.com* *.*etc*.com*.com* WTF? Does regex even accept

Re: [squid-users] Re: squid with pdns, bandwidth control issue

2012-06-29 Thread Muhammad Yousuf Khan
On Fri, Jun 29, 2012 at 4:54 PM, Amos Jeffries squ...@treenet.co.nz wrote: On 29/06/2012 11:02 p.m., Muhammad Yousuf Khan wrote: On Fri, Jun 29, 2012 at 3:34 PM, Amos Jeffries wrote: On 29/06/2012 10:09 p.m., Muhammad Yousuf Khan wrote: see the ping delay of my proxy server. see first few

Re: [squid-users] Re: squid with pdns, bandwidth control issue

2012-06-29 Thread Muhammad Yousuf Khan
On Fri, Jun 29, 2012 at 4:54 PM, Amos Jeffries squ...@treenet.co.nz wrote: On 29/06/2012 11:02 p.m., Muhammad Yousuf Khan wrote: On Fri, Jun 29, 2012 at 3:34 PM, Amos Jeffries wrote: On 29/06/2012 10:09 p.m., Muhammad Yousuf Khan wrote: see the ping delay of my proxy server. see first few

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Chaitanya Shastri
Hi, My question is simple. I have blocked all the downloads on my LAN systems using acl rules. But there is a trusted domain, say example.com from which users on my LAN should be able to download any file. For example: zip or exe file. I do not have site restriction on that site. So all users

Re: [squid-users] Allowing downloads from certain sites

2012-06-29 Thread Edmonds Namasenda
Shastri, That is what we are trying to help you solve. Are we writing gibberish?! At the http_access restricting downloads, add something like !\.example\.com (without the quotation marks) Else, provide more accurate information for faster troubleshooting if that fails. Many people dump their

Re: [squid-users] Re: squid with pdns, bandwidth control issue

2012-06-29 Thread Muhammad Yousuf Khan
i have made some test and here is some detail and results ok i am using two machine 1, Gateway IPcop (linux) 2. Debian lenny (squid) i am using download manager to download a 50MB file. IPCOP --- when i do it VIA IPCOP my download burst rate up to 270 KB not ping delay and other can

Re: [squid-users] Outlook 2010 crashing on gzip-encoded proxied internet calendars

2012-06-29 Thread Pim Zandbergen
On 29-6-2012 3:04, Amos Jeffries wrote: On 29/06/2012 5:52 a.m., Pim Zandbergen wrote: Or can I prevent Outlook from receiving gzip encoded data even if it requests it? You can try this: acl outlook browser user-Agent string pattern for outlook request_header_access Accept-Encoding deny

[squid-users] TCP_MISS/503 0 CONNECT errors

2012-06-29 Thread Bruno Santos
Hi all. I've search in the internet and i've done some experiences with some solutions i found on the internet, but still no luck. In some https sites i'm getting TCP_MISS/503 0 CONNECT and the page is not displayed. It has to be something to do with squid, because if i don't use a proxy

Re: [squid-users] Re: squid with pdns, bandwidth control issue

2012-06-29 Thread Ed W
On 29/06/2012 14:12, Muhammad Yousuf Khan wrote: i have made some test and here is some detail and results ok i am using two machine 1, Gateway IPcop (linux) 2. Debian lenny (squid) i am using download manager to download a 50MB file. IPCOP --- when i do it VIA IPCOP my download

Re: [squid-users] Outlook 2010 crashing on gzip-encoded proxied internet calendars

2012-06-29 Thread Ed W
On 29/06/2012 14:14, Pim Zandbergen wrote: Could it be squid is feeding Outlook a gzip encoded cached calendar, which was previously received by Thunderbird? Would that be a squid bug? Aha, yes, isn't there only partial support for vary in squid right now? You might want to dump the vary

Re: [squid-users] Re: squid with pdns, bandwidth control issue

2012-06-29 Thread Amos Jeffries
On 30/06/2012 4:41 a.m., Ed W wrote: On 29/06/2012 14:12, Muhammad Yousuf Khan wrote: i have made some test and here is some detail and results ok i am using two machine 1, Gateway IPcop (linux) 2. Debian lenny (squid) i am using download manager to download a 50MB file. IPCOP ---

[squid-users] Custom Error Message

2012-06-29 Thread Vishal Agarwal
Hi, I want to record the client IP and host name in access denied error message. Thanks/regards, Vishal Agarwal