Re: [PATCH] Re: URL redirection with Squid 3.4

2013-12-16 Thread Alex Rousskov
vious thread, the URL rewriter protocol of Squid >>>> 3.4 is different than with previous versions of Squid. >>>> Despite Amos' belief, I found out yesterday that there is no backward >>>> compatibility since a typical redirection URL is >>>> >>

Re: [PATCH] Re: URL redirection with Squid 3.4

2013-12-16 Thread Marcus Kool
ef, I found out yesterday that there is no backward compatibility since a typical redirection URL is www.example.com/foo.cgi?category=adult&url=http://www.example.com/foo/bar and Squid 3.4 has a parser that splits tokens at '=' and then complains that it does not understand the answer of

Re: [PATCH] Re: URL redirection with Squid 3.4

2013-12-16 Thread Alex Rousskov
I found out yesterday that there is no backward >> compatibility since a typical redirection URL is >> >> www.example.com/foo.cgi?category=adult&url=http://www.example.com/foo/bar >> and Squid 3.4 has a parser that splits tokens at '=' and then complains &

Re: [PATCH] Re: URL redirection with Squid 3.4

2013-12-14 Thread Amos Jeffries
On 15/12/2013 5:11 p.m., Eliezer Croitoru wrote: > Hey, > > OK so now we know that there is a *bug* but I still do not think it > should affect any new revisions of squid which are out already. > > Since the "OK key=value" works as expected on all the basic helpers the > fix is to use new code bu

Re: [PATCH] Re: URL redirection with Squid 3.4

2013-12-14 Thread Eliezer Croitoru
Hey, OK so now we know that there is a *bug* but I still do not think it should affect any new revisions of squid which are out already. Since the "OK key=value" works as expected on all the basic helpers the fix is to use new code but to consider that it will work only with only specific ca

[PATCH] Re: URL redirection with Squid 3.4

2013-12-14 Thread Amos Jeffries
On 14/12/2013 6:59 a.m., Marcus Kool wrote: > all, > > as discussed in a previous thread, the URL rewriter protocol of Squid > 3.4 is different than with previous versions of Squid. > Despite Amos' belief, I found out yesterday that there is no backward > compatibility sinc

URL redirection with Squid 3.4

2013-12-13 Thread Marcus Kool
all, as discussed in a previous thread, the URL rewriter protocol of Squid 3.4 is different than with previous versions of Squid. Despite Amos' belief, I found out yesterday that there is no backward compatibility since a typical redirection URL is www.example.com/foo.cgi?category=adul

Re: Squid HEAD : intercept SSLBump server first + out of Squid box NAT redirection

2012-11-15 Thread Amos Jeffries
On 15/11/2012 9:53 p.m., Vincent Miszczak wrote: Hi, Thank you for your answer. I understand I cannot redirect SSL web traffic to intercepting Squid using NAT from another box, as Squid won't be able to figure out the destination address, right ? Yes. That is one of the side effects of NAT

Re: Squid HEAD : intercept SSLBump server first + out of Squid box NAT redirection

2012-11-15 Thread Eliezer Croitoru
On 11/15/2012 10:53 AM, Vincent Miszczak wrote: Hi, Thank you for your answer. I understand I cannot redirect SSL web traffic to intercepting Squid using NAT from another box, as Squid won't be able to figure out the destination address, right ? Vincent yes, but you can use --set-mark with i

RE: Squid HEAD : intercept SSLBump server first + out of Squid box NAT redirection

2012-11-15 Thread Vincent Miszczak
actory.com] Envoyé : mercredi 14 novembre 2012 19:34 À : Vincent Miszczak Cc : squid-dev@squid-cache.org Objet : Re: Squid HEAD : intercept SSLBump server first + out of Squid box NAT redirection On 11/14/2012 11:17 AM, Vincent Miszczak wrote: > I'd like to know how Squid resolves th

Re: Squid HEAD : intercept SSLBump server first + out of Squid box NAT redirection

2012-11-14 Thread Alex Rousskov
On 11/14/2012 11:17 AM, Vincent Miszczak wrote: > I’d like to know how Squid resolves the remote host when handling an > intercepted server-first bumped connection, so I’ll be able to setup my > network accordingly. Using the destination address of the intercepted TCP connection, Squid securely c

Squid HEAD : intercept SSLBump server first + out of Squid box NAT redirection

2012-11-14 Thread Vincent Miszczak
Hi guys, I'm testing this feature, working like it should at the moment, great feature :) For now, I've been testing with an inline Linux server using iptables redirection. Both Netfilter REDIRECT and DNAT targets make this configuration work. My production setup won't hav

