PDA

View Full Version : How to completely anonymous squid ssh tunnel?


globalvpn
02-20-08, 12:52 AM
Hello,
I have installed squid manually ,
it works fine, I can able to brows internet via SSH tunnel .
but I have a problem :
when I check my IP via this SSH tunnel with http://ip2location.com and also http://ipchicken.com it show my VPS ip and also show my VPS location, speciously all of things is ok, but it is not completely true, because when I want to create a Gmail account it simply detect my original country! this means it is not completely anonymous.
so I think the cods that I used in http.c file (httpHeaderDelById) don’t completely del all my 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

FireMogle
02-20-08, 10:22 AM
Its not really possible as the packets need a place to comeback.