Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 607 #633
i
i
i
i
i
i
i
i
25
Internet
cache_store_log /var/log/squid/store.log
Path for log messages.
These three entries specify the paths where Squid logs all its actions.
Normally, nothing is changed here. If Squid is experiencing a heavy
usage burden, it might make sense to distribute the cache and the log
files over several disks.
emulate_httpd_log off If the entry is set to on, obtain readable log files.
Some evaluation programs cannot interpret this, however.
client_netmask 255.255.255.255 With this entry, mask IP addresses in the
log files to hide the clients’ identity. The last digit of the IP address is
set to zero if you enter 255.255.255.0 here.
ftp_user Squid@ With this, set the password Squid should use for the
anonymous FTP login. It can make sense to specify a valid e-mail ad-
dress here, because some FTP servers check these for validity.
cache_mgr webmaster An e-mail address to which Squid sends a mes-
sage if it unexpectedly crashes. The default is webmaster.
logfile_rotate 0 If you run squid -k rotate, Squid can rotate secured
log files. The files are numbered in this process and, after reaching the
specified value, the oldest file is overwritten. The default value is 0
because archiving and deleting log files in SUSE LINUX is carried out
by a cron job set in the configuration file /etc/logrotate/squid.
append_domain <domain> With append_domain, specify which domain to
append automatically when none is given. Usually, your own domain
is entered here, so entering www in the browser accesses your own
web server.
forwarded_for on If you set the entry to off, Squid removes the IP address
and the system name of the client from HTTP requests.
negative_ttl 5 minutes; negative_dns_ttl 5 minutes
Normally, you do not need to change these values. If you have a dial-
up connection, however, the Internet may, at times, not be accessible.
Squid makes a note of the failed requests then refuses to issue new
ones, although the Internet connection has been reestablished. In a
case such as this, change the minutes to seconds then, after clicking
Reload in the browser, the dial-up process should be reengaged after a
few seconds.
607SUSE LINUX Enterprise Server