Re: Original destination of transparent proxied connections?

Rob Landley (telomerase@yahoo.com)
Tue, 3 Apr 2001 09:13:45 -0700 (PDT)


--- Rusty Russell <rusty@rustcorp.com.au> wrote:
> Summary: you had to use a *search engine* to find an
> obscure piece of
> coding information.

Actually, I had to use a search engine to find a
tangentially related howto that halfway through
mentioned something in passing which gave me a clue of
something else to search for that, it turns out,
didn't work anyway. (getsockname() in 2.2 returns the
original destination ip, but not the original
destination port. I had to move to
2.4/netfilter/getsockopt to get that piece of
information.)

And the reason I didn't ask on the netfilter list is I
was originally trying to use 2.2 ipchains, not 2.4
iptables. Didn't think the old stuff was on-topic
there.

> Shocked!
> Rusty.

It still requires pretty good forensic investigation
skills to make it work...

> Premature optmztion is rt of all evl. --DK

Wouldn't that be "Premtur"? :)

Rob

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/