RE: [squid-users] 24h trusted IP

2011-08-10 Thread David Parks
I have a similar but different requirement in which we need to be able to deny access to a user at any time. Your challenge is going to be that squid caches the users login (as does the browser), and there's no good way to expire a users basic/digest auth credentials in squid - the user must

RE: [squid-users] Authentication infinite loop

2011-08-10 Thread David Parks
for now. Dave -Original Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: Tuesday, July 26, 2011 3:41 PM To: squid-users@squid-cache.org Subject: RE: [squid-users] Authentication infinite loop On Tue, 26 Jul 2011 15:05:22 -0700, David Parks wrote: After some more testing I'm

RE: [squid-users] Authentication infinite loop

2011-07-26 Thread David Parks
to spam user username with status TCP_DENIED as quickly as possible (notice that the log now shows the username, not -) Example auth helper script used: #!/bin/bash while read LINE; do echo $LINE /tmp/output echo ERR done -Original Message- From: David Parks

[squid-users] Authentication infinite loop

2011-07-25 Thread David Parks
In doing some dev work I see a situation where squid gets into an infinite loop with the browser. The situation: 1) Browser attempts digest authentication against squid (running with a custom auth helper) 2) auth helper fails user authentication 3) I believe squid caches the authentication

[squid-users] Logging packet bytes vs. http size bytes?

2011-07-12 Thread David Parks
Is there any way to log the actual packet sizes rather than just the size of the http request+headers that are found in the access log configuration?

[squid-users] Segmentation fault - 3.2.0.8

2011-06-13 Thread David Parks
I'm getting a segmentation fault error that I can't figure out. If I remove the [auth_param digest realm Squid proxy-caching web server] line it parses out just fine. Squid 3.2.0.8 (and 3.2.0.7) # # # Command: # # ./squid -X -d 9 -k parse # # # Log (note segmentation fault at the end)

RE: [squid-users] 2 NCSA password files

2010-11-22 Thread David Parks
the acl file on the fly. So, I'd have 1 ncsa file with the username and passwords for all users. Then 2 acl files with high speed users and low speed users? -- From: David Parks davidpark...@yahoo.com Sent: Sunday, November 21, 2010 10:02 AM To: 'J

RE: [squid-users] 2 NCSA password files

2010-11-21 Thread David Parks
If you write a custom ACL helper you can match users against any criteria you define, then implement the delay pools for users that matched your custom ACL helper. -Original Message- From: J Webster [mailto:webster_j...@hotmail.com] Sent: Saturday, November 20, 2010 9:01 PM To:

RE: [squid-users] optimize squid for video streaming

2010-11-13 Thread David Parks
Are you hosting squid on your home internet connection? Your upload bandwidth is probably limited (25k bytes upstream is common) and too low to forward the video traffic on to you. -Original Message- From: Héctor Andrés Urbina Saavedra [mailto:hau...@mail.usask.ca] Sent: Sunday,

RE: [squid-users] First post

2010-11-06 Thread David Parks
Hi Luke, Squid is a proxy server, it simply re-directs traffic like a broker handles a transaction for a client so the client doesn't work directly with the seller. It can cache data like images so that when, for example, UserA goes to a website, when UserB goes to that same website the images

RE: [squid-users] SSL between squid and client possible?

2010-09-25 Thread David Parks
Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: Wednesday, September 22, 2010 10:34 AM To: squid-users@squid-cache.org Subject: Re: [squid-users] SSL between squid and client possible? On Tue, 21 Sep 2010 16:39:53 -0700, David Parks davidpark...@yahoo.com wrote: Can SSL

RE: [squid-users] Interminted TCP_DENIED

2010-09-21 Thread David Parks
Message- From: Henrik Nordström [mailto:hen...@henriknordstrom.net] Sent: Tuesday, September 21, 2010 1:50 AM To: David Parks Cc: squid-users@squid-cache.org Subject: RE: [squid-users] Interminted TCP_DENIED mån 2010-09-20 klockan 18:27 -0700 skrev David Parks: I was not able to reproduce

[squid-users] SSL between squid and client possible?

2010-09-21 Thread David Parks
Can SSL be enabled between client and squid? Example: An HTTP request to http://yahoo.com goes over SSL from client to squid proxy, then standard HTTP from squid to yahoo and again secured from squid to client on the way back? It seems like this is only possible with reverse proxy setups, not

