Re: [squid-users] Proxing only special file types

2019-02-10 Thread Alex Rousskov
On 2/6/19 3:48 AM, alexmaystat wrote: > Is it possible to inspect and add JS code only to files of a specific file > type (for example, only to JS text/javascript). Yes, provided you can trust Content-Type response headers (or equivalent). If you do trust them, then you can configure Squid to ad

Re: [squid-users] Bad HTTP header error on non-standard HTTP response code

2019-02-10 Thread Alex Rousskov
On 2/6/19 10:39 AM, Ivan Larionov wrote: > is there an option to change squid 4 behavior to match squid 3? It is easy to relax Squid response parser to accept more syntactically invalid HTTP responses, but one would need a good use case to do so officially because of the problems with HTTP/0 respo

Re: [squid-users] ssl-bump does not redirect to block page

2019-02-10 Thread Alex Rousskov
On 2/6/19 12:57 PM, Amos Jeffries wrote: > On 7/02/19 3:52 am, leo messi wrote: >> My squid config is something like this: >> acl blk ssl::server_name .google.com >> http_access deny blk >> http_access allow all >> ssl_bump peek step1 >> ssl_bump splice all >> My problem is when i block some page

Re: [squid-users] Building Squid 3.5 for Win2k with SSL

2019-02-10 Thread Amos Jeffries
On 11/02/19 1:02 am, Reinhard Zumpf Dipl.-Ing. wrote: > Dear Gentlemen, > > was anyone successful in building Squid 3.5 for Win2k with SSL (> > OpenSSL 1.0.1 / TLS 1.2) so far? > The oldest Windows I have had Squid-3.x building was Win7. But my work was on the native builds with MinGW-w64. The C

Re: [squid-users] Building Squid 3.5 for Win2k with SSL

2019-02-10 Thread Reinhard Zumpf Dipl.-Ing.
Dear Gentlemen, was anyone successful in building Squid 3.5 for Win2k with SSL (> OpenSSL 1.0.1 / TLS 1.2) so far? If not, I will not be able to do it without an tremendous amount of support, which is a great pity, if Squid can only be used on x64 while the field of application spans over mitigat

Re: [squid-users] Building Squid 3.5 for Win2k with SSL

2019-02-10 Thread Rafael Akchurin
Hello Amos, Reinhard, Interestingly enough this error does not popup when building Squid on 64-bit Cygwin. Might be some 32-bit installation glitch? Best regards, Rafael Akchurin Diladele B.V. -Original Message- From: squid-users On Behalf Of Amos Jeffries Sent: Sunday, 10 February

Re: [squid-users] Building Squid 3.5 for Win2k with SSL

2019-02-10 Thread Amos Jeffries
On 10/02/19 9:56 pm, Reinhard Zumpf Dipl.-Ing. wrote: > Hi, > > thanks so much for helping out. I managed to get configure run through > now as described from Diladele. > > But, make terminates like that: > > ... > mv -f $depbase.Tpo $depbase.Po > depbase=`echo SBuf.o | sed 's|[^/]*$|.deps/&|;s|

Re: [squid-users] Building Squid 3.5 for Win2k with SSL

2019-02-10 Thread Reinhard Zumpf Dipl.-Ing.
Hi, thanks so much for helping out. I managed to get configure run through now as described from Diladele. But, make terminates like that: ... mv -f $depbase.Tpo $depbase.Po depbase=`echo SBuf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.co