Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2000 13:26:26 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        arch@freebsd.org
Subject:   Re: Suggested change to BSD sockets API
Message-ID:  <20000620132626.09206@hydrogen.funkthat.com>
In-Reply-To: <200006201726.KAA19419@usr01.primenet.com>; from Terry Lambert on Tue, Jun 20, 2000 at 05:26:32PM %2B0000
References:  <200006201726.KAA19419@usr01.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert scribbled this message on Jun 20:
> I'd like to suggest that a new socket binding type be used; one
> that binds not to an IP addres, but to an interface.

how do you handle outbound ip's..  which ip address do you use on an
interface that has 512+ ip's?

> The changes to support this don't seem that difficult; what do
> others think about this?

so, each time a conenction comes in, it gets compared against the list
of sockaddr's attached to the interface?

personally, why not teach the deamons to use kq, and extend the kq
filters to include a network filter that allows you to notice when
sockaddrs on an interface change?  Seems like this would work fine w/o
having to change much kernel code...

also, doesn't gated already get these changes through the routing
socket?  If anything, the userland apps should be smarter, not the
kernel...

-- 
  John-Mark Gurney				Voice: +1 408 975 9651
  Cu Networking
	"Thank God I'm an atheist, that'd just be confusing." -- cmc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000620132626.09206>