Squid Installation and basic parameters to get it running
-
okay I just viewed the log and there is this entry for squid, what does it mean? will it affect performance?
squid[336]: Squid Parent: child process 339 exited due to signal 6
-
If you change squid settings in the webgui squid will be terminated and restarted. As long as squid is running you are fine.
-
To verify that its running, aside from what the webGUI says, you can log into the console and see if squid is running in the process list. Also, you can check the access.log file for activity. The default location of the squid access.log is in /usr/local/logs IIRC, however, this could have changed. Judicious use of the find command will help.
-
okay but it occurs to me that the connection is slow with squid on? is this normal for the first few days or is there some bug for everyone else
-
okay but it occurs to me that the connection is slow with squid on? is this normal for the first few days or is there some bug for everyone else
Please search for this issue, it's under active discussion.
-
thanks everyone, I will follow up on the squid slowness issue through this topic
http://forum.pfsense.org/index.php/topic,7281.0.html
-
hi, all
i've installed new version of squid.
and then i customized. to make it proper for my network
this is my squid.confDo not edit manually!
http_port 125.164.254.46:3128
http_port 127.0.0.1:80 transparent
icp_port 3130pid_filename /var/run/squid.pid
cache_effective_user proxy
cache_effective_group proxy
error_directory /usr/local/etc/squid/errors/English
visible_hostname localhost
cache_mgr admin@localhostaccess_log /dev/null
cache_log /var/squid/log/cache.log
cache_store_log none
shutdown_lifetime 3 secondsAllow local network(s) on interface(s)
acl localnet src 125.164.254.46/255.255.255.255
uri_whitespace stripcache_dir diskd /cache1 12000 16 256
cache_dir diskd /cache2 12000 16 256
cache_dir diskd /cache3 12000 16 256
cache_dir diskd /cache4 12000 16 256
#cache_dir aufs /var/squid/cache 1000 16 256
cache_mem 16 MB
maximum_object_size 32 KBNo redirector configured
Setup some default acls
acl all src 0.0.0.0/0
acl localhost src 127.0.0.1
acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 1025-65535
acl sslports port 443 563
acl manager proto cache_objectafter i safe it, and then i run it.and it runs well for a while…
and the question is
why every time i reboot my router. the config is back like the default one.
especialy on the cache_dir section.pls some body could give a solution???
-
Everything is regenerated on bootup or guichanges from the config.xml. This is how pfSense works (single configfile for everything: config.xml).
-
-
So another question along this same line. I have installed squid and it is running as a process on the box. But when I put a URL's in the BlackList field it doesn't filter anything. Is there anything special that needs to be done to make that happen?
-
hi
i am using squid for quite some times, i used the upstream proxy in the past when i had the option to use it by my isp, but now my isp oblige me to do so, and if i don't my internet will be very slow, so if i use it now squid stops immediately, i tried it with 5 different pfsense boxes, any body aware of this and solved it?
thanks in advance