Re: redirection

2007-03-09 Thread Alex Rousskov
P servers available. including the old "reference implementation" from NetApp, linked from the i-cap.org site. You can customize them. If you want more support and less work, The Measurement Factory builds ICAP servers "to suit" and also provides Traffic Spicer, the bare-bones IC

Re: redirection

2007-03-09 Thread Siddhesh PaiRaikar
Easiest: Implement your filter using ICAP, and in your ICAP server agent buffer the response until you find it's OK. If not OK replace the response with your blocking page.. Doing this within Squid is a bit hairy.. Regards Henrik while finding on ICAP servers i came accross this : there

Re: redirection

2007-03-08 Thread Henrik Nordstrom
t restructured in 2.6.STABLE10. > what would be the easiest way to start the redirection to our server's > custom page > which says "page blocked" as in what function is responsible for starting > the redirection to another page and the data structures also responsib

Re: redirection

2007-03-08 Thread Amos Jeffries
been doing to 2.6stable9+. what would be the easiest way to start the redirection to our server's custom page which says "page blocked" as in what function is responsible for starting the redirection to another page and the data structures also responsible for holding the curr

Re: redirection

2007-03-08 Thread Siddhesh PaiRaikar
2.6 stable 6 and i cudnt find that fucntion in the source code.. is it a part of the later releases? also please if any one can tell us... what would be the easiest way to start the redirection to our server's custom page which says "page blocked" as in what function is responsib

Re: redirection

2007-03-07 Thread Henrik Nordstrom
ons 2007-03-07 klockan 19:29 +0530 skrev Siddhesh PaiRaikar: > we need to block a particular site based on the content. we are planning to > block the page from the function storeAppend() in store.c. wold it be the > right place for blocking the page or should it be blocked elsewhere. httpAppendBo

redirection

2007-03-07 Thread Siddhesh PaiRaikar
we need to block a particular site based on the content. we are planning to block the page from the function storeAppend() in store.c. wold it be the right place for blocking the page or should it be blocked elsewhere. also ... what would be the easiest way to start the redirection to our

Re: Redirection based on http header

2004-07-27 Thread Henrik Nordstrom
On Wed, 21 Jul 2004, Ram Kumar Gandhapuneni wrote: > I am a novice squid developer. I am trying to make modifications to > the code in the client_side to do the redirection based on http header of > the requests. Please describe a little more in detail what it is you want to do (the

Redirection based on http header

2004-07-21 Thread Ram Kumar Gandhapuneni
Hi, I am a novice squid developer. I am trying to make modifications to the code in the client_side to do the redirection based on http header of the requests. I saw a thread with suggestions to start at redirectStart. It would be great if anybody can give me more elaborate description of

Re: wccpv2 and L2 redirection

2003-11-11 Thread Joey Coco
ried implementing wccpv2. to my dismay the cisco 3550 does not support wccpv2 > with GRE packet redirection. it must use Layer 2 redirection. so when i run squid > with the wccpv2 i get the following errors on the cisco 3550 (off course i change > both configs on cisco and squid wccp2_ro

RE: wccpv2 and L2 redirection

2003-11-11 Thread Henrik Nordstrom
the router). when i do that i see the > redirection counter on the cisco incrementing and the access.log on > squid showing the request and query. However if i do from the same > client any other web request the redirect counters don't increment, the > access.log obviously doesn't show

RE: wccpv2 and L2 redirection

2003-11-11 Thread John El-Rassi
igured with. ( menaing if i type in the web browser the IP address of the cisco switch. the web managment interface of the router). when i do that i see the redirection counter on the cisco incrementing and the access.log on squid showing the request and query. However if i do from the same clie

Re: wccpv2 and L2 redirection

2003-11-11 Thread Henrik Nordstrom
On Tue, 11 Nov 2003, John El-Rassi wrote: > So i tried implementing wccpv2. to my dismay the cisco 3550 does not > support wccpv2 with GRE packet redirection. No problem in theory. L2 redirection just makes life a whole lot easier as you don't need any GRE module, just normal i

wccpv2 and L2 redirection

2003-11-11 Thread John El-Rassi
open case with cisco about this). So i tried implementing wccpv2. to my dismay the cisco 3550 does not support wccpv2 with GRE packet redirection. it must use Layer 2 redirection. so when i run squid with the wccpv2 i get the following errors on the cisco 3550 (off course i change both configs