Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Sebastian Roemer <tengaman@wolke7.net>
To: netfilter@vger.kernel.org
Subject: [SOLVED] But how then does a transparent proxy works?
Date: Sat, 21 Feb 2009 18:48:00 +0100	[thread overview]
Message-ID: <20090221174800.GA3260@localhost> (raw)
In-Reply-To: <20090221115959.GA2531@localhost>

I've found some hints

http://tldp.org/HOWTO/TransparentProxy-4.html:
>The reason is that the mechanism by which the process determines the
>original destination address has changed from linux 2.2, and only
>squid-2.4 has this new code in it. (For those of you who are interested,
>previously the getsockname() call was hacked to provide the original
>destination address, but now the call is getsockopt() with a level of
>SOL_IP and an option of SO_ORIGINAL_DST). 

http://wiki.squid-cache.org/SquidFaq/InterceptionProxy:
>You can usually manually configure browsers to connect to the IP address
>and port which you have specified as intercepted. The only drawback is
>that there will be a very slight (and probably unnoticeable) performance
>hit as a syscall done to see if the connection is intercepted. If no
>interception state is found it is processed just like a normal
>connection.

Thanks for your patience
Sebastian R.

      reply	other threads:[~2009-02-21 17:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-21  0:27 What does the redirect target in detail? Sebastian Roemer
2009-02-21  4:11 ` Jorge Dávila
2009-02-21 11:59   ` But how then does a transparent proxy works? Sebastian R.
2009-02-21 17:48     ` Sebastian Roemer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090221174800.GA3260@localhost \
    --to=tengaman@wolke7.net \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox