local address announcements

Daniel Schall Daniel-Schall at web.de
Tue Nov 23 20:47:36 CET 2010


My algorithm is able to sign multicast packets only if a key exchange has
occurred before.
(key exchange happens when you first contact the other node.)
Therefore, if you ping the nodes once (over the tinc interface), the keys
should get exchanged and multicast signing should work.
Yes, this is an issue that could easily be improved.

Anyway, the code is still beta, it works most of the time, but I experience
some strange behavior too.
Sometimes, nodes do not see each other, but I did not yet find out, why.

Best,

Daniel

-----Original Message-----
From: folkert [mailto:folkert at vanheusden.com] 
Sent: Tuesday, November 23, 2010 6:15 PM
To: Daniel Schall
Cc: tinc-devel at tinc-vpn.org
Subject: Re: local address announcements

> > > Please note that 192.168.11.1 is the default gateway for both clientbp
> > > and verweg. The 'wan' side of this system is 192.168.0.120.
> > I also see the following:
> 
> What is also strange:

I see messages in the logging that verweg cannot sign a response for
clientbp. Now, as a test, I explicitly added the clientbp keyfile in
/etc/tinc/fvh/hosts and restarted tinc. That didn't help:

root at verweg:/home/folkert# /usr/local/tinc/sbin/tincd --net fvh -D
--debug=65535 2>&1 | grep -e verweg -i -e multicast
Tue Nov 23 18:09:40 2010: Broadcasting packet of 90 bytes from verweg
(MYSELF)
Tue Nov 23 18:09:40 2010: Sending ID to vps001 (94.142.x.174 port 655): 0
verweg 17
Tue Nov 23 18:09:40 2010: Sending ID to server (83.163.x.98 port 655): 0
verweg 17
Tue Nov 23 18:09:40 2010: Sending ADD_SUBNET to server (83.163.x.98 port
655): 10 3470b5bb verweg 12:ed:87:52:b2:ba#10
Tue Nov 23 18:09:40 2010: Sending ADD_EDGE to everyone (BROADCAST): 12
6847de0c verweg server 83.163.x.98 655 f 194
Tue Nov 23 18:09:40 2010: Got ADD_SUBNET from server (83.163.x.98 port 655):
10 737ea09f verweg 92:ea:1:fc:91:31#10
Tue Nov 23 18:09:40 2010: Sending DEL_SUBNET to server (83.163.x.98 port
655): 11 2e46ee36 verweg 92:ea:1:fc:91:31#10
Tue Nov 23 18:09:40 2010: Got ADD_EDGE from server (83.163.x.98 port 655):
12 54cfbfc server verweg 188.204.99.146 655 f 194
Tue Nov 23 18:09:40 2010: Forwarding ADD_EDGE from server (83.163.x.98 port
655): 12 54cfbfc server verweg 188.204.99.146 655 f 194
Tue Nov 23 18:09:40 2010: Sending ANS_KEY to server (83.163.x.98 port 655):
16 verweg server D67F22C6DD3522580404AA6235E68B71DC81A01A5F66F5E4 91 64 4 0
Tue Nov 23 18:09:40 2010:  Adding edge server - verweg weight 194
Tue Nov 23 18:09:40 2010: Got ANS_KEY from server (83.163.x.98 port 655): 16
server verweg 6BC689F1578AC9A5AC9E2C6A80C5E7C47E94920836969D63 91 64 4 11
Tue Nov 23 18:09:40 2010: Broadcasting packet of 78 bytes from verweg
(MYSELF)
Tue Nov 23 18:09:40 2010: Broadcasting packet of 42 bytes from verweg
(MYSELF)
Tue Nov 23 18:09:41 2010: Sending ADD_EDGE to vps001 (94.142.x.174 port
655): 12 78fd2205 server verweg 188.204.99.146 655 f 194
Tue Nov 23 18:09:41 2010: Sending ADD_SUBNET to vps001 (94.142.x.174 port
655): 10 35d814ce verweg 12:ed:87:52:b2:ba#10
Tue Nov 23 18:09:41 2010: Sending ADD_EDGE to vps001 (94.142.x.174 port
655): 12 1d894855 verweg server 83.163.x.98 655 f 194
Tue Nov 23 18:09:41 2010: Sending ADD_EDGE to everyone (BROADCAST): 12
64c5f8fc verweg vps001 94.142.x.174 655 b 1091
Tue Nov 23 18:09:41 2010:  Adding edge server - verweg weight 194
Tue Nov 23 18:09:41 2010: Got ADD_EDGE from vps001 (94.142.x.174 port 655):
12 5510135a server verweg 188.204.99.146 655 f 194
Tue Nov 23 18:09:41 2010: Got ADD_SUBNET from vps001 (94.142.x.174 port
655): 10 cb0d7a5 verweg 12:ed:87:52:b2:ba#10
Tue Nov 23 18:09:41 2010: Got ADD_EDGE from vps001 (94.142.x.174 port 655):
12 2d3cde01 verweg server 83.163.x.98 655 f 194
Tue Nov 23 18:09:41 2010: Got ADD_EDGE from vps001 (94.142.x.174 port 655):
12 3d42f515 vps001 verweg 188.204.99.146 655 b 1091
Tue Nov 23 18:09:41 2010: Forwarding ADD_EDGE from vps001 (94.142.x.174 port
655): 12 3d42f515 vps001 verweg 188.204.99.146 655 b 1091
Tue Nov 23 18:09:41 2010:  Adding edge server - verweg weight 194
Tue Nov 23 18:09:41 2010: Broadcasting packet of 70 bytes from verweg
(MYSELF)
Tue Nov 23 18:09:42 2010: Got ADD_EDGE from server (83.163.x.98 port 655):
12 3d42f515 vps001 verweg 188.204.99.146 655 b 1091
Tue Nov 23 18:09:42 2010: Broadcasting packet of 78 bytes from verweg
(MYSELF)
Tue Nov 23 18:09:42 2010: Unable to sign multicast response to clientbp
Tue Nov 23 18:09:42 2010: Unable to sign multicast response to clientbp
[..]



More information about the tinc-devel mailing list