Re: [squid-users] Problem building Squid4

2017-01-08 Thread Eliezer Croitoru
With hope I will have time I will try to build a tar.xz of latest 4 branch on 16.04. The last I have built was 4.0.14. Eliezer Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il -Original Message- From: squid-users

Re: [squid-users] keep source ip when user connect over squid using ip:port

2017-01-08 Thread Amos Jeffries
On 8/01/2017 7:55 a.m., --Ahmad-- wrote: > I’m using squid as bridge like injecting some urls > > thats it That "Squid as bridge" and your earlier "squid using my original ip as source" is TPROXY. >> On Jan 7, 2017, at 8:35 PM, Antony Stone wrote: >> >> On Saturday 07 January 2017 at

Re: [squid-users] Is it possible to modify cached object?

2017-01-08 Thread Amos Jeffries
On 9/01/2017 8:41 a.m., Rafael Akchurin wrote: > Hello Boruc, > > Please use https://en.wikipedia.org/wiki/Data_URI_scheme > boruc: Also you should not be manually (or even with a Script) editing cache objects on disk as a routine operation. As Alex already mentioned use ICAP or eCAP

Re: [squid-users] Is it possible to modify cached object?

2017-01-08 Thread Amos Jeffries
On 9/01/2017 3:49 a.m., boruc wrote: > Thank you for your answer. > > Actually I managed to do what I want by simply editing that file and > changing content length if necessary. I don't know why sometimes I need to > restart Squid or reopen browser to see changed version of page. Sometimes > it

Re: [squid-users] Is it possible to modify cached object?

2017-01-08 Thread Rafael Akchurin
Hello Boruc, Please use https://en.wikipedia.org/wiki/Data_URI_scheme Best regards, Rafael Akchurin Diladele B.V. -Original Message- From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of boruc Sent: Sunday, January 8, 2017 6:18 PM To:

Re: [squid-users] Problem building Squid4

2017-01-08 Thread Alex Rousskov
On 01/08/2017 02:31 AM, matg2s wrote: > I'm trying to compile Squid 4 (on Ubuntu 14/16) and am getting the following > error: Builds OK here with similar SSL-related ./configure options. Could be an OpenSSL library version incompatibility or a similar problem. If you are building with OpenSSL

Re: [squid-users] Is it possible to modify cached object?

2017-01-08 Thread boruc
Sorry for multiple posts. I used tag in incorrect way so you can't see the code. Here's correct message: I can change content of the HTML in cached object, but not in every way. I have a trouble inserting an image to that site from my PC. If I simply put: img src="/home/username/Images/image.png"

Re: [squid-users] Is it possible to modify cached object?

2017-01-08 Thread boruc
I can change content of the HTML in cached object, but not in every way. I have a trouble inserting an image to that site from my PC. If I simply put: there's only a displayed icon which is refering to given location but on the page server. I also tried like this: but also with no effect. I

Re: [squid-users] Is it possible to modify cached object?

2017-01-08 Thread Yuri Voinov
08.01.2017 20:49, boruc пишет: > Thank you for your answer. > > Actually I managed to do what I want by simply editing that file and > changing content length if necessary. I don't know why sometimes I need to > restart Squid or reopen browser to see changed version of page. Sometimes > it works

Re: [squid-users] Is it possible to modify cached object?

2017-01-08 Thread boruc
Thank you for your answer. Actually I managed to do what I want by simply editing that file and changing content length if necessary. I don't know why sometimes I need to restart Squid or reopen browser to see changed version of page. Sometimes it works fine on regular browser window, sometimes I

[squid-users] Problem building Squid4

2017-01-08 Thread matg2s
Hey, I'm trying to compile Squid 4 (on Ubuntu 14/16) and am getting the following error: In file included from ../../src/base/AsyncCall.h:14:0, from ../../src/comm/IoCallback.h:12, from ../../src/comm.h:12, from ../../src/client_side.h:16,