Subject: Re: Flag to exclude an interface from INADDR_ANY?
To: None <tech-net@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-net
Date: 01/03/2002 08:17:07
>>> After that you need to start on individual programs, like
>>> portmapper, lockd & statd.
>> This is the other reason I didn't mention it: you'd need a
>> portmapper that supports split registration.
> Does portmapper support split registration or do you start one per IP
> address that you wish to serve differently?

You need a portmapper that supports split registration, if a program
can ever do multiple addresses with one socket, because it will then
expect to register only once, not once per address.

> Also, it would be nice if you could ask the kernel what address an
> incoming UDP packet had "connected" with.

Yeah.  I think that's most of the reason bind uses one socket per local
address rather than an INADDR_ANY socket.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B