[Trac #34] FIx sugar with Avahi/ipv6

Zarro Boogs per Child bugtracker at laptop.org
Wed Jan 10 06:46:53 EST 2007


#34: FIx sugar with Avahi/ipv6
------------------------+---------------------------------------------------
 Reporter:  anonymous   |        Owner:  marco   
     Type:  defect      |       Status:  assigned
 Priority:  blocker     |    Milestone:  BTest-3 
Component:  sugar       |   Resolution:          
 Keywords:  sugar-love  |  
------------------------+---------------------------------------------------
Comment (by lathiat):

 I was talking on IRC with marcopg and I just thought i'd chime in with a
 few usefull bits of information

  - Rather than parsing /proc, you could use SIOCGIFCONF (Example:
 http://www-128.ibm.com/developerworks/aix/library/au-ioctl-socket.html)
  - You could also use netlink, I find this far nicer in Avahi not sure how
 easy it is to "one-shot" though.
  - When using Avahi with IPv6, or IPv6 in general watch out for link-local
 addresses, they are special in that when using them you *must* bind to a
 specific interface in order to make use of them (as all interfaces have
 link local addresses, which one to send it out would otherwise be
 ambiguous) -- Avahi can provide the client applications which this
 information. -- Note that IPv4LL IPs do not have this as a *hard*
 requirement but if you had more than 1 interface up it could be usefull.

-- 
Ticket URL: <http://dev.laptop.org/ticket/34#comment:10>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list