#1  
Old 9th February 2008, 13:46
globalvpn globalvpn is offline
Junior Member
 
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default squid anonymizer

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 isnt 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
Reply With Quote
Sponsored Links
  #2  
Old 10th February 2008, 17:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

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-us...ysql-centos5.1 shows how to rebuild an rpm package from a source package (Postfix in this example).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th February 2008, 09:44
globalvpn globalvpn is offline
Junior Member
 
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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) dont 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
Reply With Quote
  #4  
Old 13th February 2008, 16:45
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,127
Thanks: 4
Thanked 43 Times in 40 Posts
Default

what do you mean by anonymizing? Just to prevent squid from giving out the forwarded-from IP address?
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #5  
Old 18th February 2008, 13:13
globalvpn globalvpn is offline
Junior Member
 
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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 dont familiar with advanced programming
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid configuration confighelp Server Operation 2 24th November 2007 15:27
squid problem on RHEL Release 5 dogar Server Operation 4 29th August 2007 13:53
Squid as ReverseProxy Intraweb Suggest HOWTO 0 12th August 2007 14:19
Squid Problem tommyboy180 HOWTO-Related Questions 10 21st May 2007 14:32
I want to do unusual things with Squid mackenga Server Operation 1 8th April 2007 11:53


All times are GMT +2. The time now is 17:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.