Re: [squid-users] HTTP Keepalive (re bug 4426)

2016-02-04 Thread Amos Jeffries
[pPS. please dont reply to existing discussions with unrelated new topics. It really screws up the web forum and threaded views of the mailing list. Start a new thread. ] On 4/02/2016 7:09 p.m., Anders Gustafsson wrote: > "The only solution to this limitation vs the browser behaviour is to > ensur

[squid-users] username from external_acl to url_rewrite_program

2016-02-04 Thread Andrew Lavrinenko
Hello, everyone! In my configuration of squid not used authorization based on auth_param but user name was fetched from database throught self writed script. In squid 3.3 all works fine, but in 3.5 i have a problem, user name returned from script not sended to redirector program. squid.conf: ...

[squid-users] Reverse DNS Lookup for client IPs

2016-02-04 Thread Stefan Hölzle
Hello, I'm using a squid configured as proxy. According to the cache log, squid is doing a reverse dns lookup for client ips: 78,3| dns_internal.cc(1794) idnsPTRLookup: idnsPTRLookup: buf is 42 bytes for SOME_SOURCE_IP I'm only using the following configuration parameters that might be relevant

Re: [squid-users] username from external_acl to url_rewrite_program

2016-02-04 Thread Amos Jeffries
On 5/02/2016 12:02 a.m., Andrew Lavrinenko wrote: > Hello, everyone! > > In my configuration of squid not used authorization based on auth_param but > user name was fetched from database throught self writed script. In squid > 3.3 all works fine, but in 3.5 i have a problem, user name returned fro

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-04 Thread Amos Jeffries
On 5/02/2016 12:41 a.m., Stefan Hölzle wrote: > Hello, > > I'm using a squid configured as proxy. > According to the cache log, squid is doing a reverse dns lookup for > client ips: > > 78,3| dns_internal.cc(1794) idnsPTRLookup: idnsPTRLookup: buf is 42 > bytes for SOME_SOURCE_IP > > I'm only us

Re: [squid-users] username from external_acl to url_rewrite_program

2016-02-04 Thread Andrew Lavrinenko
Thank you, Amos! patch dont help because build error: /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I../../libltdl -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments

Re: [squid-users] Reverse DNS Lookup for client IPs

2016-02-04 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 # TAG: client_dbon|off #If you want to disable collecting per-client statistics, #turn off client_db here. #Default: # client_db on Feel free to read squid.conf.documented before. 04.02.16 21:06, Stefan Hölzle пишет: > On 04.02.2016

Re: [squid-users] username from external_acl to url_rewrite_program

2016-02-04 Thread Amos Jeffries
On 5/02/2016 3:15 a.m., Andrew Lavrinenko wrote: > Thank you, Amos! > patch dont help because build error: Ouch. Sorry. > I try to rewrite code like this: > .. > if (!out && (al != NULL) && al->request && (al->request->extacl_user.size() > == 0)) { That should be "!= 0" to test what I was tryin

Re: [squid-users] ext_ldap_group_acl not working

2016-02-04 Thread alesironi
I performed additional testing using different helpers but nothing changed, so decided to use alternative tools to bind AD. I used the tool ldapsearch to verify that at least is possible to do a search on Active Directory and it worked (it read all AD returning 271 objects). /usr/bin/ldapsearch

Re: [squid-users] username from external_acl to url_rewrite_program

2016-02-04 Thread Andrew Lavrinenko
Thank you, Amos! Now it works! Hopefully fix enters the upstream? 2016-02-04 19:38 GMT+03:00 Amos Jeffries : > On 5/02/2016 3:15 a.m., Andrew Lavrinenko wrote: > > Thank you, Amos! > > patch dont help because build error: > > Ouch. Sorry. > > > I try to rewrite code like this: > > .. > > if (!out

[squid-users] ACL help

2016-02-04 Thread Alex Samad
HI Back to my Windows update issues :) 1454566851.333 63 10.172.208.208 TCP_MISS/206 6520 GET http://wsus.ds.download.windowsupdate.com/d/msdownload/update/software/secu/2015/11/windows6.1-kb3109103-x64_66e00af753e3faae5d558534711af7dc29a9160d.psf - HIER_DIRECT/203.213.73.25 application/octe

[squid-users] squid-ssl_session_cache.shm?

2016-02-04 Thread xxiao8
I have "cache deny all" and "cache mem 0MB", what is /dev/shm/squid-ssl_session_cache.shm then? is it something else? how to limit its size? I'm trying to test the case with no-cache and thought 'cache deny all' covered it already, then just happened to see this ssl-session-cache file resides