Hi ,
 I think you are using cttproxy for Transparent Spoofing of Cache Server. To
pass client IP, right?
Doing this is done via setsockopt & it is priviledged operation requiring
CAP_NET_ADMIN capabilities to be present in process executing sesockopt.
U need kernel 2.4+ as it provides support for capabilities. package for
linux capabilities is libcap.
-- Atit Jariwala
----- Original Message ----- 
From: "Devdas Bhagat" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 8:48 PM
Subject: Squid and cttproxy


> I am trying to compile squid with the cttproxy patch from
> http://www.balabit.com/downloads/tproxy/linux-2.4/ for Linux kernel 2.4.20
> + RH patches and the squid cttproxy patch from
http://www.scaramanga.co.uk/
> Squid version is Squid-2.5-STABLE4.
>
> The test applications shipped with the kernel patch work fine.
> However, when I make the same setsockopt calls from squid, the call
> fails with EINVAL.
>
> A google search reveals no hits. Could someone point me to a better
> resource/aid me in debugging this please?
> Replies off list.
>
> Thanks in advance.
> Devdas Bhagat
>

Reply via email to