[2.4.x] Squid/ClamAV: Fix for C-ICAP 0.5.x not starting

  • Currently running pfSense 2.4.4-DEV snapshot, I found a problem where Squid+ClamAV would not work. Specifically, c-icap would not start.

    If you were to start c-icap manually as instructed on the rc.d unit, you'd meet this error:

    [2.4.4-DEVELOPMENT][root@pfsense]/usr/local/bin: c-icap -D -d 9
    Fatal error while parsing config file: "/usr/local/etc/c-icap/c-icap.conf" line: 134
    The line is: ListenAddress

    Googling, you'd find this: https://sourceforge.net/p/c-icap/mailman/message/36379708/

    It seems, on 0.5.x, ListenAddress has been removed in favor of the Port statement.
    To fix C-ICAP, you must:

    1. Remove ListenAddress statement on line 134 of c-icap.conf
    2. Replace Port 1344 statement on line 142 of c-icap.conf with Port
    3. To prevent pfSense from overwriting, chmod -w that file to prevent writes to it.

    Hopefully this helps someone. :)

  • Thanks jvelez,

    I always thought that there has been something wrong with my config. c-icap didn't start anymore.
    The recommended changes I made via GUI by selecting Services -> Squid -> Antivirus selecting: Enable Manual Configuration to enabled, load advanced, show advanced and editing c-icap.conf.

  • Administrator

    Please file a bug on Redmine.pfsense.org


© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy