From: "Jason Opperisano" <Jopperisano@alphanumeric.com>
To: netfilter@lists.netfilter.org
Subject: RE: REDIRECT to localhost
Date: Wed, 18 Aug 2004 08:37:41 -0400 [thread overview]
Message-ID: <D5C9032B2B09C64EA2409D6214E91AC905129F@asimail2.alphanumeric.com> (raw)
> > As I know, REDIRECT target redirects to the same iface, but on another port.
>
> Nope.
> REDIRECT target redirects to lo interface, on the port you want.
hmmm...i'm not so sure i agree with that. my belief is that REDIRECT redirects to the IP address of the receiving interface of the netfilter machine on the specified port.
i do transparent proxying w/ REDIRECT and squid, and i see all the redirected connections on the IP of the internal interface, not on lo or 127.0.0.1.
i actually just recently learned here that packets arriving on lo that don't have a source and dest of 127.0.0.1 get dropped by the linux kernel's "martian" code (thanks for pointing that out to me)--so i don't see how a redirect of this nature could work.
-j
next reply other threads:[~2004-08-18 12:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-18 12:37 Jason Opperisano [this message]
2004-08-18 13:41 ` REDIRECT to localhost Cedric Blancher
2004-08-18 13:47 ` Cedric Blancher
-- strict thread matches above, loose matches on Subject: below --
2004-08-16 14:17 Jason Opperisano
2004-08-16 11:23 igorpopov
2004-08-16 8:24 Попов Игорь Николаевич
2004-08-16 11:15 ` Ted Kaczmarek
2004-08-17 11:02 ` Igor Popov
2004-08-18 1:21 ` Cedric Blancher
2004-08-18 12:22 ` Ted Kaczmarek
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=D5C9032B2B09C64EA2409D6214E91AC905129F@asimail2.alphanumeric.com \
--to=jopperisano@alphanumeric.com \
--cc=netfilter@lists.netfilter.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;
as well as URLs for NNTP newsgroup(s).