Squid3 - New GUI with sync, normal and reverse proxy
-
-
I've added a new page to configure additional ports and added a configuration for client certificates.
I'm doing it on web servers page but I'll take a look on your code and see how can I merge it with my current uncommitted code.
Thanks for your code contribution. :)
Could you already take a look at my code changes? (https://github.com/TheNetStriker/pfsense-packages/commit/7d926f3d44cee817475c20bde44fe6471bab4ba7)
-
Squid3-dev has it's own forum topic.
I have looked for it… and I can't find it.
Could you please post a link to it here?
-
Hi, there is a mistake in the URL used for dynamic caching under Windows Update, this is the wrong line:
refresh_pattern -i my.windowsupdate.website.com/.*.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims
it should be
refresh_pattern -i windows.com/.*.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims
-
Installed 3.3.10
Huge issue
OWA not working anymore
and mixed website
I reset the entire settings the more webserver and mappings I'm adding the messier it gets
-
-
I've just installed pfSense 2.1.1 and Transparent SSL is no longer working… The certificates squid provides are no longer trusted.
-
I've just installed pfSense 2.1.1 and Transparent SSL is no longer working… The certificates squid provides are no longer trusted.
I'm having the same problem with this.
It happened even before I updated to 2.1.1, the SSL filtering went off after I updated the Squid3-Dev yesterday.
Any fix? Thanks in advance!
-
Any fix for this? Bumping up thread…
thanks in advance!
-
https://forum.pfsense.org/index.php?topic=62256.msg407762#msg407762
-
Got it working again.
Here's what I did:
1. stopped squid
squid -k shutdown2. Cleared the squid cache
mv /var/squid/cache /var/squid/cachebu3. Regenerate it (takes some time to complete)
squid -z4. Rebooted the machine
5. Cleaned up a bit
rm -rf /var/squid/cachebuAt first, squid and squidguard does not want to start but after the cache were cleaned up and regenerated, everything's back to normal… I hope...
and yes, this addition worked a treat:
always_direct allow all
ssl_bump server-first all -
If you have squidGuard-squid3 you will need this patch also:
https://forum.pfsense.org/index.php?topic=73640.msg402286#msg402286
-
Thanks for pointing that out….
I'll wait for the official fix from the developer so I won't mess up a lot.
I'm happy that it's working for now until the next update happens...
Thanks a lot!
-
Yeah guys you are talking about lots of commands and advance things which we n00bs dont understand and dont know how to do.
let se,
i updated it to 2.1.1 everything work fine except squid3. Process start then stop, then start,… in the loop. - i removed it.
After few days i saw pfblocker just stop to work and no rules on firewall. I tried to reinstall it - no joy.
Ther i roll back to 2.1 and everything works but squid3 wont to install. Probably i have cache issue, but dont know how to fix it. So i just give up. I hope, i really hope it will be updated so we mortals can just click and install it without problems.
When im truing to install it on old 2.1 i got this
Beginning package installation for squid3 .
Downloading package configuration file... done.
Saving updated package information... done.
Downloading squid3 and its dependencies...
Checking for package installation...
Downloading https://files.pfsense.org/packages/amd64/8/All/squid-3.1.22_1-amd64.pbi ... (extracting)
Loading package configuration... done.
Configuring package components...
Additional files... squid.inc failed.
Backing up libraries...
Removing package...
Starting package deletion for squid-3.1.22_1-amd64...done.
Removing squid3 components...
Tabs items... done.
Menu items... done.
Services... done.
Loading package instructions...
Include file squid.inc could not be found for inclusion.
Deinstall commands...
Not executing custom deinstall hook because an include is missing.
Removing package instructions...done.
Auxiliary files... done.
Package XML... done.
Configuration... done.
Cleaning up... done.
Failed to install package.Installation halted.
I really dont dare to touch anything anymore, but i must give up of new pfsense version and squid3 now.
Many thnx for all good work in past and future. It really helps. Im waiting for new wersion which will fix this issues.
Cheers :)
-
I was able to get clamav to work on my 2.1.2 i386 box with pretty much no issues. a couple of things:
1: Can an option be added to the package to setup a schedule to run freshclam to update the db? The db on my box was from 2012. Manually running it updated the db
2: I dont know if this will work for everyone but I copied clwarn.cgi to /usr/local/www and was able to call it by updating this option in the squidclamav.conf file:
# When a virus is found then redirect the user to this URL redirect https://pfsense/clwarn.cgi
Works pretty good!
-
Failed to install package.
Installation halted.
Be patient. I had also this problem some weeks ago:
https://forum.pfsense.org/index.php?topic=73919.0
-
Failed to install package.
Installation halted.
Be patient. I had also this problem some weeks ago:
https://forum.pfsense.org/index.php?topic=73919.0
I will try to install it many times in row. But seems every try it needs system reboot because once installation fails it cannot see packages.
many thnx for reply :)
-
Since upgrading, I noticed that Squid and Squidguard stops after a day.
It will work the whole day after I restarted the services but the next day, it's not working again. I then need to restart the services again then it will work for the day then stops again the next day and so on….
I tried to observe it for the past several days and the same issue happens.
Anyone knows what is happening?
I already patched squidguard and still the same thing happens.
Thanks in advance for any input.
Logs shows:
Apr 17 11:50:41 squid[92769]: Squid Parent: (squid-1) process 26950 exited with status 1 Apr 17 11:50:41 (squid-1): msgget failed Apr 17 11:50:41 squid[92769]: Squid Parent: (squid-1) process 26950 started Apr 17 11:50:38 squid[92769]: Squid Parent: (squid-1) process 8114 exited with status 1 Apr 17 11:50:38 (squid-1): msgget failed Apr 17 11:50:37 squid[92769]: Squid Parent: (squid-1) process 8114 started Apr 17 11:50:34 squid[92769]: Squid Parent: (squid-1) process 4872 exited with status 1 Apr 17 11:50:34 (squid-1): msgget failed Apr 17 11:50:34 squid[92769]: Squid Parent: (squid-1) process 4872 started Apr 17 11:50:31 check_reload_status: Syncing firewall Apr 17 11:50:31 squid[92769]: Squid Parent: (squid-1) process 93049 exited with status 1 Apr 17 11:50:31 (squid-1): msgget failed Apr 17 11:50:31 check_reload_status: Reloading filter Apr 17 11:50:31 squid[92769]: Squid Parent: (squid-1) process 93049 started Apr 17 11:50:31 squid[92769]: Squid Parent: will start 1 kids Apr 17 11:50:31 php: /pkg_edit.php: Starting Squid Apr 17 11:50:30 php: /pkg_edit.php: [Squid] - Squid_resync function call pr: bp: rpc:no Apr 17 11:50:25 squid[55901]: Exiting due to repeated, frequent failures Apr 17 11:50:25 squid[55901]: Squid Parent: (squid-1) process 81603 will not be restarted due to repeated, frequent failures Apr 17 11:50:25 squid[55901]: Squid Parent: (squid-1) process 81603 exited with status 1 Apr 17 11:50:25 (squid-1): msgget failed Apr 17 11:50:25 squid[55901]: Squid Parent: (squid-1) process 81603 started Apr 17 11:50:22 squid[55901]: Squid Parent: (squid-1) process 79547 exited with status 1 Apr 17 11:50:22 (squid-1): msgget failed Apr 17 11:50:22 squid[55901]: Squid Parent: (squid-1) process 79547 started Apr 17 11:50:20 check_reload_status: Syncing firewall Apr 17 11:50:19 squid[55901]: Squid Parent: (squid-1) process 69925 exited with status 1 Apr 17 11:50:19 (squid-1): msgget failed Apr 17 11:50:18 squid[55901]: Squid Parent: (squid-1) process 69925 started Apr 17 11:50:15 squid[55901]: Squid Parent: (squid-1) process 67302 exited with status 1 Apr 17 11:50:15 (squid-1): msgget failed Apr 17 11:50:15 squid[55901]: Squid Parent: (squid-1) process 67302 started Apr 17 11:50:12 check_reload_status: Syncing firewall Apr 17 11:50:12 squid[55901]: Squid Parent: (squid-1) process 56297 exited with status 1 Apr 17 11:50:12 (squid-1): msgget failed Apr 17 11:50:12 check_reload_status: Reloading filter Apr 17 11:50:12 squid[55901]: Squid Parent: (squid-1) process 56297 started Apr 17 11:50:12 squid[55901]: Squid Parent: will start 1 kids Apr 17 11:50:12 php: /pkg_edit.php: Starting Squid Apr 17 11:50:11 php: /pkg_edit.php: [Squid] - Squid_resync function call pr: bp: rpc:no Apr 17 11:50:08 squid[96230]: Exiting due to repeated, frequent failures Apr 17 11:50:08 squid[96230]: Squid Parent: (squid-1) process 45684 will not be restarted due to repeated, frequent failures Apr 17 11:50:08 squid[96230]: Squid Parent: (squid-1) process 45684 exited with status 1 Apr 17 11:50:08 (squid-1): msgget failed Apr 17 11:50:08 squid[96230]: Squid Parent: (squid-1) process 45684 started Apr 17 11:50:05 squid[96230]: Squid Parent: (squid-1) process 42726 exited with status 1 Apr 17 11:50:05 (squid-1): msgget failed Apr 17 11:50:04 squid[96230]: Squid Parent: (squid-1) process 42726 started Apr 17 11:50:01 squid[96230]: Squid Parent: (squid-1) process 34638 exited with status 1 Apr 17 11:50:01 (squid-1): msgget failed Apr 17 11:50:01 check_reload_status: Syncing firewall Apr 17 11:50:01 squid[96230]: Squid Parent: (squid-1) process 34638 started Apr 17 11:49:58 squid[96230]: Squid Parent: (squid-1) process 17291 exited with status 1 Apr 17 11:49:58 (squid-1): msgget failed Apr 17 11:49:58 check_reload_status: Reloading filter Apr 17 11:49:58 squid[96230]: Squid Parent: (squid-1) process 17291 started Apr 17 11:49:57 Squid_Alarm[17063]: Squid has resumed. Reconfiguring filter. Apr 17 11:49:57 check_reload_status: Reloading filter Apr 17 11:49:57 Squid_Alarm[15369]: Reconfiguring filter... Apr 17 11:49:55 squid[96230]: Squid Parent: (squid-1) process 96643 exited with status 1 Apr 17 11:49:55 (squid-1): msgget failed Apr 17 11:49:54 squid[96230]: Squid Parent: (squid-1) process 96643 started Apr 17 11:49:54 squid[96230]: Squid Parent: will start 1 kids Apr 17 11:49:54 Squid_Alarm[95131]: Attempting restart... Apr 17 11:49:54 Squid_Alarm[94677]: Squid has exited. Reconfiguring filter. Apr 17 11:49:10 squid[48530]: Exiting due to repeated, frequent failures Apr 17 11:49:10 squid[48530]: Squid Parent: (squid-1) process 71760 will not be restarted due to repeated, frequent failures Apr 17 11:49:10 squid[48530]: Squid Parent: (squid-1) process 71760 exited with status 1 Apr 17 11:49:10 (squid-1): msgget failed Apr 17 11:49:09 squid[48530]: Squid Parent: (squid-1) process 71760 started Apr 17 11:49:06 squid[48530]: Squid Parent: (squid-1) process 69669 exited with status 1 Apr 17 11:49:06 (squid-1): msgget failed Apr 17 11:49:06 squid[48530]: Squid Parent: (squid-1) process 69669 started Apr 17 11:49:03 squid[48530]: Squid Parent: (squid-1) process 66779 exited with status 1 Apr 17 11:49:03 (squid-1): msgget failed Apr 17 11:49:03 squid[48530]: Squid Parent: (squid-1) process 66779 started Apr 17 11:49:00 squid[48530]: Squid Parent: (squid-1) process 53756 exited with status 1 Apr 17 11:49:00 (squid-1): msgget failed Apr 17 11:48:59 check_reload_status: Reloading filter Apr 17 11:48:59 squid[48530]: Squid Parent: (squid-1) process 53756 started Apr 17 11:48:59 Squid_Alarm[53479]: Squid has resumed. Reconfiguring filter. Apr 17 11:48:59 check_reload_status: Reloading filter Apr 17 11:48:59 Squid_Alarm[51436]: Reconfiguring filter... Apr 17 11:48:56 squid[48530]: Squid Parent: (squid-1) process 48605 exited with status 1 Apr 17 11:48:56 (squid-1): msgget failed Apr 17 11:48:56 squid[48530]: Squid Parent: (squid-1) process 48605 started Apr 17 11:48:56 squid[48530]: Squid Parent: will start 1 kids Apr 17 11:48:56 Squid_Alarm[47330]: Attempting restart... Apr 17 11:48:56 Squid_Alarm[46755]: Squid has exited. Reconfiguring filter. Apr 17 11:48:54 squid[92673]: Exiting due to repeated, frequent failures Apr 17 11:48:54 squid[92673]: Squid Parent: (squid-1) process 43034 will not be restarted due to repeated, frequent failures Apr 17 11:48:54 squid[92673]: Squid Parent: (squid-1) process 43034 exited with status 1 Apr 17 11:48:54 (squid-1): msgget failed Apr 17 11:48:54 squid[92673]: Squid Parent: (squid-1) process 43034 started Apr 17 11:48:51 squid[92673]: Squid Parent: (squid-1) process 41038 exited with status 1 Apr 17 11:48:51 (squid-1): msgget failed Apr 17 11:48:50 squid[92673]: Squid Parent: (squid-1) process 41038 started Apr 17 11:48:47 squid[92673]: Squid Parent: (squid-1) process 37545 exited with status 1 Apr 17 11:48:47 (squid-1): msgget failed Apr 17 11:48:47 squid[92673]: Squid Parent: (squid-1) process 37545 started Apr 17 11:48:44 squid[92673]: Squid Parent: (squid-1) process 18259 exited with status 1 Apr 17 11:48:44 (squid-1): msgget failed Apr 17 11:48:44 squid[92673]: Squid Parent: (squid-1) process 18259 started Apr 17 11:48:41 php: /pkg_edit.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure -f /usr/pbi/squid-amd64/etc/squid/squid.conf' returned exit code '1', the output was 'squid: ERROR: No running copy' Apr 17 11:48:41 php: /pkg_edit.php: Reloading Squid for configuration sync Apr 17 11:48:41 squid[92673]: Squid Parent: (squid-1) process 93102 exited with status 1 Apr 17 11:48:41 (squid-1): msgget failed Apr 17 11:48:41 php: /pkg_edit.php: [Squid] - Squid_resync function call pr:1 bp: rpc:no Apr 17 11:48:41 check_reload_status: Reloading filter Apr 17 11:48:41 check_reload_status: Syncing firewall Apr 17 11:48:40 check_reload_status: Reloading filter Apr 17 11:48:40 squid[92673]: Squid Parent: (squid-1) process 93102 started Apr 17 11:48:40 squid[92673]: Squid Parent: will start 1 kids Apr 17 11:48:40 php: /pkg_edit.php: Starting Squid Apr 17 11:48:40 php: /pkg_edit.php: [Squid] - Squid_resync function call pr: bp: rpc:no Apr 17 11:48:11 squid[23552]: Exiting due to repeated, frequent failures Apr 17 11:48:11 squid[23552]: Squid Parent: (squid-1) process 48472 will not be restarted due to repeated, frequent failures Apr 17 11:48:11 squid[23552]: Squid Parent: (squid-1) process 48472 exited with status 1 Apr 17 11:48:11 (squid-1): msgget failed Apr 17 11:48:11 squid[23552]: Squid Parent: (squid-1) process 48472 started Apr 17 11:48:08 squid[23552]: Squid Parent: (squid-1) process 46248 exited with status 1 Apr 17 11:48:08 (squid-1): msgget failed Apr 17 11:48:07 squid[23552]: Squid Parent: (squid-1) process 46248 started Apr 17 11:48:04 squid[23552]: Squid Parent: (squid-1) process 43302 exited with status 1 Apr 17 11:48:04 (squid-1): msgget failed Apr 17 11:48:04 squid[23552]: Squid Parent: (squid-1) process 43302 started Apr 17 11:48:01 squid[23552]: Squid Parent: (squid-1) process 28989 exited with status 1 Apr 17 11:48:01 (squid-1): msgget failed Apr 17 11:48:01 check_reload_status: Reloading filter Apr 17 11:48:01 squid[23552]: Squid Parent: (squid-1) process 28989 started Apr 17 11:48:01 Squid_Alarm[28478]: Squid has resumed. Reconfiguring filter. Apr 17 11:48:01 check_reload_status: Reloading filter Apr 17 11:48:01 Squid_Alarm[26947]: Reconfiguring filter... Apr 17 11:47:58 squid[23552]: Squid Parent: (squid-1) process 23832 exited with status 1 Apr 17 11:47:58 (squid-1): msgget failed Apr 17 11:47:58 squid[23552]: Squid Parent: (squid-1) process 23832 started Apr 17 11:47:58 squid[23552]: Squid Parent: will start 1 kids Apr 17 11:47:57 Squid_Alarm[22525]: Attempting restart... Apr 17 11:47:57 Squid_Alarm[22358]: Squid has exited. Reconfiguring filter. Apr 17 11:47:13 squid[76633]: Exiting due to repeated, frequent failures Apr 17 11:47:13 squid[76633]: Squid Parent: (squid-1) process 1025 will not be restarted due to repeated, frequent failures Apr 17 11:47:13 squid[76633]: Squid Parent: (squid-1) process 1025 exited with status 1 Apr 17 11:47:13 (squid-1): msgget failed Apr 17 11:47:12 squid[76633]: Squid Parent: (squid-1) process 1025 started Apr 17 11:47:09 squid[76633]: Squid Parent: (squid-1) process 98624 exited with status 1 Apr 17 11:47:09 (squid-1): msgget failed Apr 17 11:47:09 squid[76633]: Squid Parent: (squid-1) process 98624 started Apr 17 11:47:06 squid[76633]: Squid Parent: (squid-1) process 95312 exited with status 1 Apr 17 11:47:06 (squid-1): msgget failed Apr 17 11:47:06 squid[76633]: Squid Parent: (squid-1) process 95312 started Apr 17 11:47:03 squid[76633]: Squid Parent: (squid-1) process 81486 exited with status 1 Apr 17 11:47:03 (squid-1): msgget failed Apr 17 11:47:02 check_reload_status: Reloading filter Apr 17 11:47:02 squid[76633]: Squid Parent: (squid-1) process 81486 started Apr 17 11:47:02 Squid_Alarm[80910]: Squid has resumed. Reconfiguring filter. Apr 17 11:47:02 check_reload_status: Reloading filter Apr 17 11:47:02 Squid_Alarm[79200]: Reconfiguring filter... Apr 17 11:46:59 squid[76633]: Squid Parent: (squid-1) process 76727 exited with status 1 Apr 17 11:46:59 (squid-1): msgget failed Apr 17 11:46:59 squid[76633]: Squid Parent: (squid-1) process 76727 started Apr 17 11:46:59 squid[76633]: Squid Parent: will start 1 kids Apr 17 11:46:59 Squid_Alarm[75177]: Attempting restart... Apr 17 11:46:59 Squid_Alarm[74676]: Squid has exited. Reconfiguring filter. Apr 17 11:46:14 squid[29993]: Exiting due to repeated, frequent failures Apr 17 11:46:14 squid[29993]: Squid Parent: (squid-1) process 53435 will not be restarted due to repeated, frequent failures Apr 17 11:46:14 squid[29993]: Squid Parent: (squid-1) process 53435 exited with status 1 Apr 17 11:46:14 (squid-1): msgget failed Apr 17 11:46:14 squid[29993]: Squid Parent: (squid-1) process 53435 started Apr 17 11:46:11 squid[29993]: Squid Parent: (squid-1) process 50529 exited with status 1 Apr 17 11:46:11 (squid-1): msgget failed Apr 17 11:46:11 squid[29993]: Squid Parent: (squid-1) process 50529 started Apr 17 11:46:08 squid[29993]: Squid Parent: (squid-1) process 47462 exited with status 1 Apr 17 11:46:08 (squid-1): msgget failed Apr 17 11:46:07 squid[29993]: Squid Parent: (squid-1) process 47462 started Apr 17 11:46:04 squid[29993]: Squid Parent: (squid-1) process 35189 exited with status 1 Apr 17 11:46:04 (squid-1): msgget failed Apr 17 11:46:04 check_reload_status: Reloading filter Apr 17 11:46:04 squid[29993]: Squid Parent: (squid-1) process 35189 started Apr 17 11:46:04 Squid_Alarm[34690]: Squid has resumed. Reconfiguring filter. Apr 17 11:46:04 check_reload_status: Reloading filter Apr 17 11:46:04 Squid_Alarm[33154]: Reconfiguring filter... Apr 17 11:46:01 squid[29993]: Squid Parent: (squid-1) process 30345 exited with status 1 Apr 17 11:46:01 (squid-1): msgget failed Apr 17 11:46:01 squid[29993]: Squid Parent: (squid-1) process 30345 started Apr 17 11:46:01 squid[29993]: Squid Parent: will start 1 kids Apr 17 11:46:01 Squid_Alarm[28452]: Attempting restart... Apr 17 11:46:01 Squid_Alarm[27985]: Squid has exited. Reconfiguring filter. Apr 17 11:45:42 squid[68374]: Exiting due to repeated, frequent failures Apr 17 11:45:42 squid[68374]: Squid Parent: (squid-1) process 13795 will not be restarted due to repeated, frequent failures Apr 17 11:45:42 squid[68374]: Squid Parent: (squid-1) process 13795 exited with status 1 Apr 17 11:45:42 (squid-1): msgget failed Apr 17 11:45:42 squid[68374]: Squid Parent: (squid-1) process 13795 started Apr 17 11:45:42 check_reload_status: Syncing firewall Apr 17 11:45:41 check_reload_status: Syncing firewall Apr 17 11:45:41 php: rc.start_packages: [Squid] - Squid_resync function call pr:1 bp:1 rpc:no Apr 17 11:45:39 squid[68374]: Squid Parent: (squid-1) process 7235 exited with status 1 Apr 17 11:45:39 (squid-1): msgget failed Apr 17 11:45:39 squid[68374]: Squid Parent: (squid-1) process 7235 started Apr 17 11:45:36 squid[68374]: Squid Parent: (squid-1) process 4817 exited with status 1 Apr 17 11:45:36 (squid-1): msgget failed Apr 17 11:45:35 squid[68374]: Squid Parent: (squid-1) process 4817 started Apr 17 11:45:32 squid[68374]: Squid Parent: (squid-1) process 90085 exited with status 1 Apr 17 11:45:32 (squid-1): msgget failed Apr 17 11:45:32 squid[68374]: Squid Parent: (squid-1) process 90085 started Apr 17 11:45:29 squid[68374]: Squid Parent: (squid-1) process 68716 exited with status 1 Apr 17 11:45:29 (squid-1): msgget failed Apr 17 11:45:29 squid[68374]: Squid Parent: (squid-1) process 68716 started Apr 17 11:45:29 squid[68374]: Squid Parent: will start 1 kids Apr 17 11:45:29 php: rc.start_packages: The command '/usr/local/etc/rc.d/cron.sh stop' returned exit code '1', the output was '' Apr 17 11:45:27 php: rc.filter_configure_sync: SQUID is installed but not started. Not installing "filter" rules. Apr 17 11:45:27 php: rc.filter_configure_sync: SQUID is installed but not started. Not installing "pfearly" rules. Apr 17 11:45:27 php: rc.filter_configure_sync: SQUID is installed but not started. Not installing "nat" rules.
-
Bumping up thread…
Anyone also experiencing the same problem here?
I have the following packages installed on pfsense 2.1.2-RELEASE:
Cron
pfBlocker
Sarg
squid3-dev
squid-Guard-squid3
System PatchesDetailed info of pfsense:
Version
2.1.2-RELEASE (amd64)
built on Thu Apr 10 05:42:13 EDT 2014
FreeBSD 8.3-RELEASE-p15CPU Type
Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz
4 CPUs: 1 package(s) x 4 core(s)Temperature 29.8°C
Load average 0.10, 0.22, 0.27
CPU usage 2%Memory usage 12% of 32716 MB
SWAP usage 0% of 65536 MB
Disk usage 55% of 840G
Thanks in advance!
-
Hi all,
I had the same problem as you can read in a preavoius tread, it seams I've solved it removing the addon libraries from usr/local/lib, maybe they are in 2.1.2 or in squid don't know.