houseofopf.blogg.se

C icap client
C icap client












c icap client

You can test it by running the following commands: The clamd needs to modified for the correct Socket Location:Ĭlamd_mod.ClamdSocket /var/run/clamav/clamd.sock You already have the c-icap config open so at the end of the file add: Now we need to add the virus scan module. configure -with-c-icap=/usr/local/c-icap -prefix=/usr/local/c-icap make make install vim /usr/local/c-icap/etc/nf Tar xvf c_icap_modules-x.x.x.tar.gz cd c_icap-x.x.x.

c icap client

This was taken from one of the links below but I had to modify it to make it work with changes in a recent update to the project.Ĭhkconfig -add c-icap chkconfig c-icap on & rm -f $PID_DIR/c-icap.pid /var/lock/subsys/c-icapĮcho $"Usage: $0 " # description: c-icap is an implementation of an ICAP server.ĬONFIG_FILE=/usr/local/c-icap/etc/nfĭaemon /usr/local/c-icap/bin/c-icap -f $CONFIG_FILE If you want to create a c-icap service do the following: This is assuming you already have clamav installed and working. Next we need to configure the module to scan using clamav. If everything is correct, it should start up. usr/local/c-icap/share/c_icap/templates/ Is wrong also and needs to be changed to: Wrong: ServicesDir /usr/local/c-icap/lib/c_icap.The ServicesDir is wrong and needs to be changed to: The ModulesDir is wrong and needs to be changed to: Under ServerName: Enter your hostname of the server configure -prefix=/usr/local/c-icap make make install vim /usr/local/c-icap/etc/nf Tar xvf c_icap-x.x.x.tar.gz cd c_icap-x.x.x. I built this from multiple articles that are linked some where on here.














C icap client