Re: [squid-users] WARNING: accept_filter not supported on your OS

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 28 Nov 2012 19:36:52 +1300

On 28/11/2012 4:24 p.m., Le Trung, Kien wrote:
> Hi,
>
> Could anyone get accept_filter working on CentOS 6.3 with squid-3.2.3 ?
>
> I have already got squid-3.1.18 working properly on CentOS 5.5.
>
> Start Squid with -d9 I got this:
> 2012/11/28 09:19:22 kid1| WARNING: accept_filter not supported on your OS
>
>

It looks like a amissing include has caused accept_filter to be
disabled. Try adding this to src/comm/TcpAcceptor.cc and re-building Squid:

   #include <netinet/tcp.h>

Amos
Received on Wed Nov 28 2012 - 06:37:05 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 28 2012 - 12:00:05 MST