On Sun, May 25, 2008 at 11:45:19PM -0000, Trent Lloyd wrote:

> Anything that is broken by this is inherently broken, not the Avahi
> setup - and -they- should be fixed.

Er, no, that's nonsense.  Applications that generate network traffic have to
wait for network timeouts as a result of this avahi behavior whenever no
other default route is available - that's not a bug in the application
waiting for network traffic, that's a bug in avahi for asserting that trafic
is routable when it isn't.

The current avahi-autoipd behavior regarding default routes is only
beneficial if:

- the IP you're trying to contact is present on the local link
- your host doesn't have IP routing information configured by some other
  means (e.g., DHCP or static)
- the remote host is configured with a route for link-local addresses
  (Ubuntu with avahi-autoipd is one such implementation, but other
  implementations, particularly older Linux implementations, are not likely
  to be able to answer traffic originating from link-local IPv4 addresses)

This carries with it significant collateral damage:  in order to get any
benefit at all from this default route, the system must also endure network
timeouts when trying to connect to any other host that's not on the local
network.

> The link local default is installed at the lowest preference, and should
> not be used if a better one exists.

The problem is precisely that when this route *is* used (because no other
route exists), it directly causes timeout problems.

> The original bug report was about openswan, what specific problems have
> you had?

My specific issue is with the behavior of network-based user authentication
(Kerberos).  This behavior will definitely cause problems in other use
cases, however, such as for users of autofs.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[EMAIL PROTECTED]                                     [EMAIL PROTECTED]

-- 
avahi-autoipd gives me an useless default route
https://bugs.launchpad.net/bugs/99489
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to