Commit Graph

10 Commits

Author SHA1 Message Date
Luca Deri
1c7b14995b When multiple supernodes are specified, the edge registers to all of them 2018-09-29 13:08:01 +02:00
Luca Deri
3acd7a0e89 Implemented local peer discovery over multicast. In case two peers are on the same network
edge detects it and bypsses the supernode

deri@Lucas-iMac.local 132> ping 192.168.254.126
PING 192.168.254.126 (192.168.254.126): 56 data bytes
64 bytes from 192.168.254.126: icmp_seq=0 ttl=64 time=84.314 ms <<== via supernode
64 bytes from 192.168.254.126: icmp_seq=1 ttl=64 time=0.989 ms <<== local network announce detected
64 bytes from 192.168.254.126: icmp_seq=2 ttl=64 time=0.642 ms
64 bytes from 192.168.254.126: icmp_seq=3 ttl=64 time=0.727 ms
^C
--- 192.168.254.126 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.642/21.668/84.314/36.169 ms
2018-09-29 10:03:28 +00:00
Luca Deri
57b728a4dd Improved multicast edge registation 2018-09-29 11:19:36 +02:00
Luca Deri
dd899b3a4d Initial work for local multicast registering (work in progress) 2018-09-28 22:32:36 +00:00
Luca Deri
fd356cde64 Added the ability to specify (-c) on the supernode the list of allowed communities
kill -HUP on the supernode lists the registered edges
2018-09-28 22:31:45 +02:00
Luca Deri
1888a0c55a Merge of https://github.com/ntop/n2n/pull/26 2018-08-17 14:27:11 +02:00
switch_st
8c608ec3c4 bug fix 2018-06-26 15:25:32 +08:00
switch_st
463538a8df Add support for Android 2018-06-12 02:59:13 +08:00
Luca Deri
b6fdae38b9 Added termination variable to edge loop 2018-06-08 12:01:03 +02:00
Luca Deri
b00f329a31 Code cleanup 2018-06-08 08:19:06 +02:00