Bug #4088
openBuggy squidgurd config file is created
0%
Description
The config file that is generated for squidguard 1.4_4 pkg v.1.9.6 is buggy in two ways, leading to unexpected and dangerous behaviour.
1) Do not write out sources for disabled ACLs, or squidguard treats these
sources as "always pass"!
2) Squidguard doesn't know log statements in the action block for sources in the
acl block.
Patch attached.
Files
Updated by Volker Kuhlmann almost 10 years ago
Issue 1) renders squidguard useless because it bypasses it entirely.
I can't seem to change the bug priority. I was hoping the squidguard package updates actually fix problems :-(
Updated by Kill Bill about 9 years ago
1/ The patch appears incomplete at least regarding #2 - consider https://github.com/pfsense/pfsense-packages/blob/master/config/squidGuard/squidguard_configurator.inc#L1110
2/ Please, submit any fixes as pull requests on GitHub: https://github.com/pfsense/pfsense-packages
Updated by Volker Kuhlmann about 9 years ago
- File squidguard-src-disabled-and-log-statements_1.9.15.diff squidguard-src-disabled-and-log-statements_1.9.15.diff added
If you can't have log statements in ACL blocks then you can't have log statements in ACL blocks, so best to give up on that idea. The case is already been taken care of by the log statement in the dest block, the ACL statements are only about whether to pass the request, whether that is decided by time is irrelevant. As I understand it your objection is invalid.
Do not put unexpected config material into squidguard ever, it is very unpredictable then!
Sorry, no github yet. I have already provided the fix for problems, running patch should be managable. I am attaching a new patch for those who don't want to wait for a substantally broken squidguard to get sorted out.
Updated by Viktor Gurov almost 4 years ago
1) Do not write out sources for disabled ACLs, or squidguard treats these
sources as "always pass"!
fix:
https://gitlab.netgate.com/pfSense/FreeBSD-ports/-/merge_requests/27
Updated by Renato Botelho almost 4 years ago
- Status changed from New to Feedback
- Assignee set to Viktor Gurov
PR has been merged. Thanks!