From: Brian G <unixman83@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: How to get access to NAT info from userland
Date: Sat, 02 Apr 2011 03:23:42 -0500 [thread overview]
Message-ID: <4D96DD0E.4020404@gmail.com> (raw)
I have a socket, IPv4. It is being transparent proxied to userland via a
REDIRECT NAT target.
Is there any getsocketopt() or any syscall so I can get the REAL
destination address off this socket from userland?
If not, I still need to know the TRUE DESTINATION when using a
transparent proxy so I know where to send to request. What needs to
added to the kernel (e.g. like an iptables TARGET) to get this info.
- Brian G
next reply other threads:[~2011-04-02 8:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-02 8:23 Brian G [this message]
[not found] ` <AANLkTi=U8KZ_=ckSJ9yrqsTdG=L3tgtzLcDQ58mS=eRM@mail.gmail.com>
2011-04-03 0:07 ` How to get access to NAT info from userland Brian G
2011-04-14 7:03 ` Jan Engelhardt
2011-04-14 7:12 ` Brian G
2011-04-14 7:18 ` Jan Engelhardt
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=4D96DD0E.4020404@gmail.com \
--to=unixman83@gmail.com \
--cc=netfilter-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.