Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to configure squid completely anonymous? Post 302168986 by globalvpn on Wednesday 20th of February 2008 01:42:25 AM
Old 02-20-2008
How to configure squid completely anonymous?

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 Geolocation IP Address to Country City Region Latitude Longitude ZIP Code ISP Domain Name Database for Developers | IP2Location? and also IP Chicken - Whats my IP address? ip address lookup 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
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Completely new...

Hi there, I am completely new to this forum but it say's it's for complete newbies too :) I have some questions: 1: I want to learn Linux and some basic Unix commands. Is it best to install a text version of Linux/Unix? (to get to know the commands, instead of a shell app) 2: Are there... (8 Replies)
Discussion started by: Mecallie
8 Replies

2. UNIX for Advanced & Expert Users

Anonymous User

Hi, Can a anonymous user have password ? I have created a user and set password. Now I want to create that user as anonymous. Ronald (1 Reply)
Discussion started by: ronald_brayan
1 Replies

3. Cybersecurity

anonymous ftp attack?

For the last week or so every day for about 6 to 10 hours someone is logging in and out continuously to our anonymous ftp. They don't stay logged in. It seems like it must be an automatic process aimed at tying up our anonymous ftp. The ID of the server doing this is can59-4-82-240-1. As a result... (2 Replies)
Discussion started by: dennisheazle
2 Replies

4. What is on Your Mind?

And now for something completely the same

In honor of the anniversary of one of the best British shows (and memoriam of Graham Chapman)... npjOSLCR2hE 9ZlBUglE6Hc (1 Reply)
Discussion started by: pludi
1 Replies

5. Emergency UNIX and Linux Support

Configure Squid to use LDAP group auth to deny internet access

Hi all We have squid-2.5.STABLE11-3.FC4 running in our environment. LDAP authentication works fine. Active Directory 2003 Users are prompted to enter credentials every time they access the net. The system works perfectly, but I need to configure Squid to block users in a specific AD group.... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

6. IP Networking

Configure squid to listen on any IP address with port 80

Hi, I am trying to configure a transparent squid cache. When I try to use the below option in squid.conf, squid listens on port 80 only for the IP address configured on the system's interface. http_port 80 transparent But I want squid to accept connections for any IP address on port 80.... (3 Replies)
Discussion started by: Learner32
3 Replies

7. Linux

how to configure Squid with ONE Network Card for cache and proxy

hello all, how i can configure Squid with ONE Network Card for cache and proxy as shown in image attached. (1 Reply)
Discussion started by: jazaib92
1 Replies

8. IP Networking

Squid vs iptables = no Squid access.log?

Hello, I have a pretty useless satellite link at home (far from any civilization), so I wanted to set up caching in order to speed things up. My Squid 2.6 runs "3128 transparent" and is set up quite well on a separate machine. I also have my dd-wrt router to move all port 80 traffic through... (0 Replies)
Discussion started by: theWojtek
0 Replies
squid(8)						      System Manager's Manual							  squid(8)

NAME
squid - proxy caching server SYNOPSIS
squid [ -dhisrvzCDFNRVYX ] [ -l facility ] [ -f config-file ] [ -[ au ] port ] [ -k signal ] [ -n service-name ] [ -O cmd-line ] DESCRIPTION
squid is a high-performance proxy caching server for web clients, supporting FTP, gopher, and HTTP data objects. Unlike traditional caching software, squid handles all requests in a single, non-blocking, I/O-driven process. squid keeps meta data and especially hot objects cached in RAM, caches DNS lookups, supports non-blocking DNS lookups, and implements nega- tive caching of failed requests. squid supports SSL, extensive access controls, and full request logging. By using the lightweight Internet Cache Protocol, squid caches can be arranged in a hierarchy or mesh for additional bandwidth savings. squid consists of a main server program squid, a Domain Name System lookup program dnsserver, some optional programs for rewriting requests and performing authentication, and some management and client tools. When squid starts up, it spawns a configurable number of dnsserver processes, each of which can perform a single, blocking Domain Name System (DNS) lookup. This reduces the amount of time the cache waits for DNS lookups. squid is derived from the ARPA-funded Harvest Project http://harvest.cs.colorado.edu/ This manual page only lists the command line arguments. For details on how to configure squid see the file /etc/squid/squid.conf, the Squid FAQ and the documentation at the squid home page http://www.squid-cache.org OPTIONS
-a port Specify HTTP port number where Squid should listen for requests, in addition to any http_port specifications in squid.conf. -d level Write debugging to stderr also. -f file Use the given config-file instead of /etc/squid/squid.conf. If the file name starts with a ! or | then it is assumed to be an external command or command line. Can for example be used to pre-process the configuration before it is being read by Squid. To facilitate this Squid also understands the common #line notion to indicate the real source file. -h Print help message. -i Install as a Windows Service (see -n option). -k reconfigure | rotate | shutdown | interrupt | kill | debug | check | parse Parse configuration file, then send signal to running copy (except -k parse) and exit. -n name Specify Windows Service name to use for service operations, default is: Squid -r Remove a Windows Service (see -n option). -s Enable logging to syslog. -l facility Use specified syslog facility. implies -s -u port Specify ICP port number (default: 3130), disable with 0. -v Print version. -z Create swap directories -C Do not catch fatal signals. -D Disable initial DNS tests. -F Don't serve any requests until store is rebuilt. -O options Set Windows Service Command line options in Registry. -N No daemon mode. -R Do not set REUSEADDR on port. -X Force full debugging. -Y Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload. FILES
/etc/squid/squid.conf The main configuration file. You must initially make changes to this file for squid to work. For example, the default configura- tion does not allow access from any browser. /etc/squid/squid.conf.default Reference copy of the configuration file. Always kept up to date with the version of Squid you are using. Use this to look up con- figuration syntax after upgrading. /etc/squid/mime.conf (mime_table) MIME type mappings for FTP gatewaying /usr/share/squid/errors/templates (error_directory) Error page templates SEE ALSO
cachemgr.cgi(8), pam_auth(8), squid_ldap_auth(8), squid_ldap_group(8), squid_session(8), squid_unix_group(8), The Squid FAQ Squid Web Proxy 3.0.STABLE25 squid(8)
All times are GMT -4. The time now is 06:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy