Re: [squid-users] Is it possible to mark tcp_outgoing_mark (server side) with SAME MARK as incoming packet (client side)?

2014-03-15 Thread Amos Jeffries
On 15/03/2014 6:46 p.m., Amm wrote: > Hello, > > I would like to mark outgoing packet (on server side) with SAME MARK as on > incoming (NATed or CONNECTed) packet. > > There is option tcp_outgoing_mark with which I can mark packets. > > But there is no ACL option to check incoming mark. > > >

[squid-users] Re: Some problem about use squid

2014-03-15 Thread huang.zhenxing
Amos: I am try to set the log to ms-sql always ,but have not succeed . when we set: logfile_daemon /path/log_db_daemon or /access_log daemon:/server/squid/access_log/squid/squid_password and exec #./squid -k reconfigure or #./squid -k shutdown it say: squid: ERROR: Could not send signal 1 to

[squid-users] couldn't cache this image file

2014-03-15 Thread Carlos Defoe
Can anybody get this image to be cached? If yes, in which squid version? http://s2.glbimg.com/XG7L47pX_ik0O_uxiV3g65rvpNU=/90x68/s.glbimg.com/jo/g1/f/original/2014/02/21/whatsapp.jpg I tried with squid 3.3.12, which came with this bug correction: (Bug #3806: Caching responses with Vary header) T

Re: [squid-users] Is it possible to mark tcp_outgoing_mark (server side) with SAME MARK as incoming packet (client side)?

2014-03-15 Thread Amm
On 03/15/2014 05:11 PM, Amos Jeffries wrote: On 15/03/2014 6:46 p.m., Amm wrote: I would like to mark outgoing packet (on server side) with SAME MARK as on incoming (NATed or CONNECTed) packet. http://www.squid-cache.org/Doc/config/qos_flows/ Squid default action is to pass the netfilter

[squid-users] Cygwin SSL Bumping

2014-03-15 Thread Derek Jones
Is it possible to have SSL bumping with squid on Cygwin? I think to have SSL bumping, squid for cygwin needs to be recompiled with some additional options enabled. Is there an easy way to do this? I've been banging my head against the wall trying to get this to work.. Thanks in advance! Cheers,

Re: [squid-users] Is it possible to mark tcp_outgoing_mark (server side) with SAME MARK as incoming packet (client side)?

2014-03-15 Thread Amm
On 03/15/2014 08:03 PM, Amm wrote: On 03/15/2014 05:11 PM, Amos Jeffries wrote: On 15/03/2014 6:46 p.m., Amm wrote: I would like to mark outgoing packet (on server side) with SAME MARK as on incoming (NATed or CONNECTed) packet. http://www.squid-cache.org/Doc/config/qos_flows/ Squid de

[squid-users] How to log IP address after successful authentication

2014-03-15 Thread divispa2
Hi all, I need save IP address after successful authentication to log file, but I need only one record per authenticated user. I have username and password save in file therefore I would like to use NCSA_auth but I dont know how to get IP address in plugin. Second solution that I tried to use are e

[squid-users] How to log IP address after successful authentication

2014-03-15 Thread divispa2
Hi all, I need save IP address after successful authentication to log file, but I need only one record per authenticated user. I have username and password save in file therefore I would like to use NCSA_auth but I dont know how to get IP address in plugin. Second solution that I tried to use are e

Re: [squid-users] Is it possible to mark tcp_outgoing_mark (server side) with SAME MARK as incoming packet (client side)?

2014-03-15 Thread Andrew Beverley
On Sat, 2014-03-15 at 21:13 +0530, Amm wrote: > Ok I read further on that link itself, somewhere it says: > > disable-preserve-miss > This option disables the preservation of the TOS or netfilter > mark. By default, the existing TOS or netfilter mark value of > the response comin

Re: [squid-users] How to log IP address after successful authentication

2014-03-15 Thread Amos Jeffries
On 16/03/2014 7:00 a.m., divispa wrote: > Hi all, > I need save IP address after successful authentication to log file, but I > need only one record per authenticated user. I have username and password > save in file therefore I would like to use NCSA_auth but I dont know how > to get IP address in

Re: [squid-users] Re: Some problem about use squid

2014-03-15 Thread Amos Jeffries
On 16/03/2014 1:25 a.m., huang.zhenxing wrote: > Amos: > > I am try to set the log to ms-sql always ,but have not succeed . > when we set: > > logfile_daemon /path/log_db_daemon or > /access_log daemon:/server/squid/access_log/squid/squid_password > What is your *exact* squid.conf settings fo

Re: [squid-users] logrotate only instead (all) squid rotate

2014-03-15 Thread Amos Jeffries
On 15/03/2014 12:26 a.m., Alfredo Rezinovsky wrote: > Using: "squid -k rotate" squid rotates logs but also closes and reopen > caches_dirs and url_rewrite_programs > > There's a way to signal only the (logfile-daemon) processes to rotate > the logs and only the logs ? Not with any current Squid

Re: [squid-users] Delay Pools

2014-03-15 Thread Amos Jeffries
On 14/03/2014 4:34 p.m., csn233 wrote: > Testing delay_pools on 3.3.11 (and other versions too) > > delay_pools 1 > delay_class 1 3 > delay_parameters 1 -1/-1 -1/-1 128000/256000 > delay_access 1 allow all > > This works as expected. However, when requests goes a bit higher, say >> 20 req/s, the

Re: [squid-users] logrotate only instead (all) squid rotate

2014-03-15 Thread Alfredo Rezinovsky
El 15/03/14 22:21, Amos Jeffries escribió: On 15/03/2014 12:26 a.m., Alfredo Rezinovsky wrote: Using: "squid -k rotate" squid rotates logs but also closes and reopen caches_dirs and url_rewrite_programs There's a way to signal only the (logfile-daemon) processes to rotate the logs and only th

[squid-users] Re: how i can replace website source code content !!

2014-03-15 Thread babajaga
To replace website src content can be done with "content adaption" techniques, using "ecap" etc. However, for your purpose this seems to be far too complicated. (BTW: I have a working solution for this, the purpose of which is to inject ads, to finance open hotspots.) However, in case you have some