From owner-freebsd-arch Tue Jun 20 13:26:48 2000 Delivered-To: freebsd-arch@freebsd.org Received: from funkthat.com (adsl-63-195-54-213.dsl.snfc21.pacbell.net [63.195.54.213]) by hub.freebsd.org (Postfix) with ESMTP id C870737C148 for ; Tue, 20 Jun 2000 13:26:39 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by funkthat.com (8.9.3/8.8.7) id NAA40729; Tue, 20 Jun 2000 13:26:26 -0700 (PDT) Message-ID: <20000620132626.09206@hydrogen.funkthat.com> Date: Tue, 20 Jun 2000 13:26:26 -0700 From: John-Mark Gurney To: Terry Lambert Cc: arch@freebsd.org Subject: Re: Suggested change to BSD sockets API References: <200006201726.KAA19419@usr01.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <200006201726.KAA19419@usr01.primenet.com>; from Terry Lambert on Tue, Jun 20, 2000 at 05:26:32PM +0000 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.4-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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