This is a discussion on [squid-users] Re: Squid and cttproxy within the Squid Users forums, part of the Web Server and Related Forums category; Hi , I think you are using cttproxy for Transparent Spoofing of Cache Server. To pass client IP, right? Doing this ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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" <devdas@dvb.homelinux.org> To: <squid-dev@squid-cache.org> 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 > |
![]() |
| Thread Tools | |
| Display Modes | |
|
|