OPNsense Forum

English Forums => Development and Code Review => Topic started by: fabian on February 12, 2016, 03:07:18 pm

Title: ICAP-Support
Post by: fabian on February 12, 2016, 03:07:18 pm
does anyone have a hint why my patch is not working?
https://github.com/opnsense/core/compare/master...fabianfrz:icap_support?expand=1

The generated configuration is valid but it will produce an 403 error on every request.
Authentication is disabled.

Regards

Fabian
Title: Re: ICAP-Support
Post by: domg on February 12, 2016, 08:30:40 pm
Hi Fabian,

I tried your branch icap_support and I think you miss an c-icap server. I tried www/c-icap from pkg.freebsd.org but it only listen on v6, it's a default compilation option.
btw in squid documentation request and response use 1344 port
Title: Re: ICAP-Support
Post by: fabian on February 12, 2016, 09:15:19 pm
Hi domg,

I compiled c-icap by my own and started it on the shell.
BTW: Did it work for you?

Regards

Fabian
Title: Re: ICAP-Support
Post by: domg on February 13, 2016, 01:56:18 am
Hi domg,

I compiled c-icap by my own and started it on the shell.
BTW: Did it work for you?

Regards

Fabian
No success but it needs more configuration with clamav and squidclamav ?
Title: Re: ICAP-Support
Post by: franco on February 22, 2016, 07:38:56 am
Just to give a small update: There seems to be some sort of bug of squid in FreeBSD. Fabian asked me to look at it, but my time is limited at the moment.
Title: Re: ICAP-Support
Post by: fabian on February 26, 2016, 07:42:42 pm
Hi,

I pushed some changes so you can test the changes again if you like:
https://github.com/opnsense/core/pull/796

Kind regards,

Fabian