[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1226576266.7446.13.camel@bzorp.balabit>
Date: Thu, 13 Nov 2008 12:37:46 +0100
From: Balazs Scheidler <bazsi@...abit.hu>
To: Rémi Denis-Courmont
<remi.denis-courmont@...ia.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] [TPROXY] implemented IP_RECVORIGDSTADDR socket option
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists