Re: [squid-users] Squid as gateway

2017-07-11 Thread erdosain9
Hi, and thanks. Maybe i dont explain well. I just want this: WanRouter---Squid-switch--PC I want to declare in "PC" IP, MASK, AND GATEWAY, instead of the WanRouter, i want that PC have for gateway the ip of the Squid. I do this by now. sudo iptables -A PREROUTING -t nat -s 192.

Re: [squid-users] Squid as gateway

2017-07-11 Thread Yuri
Feel free to take a look inside wiki: http://wiki.squid-cache.org/SquidFaq/InterceptionProxy http://wiki.squid-cache.org/ConfigExamples/Intercept 11.07.2017 19:35, erdosain9 пишет: > Hi, and thanks. > Maybe i dont explain well. > I just want this: > > WanRouter---Squid-switch--

[squid-users] WARNING: Disk space over limit

2017-07-11 Thread erdosain9
Hi to all. Im having this warning 2017/07/11 11:37:44 kid1| WARNING: Disk space over limit: 17241692.00 KB > 1536 KB 2017/07/11 11:37:56 kid1| WARNING: Disk space over limit: 16800692.00 KB > 1536 KB 2017/07/11 11:38:07 kid1| WARNING: Disk space over limit: 16466860.00 KB > 1536 KB 201

Re: [squid-users] Squid as gateway

2017-07-11 Thread erdosain9
Thanks Yes, im looking the wiki and follow this http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxDnat And, it is not working. Nothing it is going to squid. I can go to internet because # Controls IP packet forwarding net.ipv4.ip_forward = 1 but, nothing throug squid. What can be? Ano

Re: [squid-users] Squid as gateway

2017-07-11 Thread Yuri
Squid should be configured and built with interception support. Re-read more carefully. 11.07.2017 21:26, erdosain9 пишет: > Thanks > Yes, im looking the wiki and follow this > http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxDnat > > And, it is not working. Nothing it is going to squid.

Re: [squid-users] Squid as gateway

2017-07-11 Thread erdosain9
Ok Yuri, im re re re reading... :-) And probe another configs, like this http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxRedirect and nothing, i dont get where i fail. Squid, it is config in interception mode. cache.log 2017/07/11 14:15:43 kid1| Accepting HTTP Socket connections

Re: [squid-users] Does squid generates/adds additional HTTP headers?

2017-07-11 Thread Alex Rousskov
On 07/10/2017 05:52 PM, avi_h wrote: > I'm trying to get squid to use the same headers as it received (to make it > more transparent) To improve your chances of arriving at a usable solution (or quickly abandoning a futile search), I suggest detailing/narrowing your goal: "Make it more transpare

Re: [squid-users] Squid as gateway

2017-07-11 Thread Rafael Akchurin
May be this will be of any help - https://docs.diladele.com/tutorials/transparent_proxy_ubuntu/index.html -Original Message- From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of erdosain9 Sent: Tuesday, July 11, 2017 5:41 PM To: squid-users@lists.squid-cache

Re: [squid-users] Does squid generates/adds additional HTTP headers?

2017-07-11 Thread Sonya Roy
As Alex mentioned its not possible to do with squid. I modified the squid source code to do this a month ago. Its not hard to do, you will only need to modify http.cc and client_side.cc a bit. On Tue, Jul 11, 2017 at 9:42 PM, Alex Rousskov < rouss...@measurement-factory.com> wrote: > On 07/10/201

Re: [squid-users] Does squid generates/adds additional HTTP headers?

2017-07-11 Thread avi_h
Hi Alex, Thanks for this. I can narrow it down, as you mentioned, I want to configure Squid to make some server(s) think that the request is coming directly from a user agent (e.g., browser). However, I don't know what those servers use to detect proxies, any idea on how I can figure it out? Idea

Re: [squid-users] Does squid generates/adds additional HTTP headers?

2017-07-11 Thread Alex Rousskov
On 07/11/2017 01:00 PM, avi_h wrote: > I want to configure Squid to make some server(s) think that the > request is coming directly from a user agent (e.g., browser). > However, I don't know what those servers use to detect proxies, Understood. We are still where we used to be then: Without a kn

Re: [squid-users] WARNING: Disk space over limit

2017-07-11 Thread Eliezer Croitoru
Hey, If you are using a single process ie not SMP(default) use aufs instead of diskd cache_dir. It's much more stable and efficient then diskd(to my knowledge). Eliezer Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il -Original Message-

Re: [squid-users] WARNING: Disk space over limit

2017-07-11 Thread Yuri
12.07.2017 3:25, Eliezer Croitoru пишет: > Hey, > > If you are using a single process ie not SMP(default) use aufs instead of > diskd cache_dir. > It's much more stable and efficient then diskd(to my knowledge). Not sure about you knowledge. Diskd is simple designed for another OS than Linux. On

Re: [squid-users] WARNING: Disk space over limit

2017-07-11 Thread Yuri
12.07.2017 4:34, Yuri пишет: > > 12.07.2017 3:25, Eliezer Croitoru пишет: >> Hey, >> >> If you are using a single process ie not SMP(default) use aufs instead of >> diskd cache_dir. >> It's much more stable and efficient then diskd(to my knowledge). > Not sure about you knowledge. Diskd is simpl

Re: [squid-users] WARNING: Disk space over limit

2017-07-11 Thread Amos Jeffries
On 12/07/17 10:34, Yuri wrote: 12.07.2017 3:25, Eliezer Croitoru пишет: Hey, If you are using a single process ie not SMP(default) use aufs instead of diskd cache_dir. It's much more stable and efficient then diskd(to my knowledge). > Not sure about you knowledge. Diskd is simple designed