Bug #8832
closed
- Priority changed from Normal to Normal-package
- Project changed from pfSense to pfSense Packages
- Category set to Squid
- Target version deleted (
2.4.4)
Confirmed the above fix is still functional in 2.4.4r but the default package is still broken.
As a workaround you can enable the advanced settings in the antivirus tab and make that change to the c-icap.conf file there. It then survives other changes.
If the FreeBSD port is wrong, though, it should be fixed upstream. Then we wouldn't need to make any changes.
Someone installing c-icap on FreeBSD will get an incorrect example config to start with.
Hi Jim,
the guy from the mailing list is me.
The "Listen" directive was removed from 0.4 to 0.5.
Upstream port should be fine.
We also had the same problem and switched in templating1. No idea how you guys at pfsense do this.
Hope this helps you to fix it.
Michael
[1]https://github.com/opnsense/plugins/pull/658/files
The upstream port is not fine. See the file I linked. The FreeBSD port is explicitly adding the ListenAddress directive to the default c-icap.conf which is deprecated.
We can certainly fix it by altering the c-icap config, sure, but the FreeBSD port would still have a broken default config. I'd like to see a fix upstreamed no matter what we choose to do here.
Attached is a patch to fix the c-icap FreeBSD port default config to use the correct current syntax.
- Status changed from New to Feedback
- Assignee set to Jim Pingle
This should be fixed now. Update the squid package and it should pick up the c-icap update and then work as expected. If that fails, remove the squid package and then install it again.
upgraded to squid 0.4.44_5 but c-icap is still not starting.
- Status changed from Feedback to Resolved
Uninstall squid and then reinstall. If it still won't start, then it's not this issue. Start a new thread on the forum to discuss the issue and gather details about what is happening in your environment.
Also available in: Atom
PDF