On Tue, 22 Nov 2011 18:11:26 +0000, Sw@g wrote:
Hi all,

First of all, I would like to thank you for your time and effort for
providing such a great tool.

I am a new user on archlinux, using Squid locally.  I have a few
questions, regarding the setup most of all.

- Is it possible to change the information logged into access.log? I
would like it like that

=> date +%#F_%T address_visited (I would like to replace the
timestamps with a human readable time/date and just the website
visited)

http://wiki.squid-cache.org/SquidFaq/SquidLogs
http://www.squid-cache.org/Doc/config/access_log
http://www.squid-cache.org/Doc/config/logformat


=> Is it possible to limit the size of the logs from within the
squid.conf file?


No. You need to integrate log management tools like logrotate.d or cron jobs to control when log rotation occurs.


And the last question, I have that "error" coming up from the cache.log

IpIntercept.cc(137) NetfilterInterception:  NF
getsockopt(SO_ORIGINAL_DST) failed on FD 29: (92) Protocol not
available

And the browsing become really slow, even page aren't opening
anymore? Any advice?

Squid is unable to locate the client details in the kernel NAT table. NAT *must* be done on the Squid box.

Also ensure that you have separate http_port lines for the different types of traffic arriving at your Squid.

Amos

Reply via email to