Hello; some sites describe how to anonymize the squid the web browsing by inserting the following cods to “http.c” file that located on “src” directory.(when we install squid manually) but I have installed putty via “yum” command , and the files and directories are not similar the manually there isn’t “Src” directory and also “http.c” so please help me to find the related file that can I insert that anonymizer cods to it . My VPS info : Centos 5 default The installed squid via “yum” is squid-2.6.STABLE6-5.el5_1 Its installed on etc/squid/ the file on this directory is : cachemgr.conf mib.txt msntauth.conf squid.conf.default errors mime.conf msntauth.conf.default icons mime.conf.default squid.conf the codes : httpHeaderDelById(hdr_out, HDR_USER_AGENT); httpHeaderDelById(hdr_out, HDR_REFERER); httpHeaderDelById(hdr_out, HDR_X_REQUEST_URI); httpHeaderDelById(hdr_out, HDR_X_FORWARDED_FOR); httpHeaderDelById(hdr_out, HDR_X_CACHE_LOOKUP); httpHeaderDelById(hdr_out, HDR_X_CACHE); httpHeaderDelById(hdr_out, HDR_VIA); thanks in advance Tom
You'd have to install the httpd-devel package, then find the file httpd.c, modify it, and rebuild the httpd rpm package. Chapter 5 on http://www.howtoforge.com/virtual-users-and-domains-postfix-courier-mysql-centos5.1 shows how to rebuild an rpm package from a source package (Postfix in this example).
Hello, Many thanks for your kind attention, I have install it manually by following commands, it works fine, I can able to connect to it by SSH tunnel . but I have a problem : when I check IP with http://ip2location.com and also http://ipchicken.com all of things is ok, but when I want to create a Gmail account it simply detect my original country, so I think the cods that I used in http.c file (httpHeaderDelById) don’t completely del all Ids. Can help me to solve this problem to become completely anonymous? This is my installation details : cache.org/Versions/v2/2.5/squid-2.5.STABLE14.tar.gz tar -zxvf squid-2.5.STABLE14.tar.gz cd squid-2.5.STABLE14 I edited hhtp.c and inserted these cods: httpHeaderDelById(hdr_out, HDR_USER_AGENT); httpHeaderDelById(hdr_out, HDR_REFERER); httpHeaderDelById(hdr_out, HDR_X_REQUEST_URI); httpHeaderDelById(hdr_out, HDR_X_FORWARDED_FOR); httpHeaderDelById(hdr_out, HDR_X_CACHE_LOOKUP); httpHeaderDelById(hdr_out, HDR_X_CACHE); httpHeaderDelById(hdr_out, HDR_VIA); ./configure --prefix=/usr/local/squid --disable-ident-lookups make all make install useradd -d /usr/local/squid/cache/ -r -s /dev/null squid >/dev/null 2>&1 mkdir /usr/local/squid/cache chown -R squid:squid /usr/local/squid/cache chown -R squid:squid /usr/local/squid chmod -R 755 /usr/local/squid/cache sudo -u squid /usr/local/squid/sbin/squid –z /usr/local/squid/sbin/squid Best regards Tom
what do you mean by anonymizing? Just to prevent squid from giving out the forwarded-from IP address?
Hello dear Sjau; I want to be completely anonymous. Please kindly note, when go to GMAIL create account page, it automatically select my country. But when I use a VPN it show another country (country of VPN ip) I want to change the squid to completely hide me. I'm a amateur and don’t familiar with advanced programming