[tproxy] tproxy4, kernel 2.6.22, squid-2.6.stable16 and our patch with IP_FREEBIND

Jan Engelhardt jengelh at computergmbh.de
Thu Dec 20 21:27:51 CET 2007


On Dec 20 2007 21:19, Andrey Luzgin wrote:
>
>(fwdState->request->flags.tproxy &&
>strcmp(host,"127.0.0.2"))?( &( fwdState->src.sin_addr)):0);
>This is because our use local Apache in host 127.0.0.2 for rewriting
>script needs.
>
>By the way, if Apache runs on localhost in address 127.0.0.1 
>ALL http requests redirects to it. He is bug in tproxy ?

The bug is in your condition.


More information about the tproxy mailing list