Search squid archive

tproxy specific issue on squid 3.1.18 using fedora 15

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i made a squid url_rewriter for cache purposes and it works on ubunut and on fedora 16(i686).
also it works on fedora 15 with the 3.2.0.12 rpm from fedora 16 repo.
the problem is that when the re_rewriter is replying with the address to squid the session that squid is creating is : from the client to the server instead from the squid machine to the web server.
what is see using ss is:(tproxy is port 8081)
SYN-SENT 0 1 192.168.102.100:38660 192.168.102.3:tproxy

but using the 3.2.0.12 and on other systems i see from 192.168.102.3:high_port_number 192.168.102.3:tproxy
or
127.0.0.1:hight_port_number		127.0.0.1:tproxy

and everything works fine.

the rewritter has a log function build-in and only when it's redirecting and with tproxy squid is doing this thing.
on regular forward proxy everything is working fine.

my config is the basic one with the exception of tproxy and the rewritter

#start lines added
http_port 3129 tproxy
url_rewrite_program /opt/nginx.cache.rb
url_rewrite_host_header off
#end lines added

so : with the 3.2 branch it works but not on 3.1.(3.1.10-3.1.18)

also i cant compile the 3.2 branch on fedora 15 cause always it ends up with some error.
i need to know the list of dependencies for compilation.
i had some sasl problem and i installed the sasl dev libs but now its stuck on ftp error:
g++: warning: switch ג-fhuge-objectsג is no longer supported
ftp.cc: In function גvoid ftpReadEPSV(FtpStateData*)ג:
ftp.cc:2371:9: error: variable גnג set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors

make[3]: *** [ftp.o] Error 1
make[3]: Leaving directory `/opt/src/squid-3.2.0.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/src/squid-3.2.0.8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/src/squid-3.2.0.8/src'
make: *** [all-recursive] Error 1


Thanks
Eliezer


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux