aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/34/squid.inc
Commit message (Collapse)AuthorAgeFilesLines
* 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 keep data/settings featuresdoktornotor2015-10-011-25/+74
|
* Code style and whitespace fixesdoktornotor2015-10-011-20/+8
|
* Remove squid_resync_redirector()doktornotor2015-10-011-15/+0
| | | Deprecated dead cruft. See http://www.freshports.org/www/squirm
* Mute rename() to stop spitting out useless junk in console...doktornotor2015-10-011-2/+2
|
* Antivirus GUI behaviour sanitization - first partdoktornotor2015-10-011-0/+42
| | | Use JS to toggle access to different parts of the GUI, depending on whether the users want to configure things by editing config files or via the GUI options.
* Fix C-ICAPdoktornotor2015-10-011-22/+50
|
* Add Google Safe Browsing featuredoktornotor2015-09-301-1/+12
|
* Fix squidclamav.conf.sample handling to match the rest of the config filesdoktornotor2015-09-301-9/+7
|
* Do not do useless checks for freshclam cronjobdoktornotor2015-09-301-5/+1
|
* Code style and comment tweaksdoktornotor2015-09-301-2/+3
|
* When antivirus/C-ICAP is disabled, actually stop and disable related servicesdoktornotor2015-09-301-0/+27
|
* Add freshclam mirror settings, manual AV defs update and cron updatesdoktornotor2015-09-301-9/+94
|
* Patch squidclamav.conf so that is uses WebGUI URL by defaultdoktornotor2015-09-301-2/+2
| | | Stop nagging users with confusing nonsense and make it work out of the box.
* Fix log_dir location for C-ICAP to that it honors custom log_dirdoktornotor2015-09-301-1/+6
|
* Put safety checks here to prevent shooting users from shooting themselves in ↵doktornotor2015-09-301-12/+41
| | | | foot.
* Some additional deinstall cleanupsdoktornotor2015-09-301-14/+7
|
* If disk cache gets disabled, delete the cachedir if it existsdoktornotor2015-09-301-1/+14
|
* Also check for level 1 subdirs in cachedir for proper cache creationdoktornotor2015-09-301-2/+9
|
* Fix squid_dash_z() logic so that it creates cache dir properly when it has ↵doktornotor2015-09-301-5/+5
| | | | changed
* Remove yet another duplicate squid_dash_z() invocation, also don't log ↵doktornotor2015-09-301-3/+1
| | | | unless needed
* Force delete the PBI initscript that keeps creeping backdoktornotor2015-09-301-0/+2
|
* Force Squid shutdown on stopping servicedoktornotor2015-09-301-0/+3
|
* Split disk cache creation to a separate function as welldoktornotor2015-09-301-5/+20
|
* Fix inverted squid_start_monitor() checkdoktornotor2015-09-301-1/+1
|
* split Squid services monitoring/handling to separate functionsdoktornotor2015-09-301-18/+39
|
* squid3 - fix squid_dash_z() so that cache dir gets created on package installdoktornotor2015-09-301-14/+15
| | | Also, don't try to kill Squid needlessly if not running.
* squid3 - clean up after itself on uninstalldoktornotor2015-09-301-14/+61
|
* Only try to stop Squid if running to prevent useless logspamdoktornotor2015-09-301-2/+4
|
* Stop creating log_dir here to avoid stupid recursive chown on / bugdoktornotor2015-09-301-14/+1
| | | It's been already done squid_resync_general() in the first place, not needed at all. Leaving the squid_chown_recursive() safety checks in place, certainly good this to have here regardless.
* Add safety belts to squid3 chown function to stop it from breaking the ↵jim-p2015-09-291-3/+4
| | | | entire filesystem.
* Fix log_dir config checkdoktornotor2015-09-271-1/+1
|
* Honor logdir settings for reverse proxy as well; always provide a default ↵doktornotor2015-09-271-3/+8
| | | | value if not configured
* sanitize squid3 package install processdoktornotor2015-09-271-41/+32
| | | | | - On package install, custom_php_resync_config_command is automatically called. There is no need to call it yet again. - When squid_resync() is called on install, logdir will get created if needed, cache dir will get set up as needed via squid_dash_z(), and finally firewall will get reconfigured. There is absolutely no need to setup cache 4 times, there is also definitely no need to reconfigure filter 3 times and no need to restart the services (at least) 3 times in one minute. This seriously confuses Squid3 and breaks things, as in Bug #4857 - Finally, modify squid_resync() so that it only (re)starts services if Squid3 is actually enabled, and stops them otherwise
* make a backup of default c-icap config file on installdoktornotor2015-09-261-0/+7
|
* Fix broken c-icap.conf handling, fix c-icap logs handling (Bug #4615)doktornotor2015-09-261-9/+21
|
* Sanitize the cache clear/swapstate rotate cronjobdoktornotor2015-09-261-1/+1
| | | This absolutely should NOT be run every 15 minutes, completely insane.
* Remove broken squid_before_form_general() functiondoktornotor2015-09-251-36/+0
|
* Sanitize memory_cache_size and maximum_object_size_in_memory defaults closer ↵doktornotor2015-09-251-2/+2
| | | | to upstream
* Fix maximum_object_size to match the described default and upstream ↵doktornotor2015-09-251-1/+1
| | | | recommended value
* Fix quick_abort_min input validation to conform to Squid documentationdoktornotor2015-09-251-2/+2
| | | -1 is a legal value here, meaning always finish the retrieval.
* squid3 - code style fixesdoktornotor2015-09-241-675/+785
|
* squid3 - fix default value handling for antivirus client forward options ↵doktornotor2015-09-241-0/+1
| | | | (Bug #4663)
* squid3 - disable broken Youtube caching featuredoktornotor2015-09-181-1/+3
| | | Broken (Bug #3847) and not working anyway because of how YT works (http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube#Discussion)
* Fix typo breaking squidantivirus XMLRPC sync (Bug #4452)doktornotor2015-09-181-1/+1
|