Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Re-add swapstate_check.php cronjob, add manually clear disk cache feature | doktornotor | 2015-10-11 | 1 | -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 GUI | doktornotor | 2015-10-11 | 1 | -1/+14 | |
| | ||||||
* | Squid3 - multiple antivirus fixes | doktornotor | 2015-10-11 | 1 | -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 handling | doktornotor | 2015-10-10 | 1 | -7/+6 | |
| | | | Reported by itsol at https://forum.pfsense.org/index.php?topic=100167.msg561126#msg561126 | |||||
* | Fix freshclam cronjob frequency handling | doktornotor | 2015-10-10 | 1 | -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 settings | doktornotor | 2015-10-10 | 1 | -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' misfeature | doktornotor | 2015-10-10 | 1 | -7/+3 | |
| | ||||||
* | Remove 'Clear Cache on Log Rotate' misfeature from local cache settings | doktornotor | 2015-10-10 | 1 | -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 handling | doktornotor | 2015-10-09 | 1 | -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. | doktornotor | 2015-10-06 | 1 | -28/+30 | |
| | ||||||
* | Clean up and prefix log messages. | doktornotor | 2015-10-06 | 1 | -32/+32 | |
| | ||||||
* | unset broken antivirus settings on upgrade | doktornotor | 2015-10-06 | 1 | -0/+8 | |
| | ||||||
* | Fix CRLF | doktornotor | 2015-10-06 | 1 | -1/+1 | |
| | ||||||
* | Bump version and nuke useless cruft | doktornotor | 2015-10-06 | 1 | -7/+1 | |
| | ||||||
* | Major rework of antivirus features logic | doktornotor | 2015-10-06 | 1 | -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 logic | doktornotor | 2015-10-06 | 1 | -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 bugfixes | doktornotor | 2015-10-06 | 1 | -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.xml | doktornotor | 2015-10-06 | 1 | -12/+45 | |
| | ||||||
* | Fix newline | doktornotor | 2015-10-05 | 1 | -1/+1 | |
| | ||||||
* | Add description to functions | doktornotor | 2015-10-03 | 1 | -0/+2 | |
| | ||||||
* | Reoder functions into logical sections and add descriptions to them | doktornotor | 2015-10-03 | 1 | -207/+266 | |
| | ||||||
* | Bump squid3 package version | doktornotor | 2015-10-03 | 1 | -1/+1 | |
| | ||||||
* | Move antivirus integration features to a separate file | doktornotor | 2015-10-03 | 1 | -0/+4 | |
| | ||||||
* | Move antivirus integration features to a separate file | doktornotor | 2015-10-03 | 1 | -0/+433 | |
| | ||||||
* | Move antivirus integration features to a separate file | doktornotor | 2015-10-03 | 1 | -389/+2 | |
| | ||||||
* | Move squid_validate_reverse() to squid_reverse.inc where it belongs | doktornotor | 2015-10-03 | 1 | -0/+69 | |
| | ||||||
* | Move squid_validate_reverse() to squid_reverse.inc where it belongs | doktornotor | 2015-10-03 | 1 | -69/+0 | |
| | ||||||
* | Move javascript helpers to a separate file | doktornotor | 2015-10-03 | 1 | -0/+4 | |
| | ||||||
* | Move javascript helpers to a separate file | doktornotor | 2015-10-03 | 1 | -0/+240 | |
| | | | squid.inc is already huge enough as it is, without bloating it even more. | |||||
* | Move javascript helpers to a separate file | doktornotor | 2015-10-03 | 1 | -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 mode | doktornotor | 2015-10-03 | 1 | -1/+0 | |
| | ||||||
* | Sanitize input fields size | doktornotor | 2015-10-03 | 1 | -0/+1 | |
| | ||||||
* | Sanitize input fields size | doktornotor | 2015-10-03 | 1 | -0/+3 | |
| | ||||||
* | Sanitize input fields size | doktornotor | 2015-10-03 | 1 | -1/+2 | |
| | ||||||
* | Do not loop when trying to chown inaccessible directory and log some debug info | doktornotor | 2015-10-03 | 1 | -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. | doktornotor | 2015-10-02 | 1 | -4/+4 | |
| | ||||||
* | Tell reverse proxy users to enable Squid if needed | doktornotor | 2015-10-02 | 1 | -1/+6 | |
| | ||||||
* | Remove unused squid_reverse.xml | doktornotor | 2015-10-02 | 1 | -451/+0 | |
| | | | Some leftover from old versions; this is now moved to squid_reverse_general.xml | |||||
* | Remove unused squid_reverse.xml file | doktornotor | 2015-10-02 | 1 | -4/+0 | |
| | ||||||
* | Comment out the new logic for now, needs more work | doktornotor | 2015-10-02 | 1 | -1/+5 | |
| | ||||||
* | Get rid of remaining PBI rcfiles and handle clamav with write_rcfile | doktornotor | 2015-10-02 | 1 | -2/+3 | |
| | ||||||
* | Get rid of remaining PBI rcfiles and handle clamav with write_rcfile | doktornotor | 2015-10-02 | 1 | -37/+54 | |
| | ||||||
* | Not needed any more and the symlinking misfeature was fixed | doktornotor | 2015-10-02 | 1 | -4/+0 | |
| | ||||||
* | Stop symlinking the damned PBI rcfiles over and over again | doktornotor | 2015-10-02 | 1 | -7/+0 | |
| | ||||||
* | write_rcfile() does not handle custom restart command | doktornotor | 2015-10-02 | 1 | -7/+0 | |
| | ||||||
* | Do not use the c-icap rcfile to stop c-icap when AV is being disabled - the ↵ | doktornotor | 2015-10-01 | 1 | -1/+1 | |
| | | | | rcfile may not exist | |||||
* | Remove useless buggy /etc/rc.conf.local crap | doktornotor | 2015-10-01 | 1 | -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 ↵ | doktornotor | 2015-10-01 | 1 | -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 ↵ | doktornotor | 2015-10-01 | 1 | -1/+1 | |
| | | | | | well Cache is getting always recreated because of strict comparison. | |||||
* | Implement a generic setting to enable/disable Squid services | doktornotor | 2015-10-01 | 1 | -0/+11 | |
| | | | Desperately needed, currently getting rid of configured and running Squid is impossible without uninstalling. |