aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
Commit message (Collapse)AuthorAgeFilesLines
...
* Re-add swapstate_check.php cronjob, add manually clear disk cache featuredoktornotor2015-10-111-0/+19
| | | | | - The swapstate_check.php cronjob, is here purely to prevent Squid from filling disk completely on misconfigured boxes; the script will only clear the disk cache on the following conditions:either if the swap.state file is taking up more than 75% of disk space, or the drive is 90% full and swap.state is larger than 1GB. - Added a button to manually clear disk cache from the GUI
* Add a button to manually clear disk cache from the GUIdoktornotor2015-10-111-1/+14
|
* Squid3 - multiple antivirus fixesdoktornotor2015-10-111-50/+104
| | | | | | - Stop moving C-ICAP logs, it completely breaks things for users in bizarre ways - Ditch the recursive chown madness on ClamAV/C-ICAP dirs. The C-ICAP socket/pid/logs are supposed to be owned by root:wheel, not clamav:wheel, this just should not be done. - Fix the broken squid_check_clamav_user() function and user handling in general; stop re-adding clamav user to wheel group over and over again. Also, clean up the wheel group on uninstall. - Put extensive error checking and debugging info to configuration files handling so that it's possible to debug things easily in future.
* Fix freshclam cronjob frequency handlingdoktornotor2015-10-101-7/+6
| | | Reported by itsol at https://forum.pfsense.org/index.php?topic=100167.msg561126#msg561126
* Fix freshclam cronjob frequency handlingdoktornotor2015-10-101-4/+4
| | | Reported by itsol at https://forum.pfsense.org/index.php?topic=100167.msg561126#msg561126
* Remove 'Clear Cache on Log Rotate' misfeature from local cache settingsdoktornotor2015-10-101-21/+7
| | | This has only been a source of complaints, breakage and confusion, plus was breaking Save on the General tab for people.
* Adjust script for removal of 'Clear Cache on Log Rotate' misfeaturedoktornotor2015-10-101-7/+3
|
* Remove 'Clear Cache on Log Rotate' misfeature from local cache settingsdoktornotor2015-10-101-12/+1
| | | This has only been a source of complaints, breakage and confusion, plus was breaking Save on the General tab for people.
* Fix clamav dirs handlingdoktornotor2015-10-091-14/+21
| | | This is not being done on install for god knows what reason, despite the code being there. I have no time left to debug similar nonsense in package manager.
* Clean up and prefix log messages.doktornotor2015-10-061-28/+30
|
* Clean up and prefix log messages.doktornotor2015-10-061-32/+32
|
* unset broken antivirus settings on upgradedoktornotor2015-10-061-0/+8
|
* Fix CRLFdoktornotor2015-10-061-1/+1
|
* Bump version and nuke useless cruftdoktornotor2015-10-061-7/+1
|
* Major rework of antivirus features logicdoktornotor2015-10-061-33/+83
| | | Users can either maintain raw config files manually now, or use the GUI options, but not both at the same time. There are some JS hacks in squid_js.inc.php to toggle various GUI options and features depending on whether raw config is being used or now, None of the previous configuration junk is migrated since it was just badly broken.
* Major rework of antivirus features logicdoktornotor2015-10-061-178/+540
| | | | | - Users can either maintain raw config files now, or use the GUI options, but not both at the same time. - Added extensive descriptions regarding the config files / config.xml configuration handling - Install/deinstall of AV-related stuff moved here from squid.inc
* squid.inc - more cleanups and small bugfixesdoktornotor2015-10-061-186/+165
| | | | | - Completely split antivirus install/uninstall to squid_antivirus.inc - Move the config migration cruft to separate squid_upgrade_config() function - Some cachedr creation fixes
* Update squid_js.inc for new squid_antivirus.xmldoktornotor2015-10-061-12/+45
|
* Fix newlinedoktornotor2015-10-051-1/+1
|
* Add description to functionsdoktornotor2015-10-031-0/+2
|
* Reoder functions into logical sections and add descriptions to themdoktornotor2015-10-031-207/+266
|
* Bump squid3 package versiondoktornotor2015-10-031-1/+1
|
* Move antivirus integration features to a separate filedoktornotor2015-10-031-0/+4
|
* Move antivirus integration features to a separate filedoktornotor2015-10-031-0/+433
|
* Move antivirus integration features to a separate filedoktornotor2015-10-031-389/+2
|
* Move squid_validate_reverse() to squid_reverse.inc where it belongsdoktornotor2015-10-031-0/+69
|
* Move squid_validate_reverse() to squid_reverse.inc where it belongsdoktornotor2015-10-031-69/+0
|
* Move javascript helpers to a separate filedoktornotor2015-10-031-0/+4
|
* Move javascript helpers to a separate filedoktornotor2015-10-031-0/+240
| | | squid.inc is already huge enough as it is, without bloating it even more.
* Move javascript helpers to a separate filedoktornotor2015-10-031-196/+4
| | | squid.inc is already huge enough as it is, without bloating it even more.
* Remove no-op and unintended "required" tag from offline modedoktornotor2015-10-031-1/+0
|
* Sanitize input fields sizedoktornotor2015-10-031-0/+1
|
* Sanitize input fields sizedoktornotor2015-10-031-0/+3
|
* Sanitize input fields sizedoktornotor2015-10-031-1/+2
|
* Do not loop when trying to chown inaccessible directory and log some debug infodoktornotor2015-10-031-10/+14
| | | Some whacky issue with screwed filesystem/permissions reported at https://forum.pfsense.org/index.php?topic=100167.msg559007#msg559007 - cannot get any meaningful info from the guy there.
* Do not disable log_dir field when access logging is disabled.doktornotor2015-10-021-4/+4
|
* Tell reverse proxy users to enable Squid if neededdoktornotor2015-10-021-1/+6
|
* Remove unused squid_reverse.xmldoktornotor2015-10-021-451/+0
| | | Some leftover from old versions; this is now moved to squid_reverse_general.xml
* Remove unused squid_reverse.xml filedoktornotor2015-10-021-4/+0
|
* Comment out the new logic for now, needs more workdoktornotor2015-10-021-1/+5
|
* Get rid of remaining PBI rcfiles and handle clamav with write_rcfiledoktornotor2015-10-021-2/+3
|
* Get rid of remaining PBI rcfiles and handle clamav with write_rcfiledoktornotor2015-10-021-37/+54
|
* Not needed any more and the symlinking misfeature was fixeddoktornotor2015-10-021-4/+0
|
* Stop symlinking the damned PBI rcfiles over and over againdoktornotor2015-10-021-7/+0
|
* write_rcfile() does not handle custom restart commanddoktornotor2015-10-021-7/+0
|
* Do not use the c-icap rcfile to stop c-icap when AV is being disabled - the ↵doktornotor2015-10-011-1/+1
| | | | rcfile may not exist
* Remove useless buggy /etc/rc.conf.local crapdoktornotor2015-10-011-26/+1
| | | Adding to the file was broken -- when run multiple times, it added a separate ="YES" line to the file. Moreover, the _enable variable is being patched to default to YES in individual rc scripts, so this junk is just not needed. Leaving the squid_deinstall_command() stuff in here for now, hopefully most users will get the "settings" removed and never added back.
* Implement a generic setting to enable/disable Squid services, bugfixes and ↵doktornotor2015-10-011-87/+158
| | | | | | | cleanups - add squid_enabled() function to check whether Squid is enabled; if not, disable all services (proxy, clamav, c-icap, monitor script) and cronjobs - handle antivirus services in a separate function - make it possible to disable Google Safe Browsing via the antivirus GUI options
* Fix the numdirs comparison here (int vs. string), make this more readable as ↵doktornotor2015-10-011-1/+1
| | | | | well Cache is getting always recreated because of strict comparison.
* Implement a generic setting to enable/disable Squid servicesdoktornotor2015-10-011-0/+11
| | | Desperately needed, currently getting rid of configured and running Squid is impossible without uninstalling.