local address announcements

folkert folkert at vanheusden.com
Tue Nov 23 16:39:49 CET 2010


> > you can find the current version of my enhanced tinc using subversion:
> > svn://tardyon.mon-clan.de/tinc
> > I allowed anonymous read access, so feel free to download the sources.
> > Unfortunately, my enhancements are based on a rather old git-checkout 
> > from Guus.
> > The version should run under windows and Debian/Ubuntu.

It spits out some errors. Also doesn't seem to work.
Debian system.
Replaced line 313 by:
	logger(LOG_ERR, "getifaddrs: Call to %s (%s) failed: %s", "SIOCGIFFLAGS", inet_ntoa(((struct sockaddr_in *)&ifr -> ifr_ifru.ifru_addr) -> sin_addr), strerror(errno));

Logging output is:
Nov 23 16:35:17 verweg tinc.fvh[22417]: tincd 1.0.13+git (Nov 23 2010 16:17:50) starting, debug level 0
Nov 23 16:35:17 verweg tinc.fvh[22417]: /dev/net/tun is a Linux tun/tap device (tap mode)
Nov 23 16:35:17 verweg tinc.fvh[22417]: Ready
Nov 23 16:35:17 verweg tinc.fvh[22417]: getifaddrs: Call to SIOCGIFFLAGS (0.0.0.0) failed: No such device
Nov 23 16:35:17 verweg tinc.fvh[22417]: bind_multicast_sockets: Call to getifaddrs failed
...
Nov 23 16:37:19 verweg tinc.fvh[22417]: getifaddrs: Call to SIOCGIFFLAGS (0.0.0.0) failed: No such device
Nov 23 16:37:19 verweg tinc.fvh[22417]: bind_multicast_sockets: Call to getifaddrs failed
...etc...

The system only has eth0, lo and of course the tinc device.


Folkert van Heusden

-- 
Multitail est un outil permettant la visualisation de fichiers de
journalisation et/ou le suivi de l'exécution de commandes. Filtrage,
mise en couleur de mot-clé, fusions, visualisation de différences
(diff-view), etc.  http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com


More information about the tinc-devel mailing list