public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Balazs Scheidler <bazsi@balabit.hu>
To: "Rémi Denis-Courmont" <remi.denis-courmont@nokia.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] [TPROXY] implemented IP_RECVORIGDSTADDR socket option
Date: Thu, 13 Nov 2008 12:37:46 +0100	[thread overview]
Message-ID: <1226576266.7446.13.camel@bzorp.balabit> (raw)
In-Reply-To: <200811131309.10693.remi.denis-courmont@nokia.com>

On Thu, 2008-11-13 at 13:09 +0200, Rémi Denis-Courmont wrote:
> On Thursday 13 November 2008 12:37:04 ext Balazs Scheidler, you wrote:
> > In case UDP traffic is redirected to a local UDP socket,
> > the originally addressed destination address/port
> > cannot be recovered with the in-kernel tproxy.
> >
> > This patch adds an IP_RECVORIGDSTADDR sockopt that enables
> > a IP_ORIGDSTADDR ancillary message in recvmsg(). This
> > ancillary message contains the original destination address/port
> > of the packet being received.
> 
> Does this not duplicate the IP_PKTINFO functionality?
> 

IP_PKTINFO does not have a port number field which may be changed with
tproxy redirections.

-- 
Bazsi



  reply	other threads:[~2008-11-13 11:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13 10:37 [PATCH] [TPROXY] implemented IP_RECVORIGDSTADDR socket option Balazs Scheidler
2008-11-13 11:09 ` Rémi Denis-Courmont
2008-11-13 11:37   ` Balazs Scheidler [this message]
2008-11-13 20:21 ` David Stevens
2008-11-14 12:41   ` Balazs Scheidler
2008-11-17  3:32 ` David Miller

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=1226576266.7446.13.camel@bzorp.balabit \
    --to=bazsi@balabit.hu \
    --cc=netdev@vger.kernel.org \
    --cc=remi.denis-courmont@nokia.com \
    /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