All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian <unixman83@gmail.com>
To: netfilter@vger.kernel.org
Subject: TPROXY getting the remote/destination address via sockets API
Date: Sat, 26 Nov 2011 20:28:04 -0600	[thread overview]
Message-ID: <4ED1A034.9030802@gmail.com> (raw)

Using the latest TPROXY, how does one accurately get the 
destination/remote (and the source/localish) addresses of the 
transparent proxy connection?

I would assume one address would be returned by the accept() call, which 
one, and how do I get the other?

Thanks,
Brian


             reply	other threads:[~2011-11-27  2:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-27  2:28 Brian [this message]
2011-11-27  3:56 ` TPROXY getting the remote/destination address via sockets API Amos Jeffries

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=4ED1A034.9030802@gmail.com \
    --to=unixman83@gmail.com \
    --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 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.