Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stop creating log_dir here to avoid stupid recursive chown on / bug | doktornotor | 2015-09-30 | 1 | -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-p | 2015-09-29 | 1 | -3/+4 |
| | | | | entire filesystem. | ||||
* | Fix log_dir config check | doktornotor | 2015-09-27 | 1 | -1/+1 |
| | |||||
* | Honor logdir settings for reverse proxy as well; always provide a default ↵ | doktornotor | 2015-09-27 | 1 | -3/+8 |
| | | | | value if not configured | ||||
* | sanitize squid3 package install process | doktornotor | 2015-09-27 | 1 | -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 install | doktornotor | 2015-09-26 | 1 | -0/+7 |
| | |||||
* | Fix broken c-icap.conf handling, fix c-icap logs handling (Bug #4615) | doktornotor | 2015-09-26 | 1 | -9/+21 |
| | |||||
* | Sanitize the cache clear/swapstate rotate cronjob | doktornotor | 2015-09-26 | 1 | -1/+1 |
| | | | This absolutely should NOT be run every 15 minutes, completely insane. | ||||
* | Remove broken squid_before_form_general() function | doktornotor | 2015-09-25 | 1 | -36/+0 |
| | |||||
* | Sanitize memory_cache_size and maximum_object_size_in_memory defaults closer ↵ | doktornotor | 2015-09-25 | 1 | -2/+2 |
| | | | | to upstream | ||||
* | Fix maximum_object_size to match the described default and upstream ↵ | doktornotor | 2015-09-25 | 1 | -1/+1 |
| | | | | recommended value | ||||
* | Fix quick_abort_min input validation to conform to Squid documentation | doktornotor | 2015-09-25 | 1 | -2/+2 |
| | | | -1 is a legal value here, meaning always finish the retrieval. | ||||
* | squid3 - code style fixes | doktornotor | 2015-09-24 | 1 | -675/+785 |
| | |||||
* | squid3 - fix default value handling for antivirus client forward options ↵ | doktornotor | 2015-09-24 | 1 | -0/+1 |
| | | | | (Bug #4663) | ||||
* | squid3 - disable broken Youtube caching feature | doktornotor | 2015-09-18 | 1 | -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) | doktornotor | 2015-09-18 | 1 | -1/+1 |
| | |||||
* | squid3 - move min/max_object_size directives (Bug #5154) | doktornotor | 2015-09-18 | 1 | -1/+1 |
| | |||||
* | squid pinger helper needs to be suid root (Bug #5114) | doktornotor | 2015-09-11 | 1 | -2/+2 |
| | |||||
* | squid3 - fix inverted boot check | doktornotor | 2015-09-10 | 1 | -1/+1 |
| | |||||
* | do not silence errors with chmod | doktornotor | 2015-09-09 | 1 | -2/+2 |
| | |||||
* | Squid3 - squid pinger helper needs to be suid root (Bug #5114) | doktornotor | 2015-09-09 | 1 | -5/+6 |
| | |||||
* | fix another bogus boot check | doktornotor | 2015-09-08 | 1 | -2/+3 |
| | |||||
* | squid3 - use install_cron_job() instead of reimplementing it | doktornotor | 2015-09-04 | 1 | -73/+17 |
| | | | Also, use platform_booting() for boot check. | ||||
* | squid3 - fix a bunch of invalid chmod() calls - fixes Bug #4885 | doktornotor | 2015-08-25 | 1 | -4/+4 |
| | |||||
* | Remove extra \n | Renato Botelho | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | Remove old break from switch -> if conversion | Renato Botelho | 2015-05-06 | 1 | -2/+0 |
| | |||||
* | Add more notes | Renato Botelho | 2015-05-06 | 1 | -0/+3 |
| | |||||
* | Simplify logic | Renato Botelho | 2015-05-06 | 1 | -5/+3 |
| | |||||
* | Simplify logic | Renato Botelho | 2015-05-06 | 1 | -2/+5 |
| | |||||
* | Use if instead of switch/case statement for boolean test | Renato Botelho | 2015-05-06 | 1 | -3/+2 |
| | |||||
* | Use is_numericint() in places we need a positive number | Renato Botelho | 2015-05-06 | 1 | -9/+9 |
| | |||||
* | Simplify logic | Renato Botelho | 2015-05-06 | 1 | -16/+17 |
| | |||||
* | Simplify logic | Renato Botelho | 2015-05-06 | 1 | -13/+14 |
| | |||||
* | Add a note about intl error files | Renato Botelho | 2015-05-06 | 1 | -0/+10 |
| | |||||
* | SQUID_CONFBASE is inside SQUID_BASE, create SQUID_CONFBASE recursively is ↵ | Renato Botelho | 2015-05-06 | 1 | -4/+0 |
| | | | | enough. Also remove redundant chown() and chgrp() | ||||
* | Remove unused SQUID_LIB | Renato Botelho | 2015-05-06 | 1 | -3/+0 |
| | |||||
* | Replace some exec() calls by proper functions | Renato Botelho | 2015-05-06 | 1 | -3/+5 |
| | |||||
* | Install check_ip.php direct to /usr/local/bin, and, on 2.2, create a symlink ↵ | Renato Botelho | 2015-05-06 | 1 | -2/+4 |
| | | | | inside PBI directory | ||||
* | Check if cachedir exist before try to rename it | Renato Botelho | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | Do not mess clamav user account on 2.3+ | Renato Botelho | 2015-05-06 | 1 | -0/+3 |
| | |||||
* | Declare pfs_version as global so it can be used later | Renato Botelho | 2015-05-06 | 1 | -0/+1 |
| | |||||
* | Refactory squid_get_real_interface_address keeping result the same but using ↵ | Renato Botelho | 2015-05-05 | 1 | -6/+3 |
| | | | | pfSense generic functions instead of calling ifconfig | ||||
* | Respect SQUID_[UG]ID | Renato Botelho | 2015-05-05 | 1 | -12/+15 |
| | |||||
* | Add a safebelt to avoid changing /usr/local permissions | Renato Botelho | 2015-05-05 | 1 | -0/+3 |
| | |||||
* | Respect SQUID_[UG]ID | Renato Botelho | 2015-05-05 | 1 | -2/+2 |
| | |||||
* | Respect SQUID_[UG]ID and use chmod() | Renato Botelho | 2015-05-05 | 1 | -3/+3 |
| | |||||
* | We just created directory, no need for recursive chown call | Renato Botelho | 2015-05-05 | 1 | -3/+3 |
| | |||||
* | Replace all calls to make_dirs() by mkdir with mode 0755 and recursive enabled | Renato Botelho | 2015-05-05 | 1 | -7/+7 |
| | |||||
* | Add SQUID_UID and SQUID_GID preparing it to use default user on 2.3+ | Renato Botelho | 2015-05-05 | 1 | -0/+4 |
| | |||||
* | Use SQUID_CONFFILE | Renato Botelho | 2015-05-05 | 1 | -1/+1 |
| |