[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 10 Oct 2011 17:25:24 +0200
From: Olaf van der Spek <ml@...pek.org>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Josh Boyer <jwboyer@...hat.com>, Joel Sing <jsing@...gle.com>,
Julian Anastasov <ja@....bg>, netdev@...r.kernel.org,
francis.souyri@...c.fr
Subject: Re: loopback IP alias breaks tftp?
On Mon, Oct 10, 2011 at 5:22 PM, Eric Dumazet <eric.dumazet@...il.com> wrote:
>> Isn't that a bad way to work around this issue?
>> It'd require you to duplicate your IP config for every daemon that
>> listens on UDP interfaces.
>> What about IP addresses that are added/deleted after the daemon is launchad?
>>
>> Olaf
>
> Thats a pretty common problem, even prior to discussed commit.
>
> If you take a look at common UDP daemons, they have to setup a listener
> for each IP address, OR use the correct API ( setsockopt(fd, IPPROTO_IP,
> &on, sizeof(on)) and handle IP_PKTINFO ancillary message)
Only the latter solution seems right.
Olaf
--
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