Help with squid
I installed squid because I like the features it offers. Only thing is, I have no idea how to configure it! Can someone please give me some advice on what to input, or a screenshot of your config would be better! I just want it to speed up web surfing, something new to learn, and web monitoring as well. Also, I was reading around that squid monitors your internet activity "I think if you have squidguard installed" which I do, but I was concerned about how much monitoring it does. It doesn't actually monitor key strokes does it?
Cry Havok last edited by
You may want to visit the web sites for the packages (Google for "squid cache" and "squidguard") and RTFM ;) Most of your answers are probably there.
Reporting is available if you install the Lightsquid package and enable logging in the squid package GUI. Search the forum for basic instructions on how to do this.
Thanks guys! Checking it out now.
1Gb RAM mini-itx system. ( this for Home use only )
Here are my settings for proxy server:
Proxy server: General settings
Proxy interface : LAN
Allow users on interface : checked
Transparent proxy : checked
Do NOT proxy Private Address Space (RFC 1918) : unchecked
Enabled logging : unchecked
Log store directory : /var/squid/log (default)
Proxy port : 3128 (default)
ICP port : empty
Visible hostname : localhost (default) edit: "pfsense" or your routers name; to fix Squid-icons (FTP).
Administrator email : admin@localhost (default) members of my family know how to find me when things go sour. ;)
Language : english (default)
Disable X-Forward : checked
Some forums check for ip-ranges and mess up bigtime and won't give you access.
(check these sites , "with" and "without" X-forward ;) )
example forum : http://www.evga.com/forums/
test proxy here : http://www.lagado.com/proxy-test
Disable VIA : unchecked
What to do with requests that have whitespace characters in the URI : strip (default)
Use alternate DNS-servers for the proxy-server : empty
Custom Options : redirect_program /usr/local/libexec/adzap;redirect_children 8;maximum_object_size_in_memory 512 KB;
I manually installed adzapper and configured the redirection this way.
maximum_object_size_in_memory 512 KB:
Some pictures can be bigger than the default setting of 64KB and won't be cached from memory. (speed boost)
Do not set this too big, balance this with the Memory cache size mentioned below.
Proxy server: Upstream proxy settings
Nothing, don't need it in my situation.
Proxy server: Cache management
Hard disk cache size : 1000 default is 100
Remember: Indexing this hdd cache also uses some RAM so don't ubersize your hdd cache!!!
Hard disk cache location : /var/squid/cache (default)
Memory cache size : 128 default is 8
This not an absolute setting, squid can grow beyond what you set here.
Minimum object size : 0 default
Maximum object size : 16384 default is 4 ?!?
default according to squid should be 4096 Kb.
I use heap LFUDA, it's recommended to increase the maximum object size above default to get a better HIT ratio.
This setting is my personal trail and error setting.
Level 1 subdirectories : 16 default is 16
More levels increases cache complexity and dependency on hdd speed. For normal home use I recommend default setting.
Memory replacement policy : heap LFUDA default is heap GDSF
Increase Maximum object size when using heap LFUDA to increase hit ratio.
too fix in 1.2.1 RC1 package squid 2.6.21 read this topic:
Cache replacement policy : heap LFUDA default is heap LFUDA
Low-water-mark in % : 90 default is 90
High-water-mark in % : 95 default is 95
Bring these values closser together when running into memory overflow problems.
90-95 = 5% but 5% can still represent are large chuck of cache or RAM depending on your settings.
Do not cache : empty
Enable offline mode : unchecked
Proxy server: Access control
Proxy server: Traffic management
Proxy server: Authentication
Proxy server: Local users
Not needed for "home" users. I did not configure anything here all left at default.