[Babel-users] wanted to map the babel network

Jernej Kos jernej at kos.mx
Sat Jun 13 16:40:29 UTC 2015


Hello!

On 13. 06. 2015 18:30, Dave Taht wrote:
> BABEL 0.0 # but I wanted to get the software version
> add self cake id 16:cc:20:ff:fe:e5:64:c2 # And pry apart what ips were local
> add neighbour 5bb0f8 address fe80::260a:64ff:fecc:247d if wlan1 reach
> dfae rxcost 342 txcost 256 cost 342 # and have no idea what 5bb0f8 is

That is the internal neighbour identifier. By looking at the source code
it seems to be the memory location of the neighbour struct in hex.

BTW, it would be much nicer if one could get the router IDs of all
neighbours instead of only their link-local IP addresses. But I am not
sure if those are even exposed in the protocol messages? The problem is
that without the router IDs you need to keep track of all the link-local
IPs of all the nodes in order to reconstruct the full topology.

> and sorting out what IP's I have would be nice without further thought
> (ihave ip X), but we can derive most of them via just promiscuously
> connecting to every known babel announced ip on the network....

Yeah, link-local addresses of the current node are not reported by
Babel, which means that one needs to get them somewhere else (for
example by querying the interfaces via netlink or getifaddrs).

This is what we currently do in the nodewatcher-agent module for
reporting Babel topology information:

https://github.com/wlanslovenija/nodewatcher-agent/blob/master/modules/routing_babel.c


Jernej

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20150613/40c738a3/attachment.sig>


More information about the Babel-users mailing list