RE: [squid-users] Interminted TCP_DENIED

2010-09-20 Thread David Parks
-users@squid-cache.org Subject: Re: [squid-users] Interminted TCP_DENIED On Sun, 19 Sep 2010 12:37:38 -0700, David Parks davidpark...@yahoo.com wrote: I've simplified things as far as I can think to and still get what appear to be random TCP_DENIED/407 errors after I've been authenticated. Using

RE: [squid-users] Interminted TCP_DENIED

2010-09-20 Thread David Parks
So I fired up 3.2.0.2 today. I was not able to reproduce the intermittent 407 problem in this version as predicted by Amos. However I did run into some other issues: 1) A bug with digest authentication - Open a browser and authenticate. Now restart squid (don't close the browser) Try

[squid-users] Interminted TCP_DENIED

2010-09-19 Thread David Parks
I've simplified things as far as I can think to and still get what appear to be random TCP_DENIED/407 errors after I've been authenticated. Using Squid 2.7 STABLE 9, I'm now just using the digest_pw_auth authenticator with a single user pw file of test:test. If I turn off authentication there's

[squid-users] Intermittent TCP_DENIED after authentication

2010-09-17 Thread David Parks
I'm trying to debug a problem in dev: - After performing digest authentication (using a custom authentication helper), pages will load as expected. - But when I hit large pages which load many resources (example yahoo or latimes.com) sometimes they will load, but if I hit them a few times I'll

RE: [squid-users] When is the url_rewrite_program called?

2010-09-16 Thread David Parks
-Original Message- From: David Parks [mailto:davidpark...@yahoo.com] Sent: Wednesday, September 15, 2010 8:39 PM To: squid-users@squid-cache.org Subject: [squid-users] When is the url_rewrite_program called? When is the url_rewrite_program called? Is it before ACL matches occur? Or after

[squid-users] When is the url_rewrite_program called?

2010-09-15 Thread David Parks
When is the url_rewrite_program called? Is it before ACL matches occur? Or after the http_access tag is matched? I'm just trying to figure out the flow of events that occur. Looking for an answer like: 1) http_access is matched, if denied end 2) url_rewrite_program called

[squid-users] ACL blocks, browser retries constantly

2010-07-02 Thread David Parks
I have a simple ACL helper that fails whenever a user should no longer have access (I need a way of dynamically blocking access to the proxy on a per-user basis). But when the ACL fails the request, the browser goes into a vicious cycle of continuing to re-try the same request indefinitely and

RE: [squid-users] Rotating logs restarts authentication/acl helpers?

2010-06-10 Thread David Parks
authentication/acl helpers? On Wed, 9 Jun 2010 18:49:22 -0600, David Parks davidpark...@yahoo.com wrote: Using 3.1.4, when I call squid -k rotate to rotate the logs, it restarts all the authentication and acl helpers. Why is this? I have an ACL helper running for every request (very quick

RE: [squid-users] Rotating logs restarts authentication/acl helpers?

2010-06-10 Thread David Parks
cryptic for those wanting to extend the functionality. Thanks, David -Original Message- From: Henrik Nordström [mailto:hen...@henriknordstrom.net] Sent: Thursday, June 10, 2010 1:57 PM To: David Parks Cc: squid-users@squid-cache.org Subject: RE: [squid-users] Rotating logs restarts

[squid-users] Rotating logs restarts authentication/acl helpers?

2010-06-09 Thread David Parks
Using 3.1.4, when I call squid -k rotate to rotate the logs, it restarts all the authentication and acl helpers. Why is this? I have an ACL helper running for every request (very quick), and the reload of logs is causing it to be down for ~10 seconds. I would like to be able to parse logs

RE: [squid-users] Digest authentication change from previous version?

2010-06-08 Thread David Parks
[mailto:hen...@henriknordstrom.net] Sent: Sunday, June 06, 2010 12:28 PM To: David Parks Cc: squid-users@squid-cache.org Subject: Re: [squid-users] Digest authentication change from previous version? sön 2010-06-06 klockan 09:35 -0600 skrev David Parks: But since there's a change from what I

[squid-users] Digest authentication change from previous version?

2010-06-06 Thread David Parks
A while back I tested out squid with a custom Digest authenticator. I found that squid was caching the authentication requests and not re-requesting them from the auth-helper. I don't recall what version I did the test on, but it might have been 2.7. I am now using 3.0.25 and I see that my

[squid-users] Digest authentication helper question

2010-06-05 Thread David Parks
Hi, the digest authentication helper protocol requires that the helper return the encrypted digest authentication hash given the username and realm. The problem is, if I have 2 different realms which authenticate against the same user credentials, if I store the credentials in a one-way

RE: [squid-users] Digest authentication helper question

2010-06-05 Thread David Parks
...@henriknordstrom.net] Sent: Saturday, June 05, 2010 3:01 PM To: David Parks Cc: squid-users@squid-cache.org Subject: Re: [squid-users] Digest authentication helper question lör 2010-06-05 klockan 09:07 -0600 skrev David Parks: Hi, the digest authentication helper protocol requires that the helper return

[squid-users] Digest authentication scheme doesn't support concurrency?

2010-06-04 Thread David Parks
From what it looks like Digest Authentication doesn't support concurrency (sending multiple requests to a single helper). But Basic Auth, and ACL Helpers do. Seems odd so I just want to do a verification that I'm reading it right. Squid 3.0 STABLE 25 Thanks, David

[squid-users] Authentication helpers not shut down

2010-04-06 Thread David Parks
I noticed that running squid -k reconfigure starts a new authentication helper, but does not shut down the old one. Is this normal behavior? Do I just need to monitor for the closing of the input stream and shut down on that cue? Just wanna make sure I'm on track. Dave p.s. if there are any

RE: [squid-users] Squid 3.1.1 is available

2010-03-29 Thread David Parks
Just to make sure I read this correctly - the feature for logging to a UDP port is not available until 3.2 (which doesn't have a release date in the near future), correct? As of now the only option is logging to a file correct? Thanks, David

RE: [squid-users] Help with accelerated site

2010-03-27 Thread David Parks
Hi Adam, a few recommendations: 1) There are a number of consultancy and support organization that provide dedicated support for squid. If you can't find the answer here or yourself (via code or in docs), they might be an alternative you want to look into 2) The developers and people supporting

RE: [squid-users] Windows Authentication Helper client

2010-03-26 Thread David Parks
Just a thought - it's something I haven't implemented, but it might be worth you looking into (and hey, if it's useful to you let me know): I did read along the way that you can use SSH to do a port forward to the proxy server (there are some write-ups on this indexed in google). This allows you

RE: [squid-users] Disable user accounts

2010-03-23 Thread David Parks
I created my own authentication module, and tried setting nonce_max_duration to 1 minutes (I also tried 1 minute, and 2 minutes to make sure there wasn't something funky with the word minutes). My authentication module logs every time it is called. But when I sit there and hit refresh on the

RE: [squid-users] Disable user accounts

2010-03-22 Thread David Parks
: Monday, March 22, 2010 12:35 AM To: squid-users@squid-cache.org Subject: Re: [squid-users] Disable user accounts David Parks wrote: I will be monitoring squid usage logs and need to disable user accounts from an external app (block them from making use of the proxy after

[squid-users] Limiting connections per user - not per IP

2010-03-21 Thread David Parks
I expect a lot of users from the same IP (NAT), is there a way to limit concurrent connections by authenticated user rather than just by IP (acl maxconn appears to do it only by IP)? Thx, David

[squid-users] Disable user accounts

2010-03-21 Thread David Parks
I will be monitoring squid usage logs and need to disable user accounts from an external app (block them from making use of the proxy after they are authenticated). I'm not quite following the FAQ on this

RE: [squid-users] Requests through proxy take 4x+ longer than direct to the internet

2010-03-19 Thread David Parks
connection issue? Thanks, David -Original Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: Friday, March 19, 2010 1:06 AM To: squid-users@squid-cache.org Subject: Re: [squid-users] Requests through proxy take 4x+ longer than direct to the internet David Parks wrote: Hi, I set

[squid-users] Requests through proxy take 4x+ longer than direct to the internet

2010-03-18 Thread David Parks
Hi, I set up a dev instance of squid on my windows system. I've configured 2 browsers (Chrome Firefox), chrome direct to the internet, firefox through the locally running instance of squid. I expected similar response times from the two browsers, but I consistently see firefox (configured to