netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
To: vda@port.imtp.ilyichevsk.odessa.ua
Cc: netdev@oss.sgi.com, linux-net@vger.kernel.org, davem@redhat.com,
	pekkas@netcore.fi, jmorris@redhat.com,
	linux-kernel@vger.kernel.org, yoshfuji@linux-ipv6.org
Subject: Re: UDP sockets bound to ANY send answers with wrong src ip address
Date: Wed, 09 Jun 2004 21:24:30 +0900 (JST)	[thread overview]
Message-ID: <20040609.212430.123946645.yoshfuji@linux-ipv6.org> (raw)
In-Reply-To: <200406091425.39324.vda@port.imtp.ilyichevsk.odessa.ua>

In article <200406091425.39324.vda@port.imtp.ilyichevsk.odessa.ua> (at Wed, 9 Jun 2004 14:25:39 +0300), Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> says:

> I observe that UDP sockets listening on ANY
> send response packets with ip addr derived from
> ip address of interface which is used to send 'em
> instead of using dst ip address of client's packet.

use IP_PKTINFO when responding the client.

--yoshfuji

  parent reply	other threads:[~2004-06-09 12:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09 11:25 UDP sockets bound to ANY send answers with wrong src ip address Denis Vlasenko
2004-06-09 12:18 ` Julian Anastasov
2004-06-09 12:45   ` Denis Vlasenko
2004-06-09 12:20 ` Martijn van Oosterhout
2004-06-09 12:24 ` YOSHIFUJI Hideaki / 吉藤英明 [this message]
2004-06-11  9:30   ` Denis Vlasenko
2004-06-11 10:34     ` Herbert Xu
2004-06-11 12:27       ` Denis Vlasenko
2004-06-11 13:53         ` Julian Anastasov
2004-06-12 22:08           ` Denis Vlasenko

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=20040609.212430.123946645.yoshfuji@linux-ipv6.org \
    --to=yoshfuji@linux-ipv6.org \
    --cc=davem@redhat.com \
    --cc=jmorris@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=pekkas@netcore.fi \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /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;
as well as URLs for NNTP newsgroup(s).