Re: kern/38554: changing interface ipaddress doesn't seem to work

From: Andre Oppermann (andre_at_freebsd.org)
Date: 07/03/04

  • Next message: Franz Klaus: "RE: go to the Internet by through a plip link?"
    Date: Sat, 03 Jul 2004 10:34:58 +0200
    To: Bruce M Simpson <bms@spc.org>
    
    

    Bruce M Simpson wrote:
    >
    > Please review the attached patch (which is a reworking of Archie's
    > patch for -CURRENT). When the underlying IP address is changed,
    > wildcard-bound UDP sockets which are temporarily bound locally for

    UDP socket which are not bound to a particular IP address would do the
    right thing already? I thought so.

    > a sendto() (by userland apps such as ntp, syslogd etc) will begin
    > using the new IP address, whilst apps using TCP (ssh, Quagga bgpd) will
    > error out with EADDRINUSE.

    This error is misleading. The address is gone, not in use. Isn't there
    a better fit?

    > I would appreciate any feedback on our adopting this behaviour (which
    > strikes me as similar to that of Solaris and a few other OSes).

    I have only quickly glanced over it, but it sounds the right thing to
    do.

    -- 
    Andre
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Franz Klaus: "RE: go to the Internet by through a plip link?"

    Relevant Pages