Commit Graph

70 Commits

Author SHA1 Message Date
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
cb9e758d58 Fixes #41 2018-09-22 09:08:58 +02:00
Luca Deri
68cb96eb01
Merge pull request #37 from farrokhi/dev
Fix build on FreeBSD
2018-09-01 18:07:44 +02:00
Babak Farrokhi
b2a1c4a9f4 Fix a few leftover instances which used the old function name 2018-08-18 11:42:22 +04:30
Babak Farrokhi
79f2e526ef We may use alternative computers (i.e. CLANG) on hosts on which GCC is not the default compiler 2018-08-18 11:40:03 +04:30
Luca Deri
7aac05df08 Added changelog file 2018-08-17 14:47:37 +02:00
Luca Deri
1888a0c55a Merge of https://github.com/ntop/n2n/pull/26 2018-08-17 14:27:11 +02:00
Luca Deri
b877f2dd1c Merge of https://github.com/ntop/n2n/pull/33 2018-08-17 14:25:35 +02:00
Luca Deri
e4d99cb6f0 Moved to 2.5
Fixed warning
2018-08-17 14:14:48 +02:00
Luca Deri
30e7a700c0 File rename 2018-08-17 12:56:47 +02:00
Luca Deri
9671bf3e9b Added package sign
Added ubuntu symlink
2018-08-17 12:43:52 +02:00
Luca Deri
6e62052eb0 Added centos packaging 2018-08-17 12:41:39 +02:00
Luca Deri
d299d558ac Packaging and parameter parsing fixes 2018-08-17 10:17:09 +02:00
Alfredo Cardigliano
e1c32b588a using conf files /etc/n2n/{edge,supernode} in systemd, sample configuration files, packages fixes 2018-08-16 16:11:12 +02:00
Alfredo Cardigliano
30c1ef9ebc supernode is now able to read options from a configuration file with 'supernode <file>' 2018-08-16 15:08:33 +02:00
Alfredo Cardigliano
18186cff4d edge now reads a configuration file with 'edge <file>'
format of each line in the configuration file: '<option>{ ,=}<value>'
use '#' to comment out lines
2018-08-16 12:06:22 +02:00
Luca Deri
fcd5dc86a5 Fixed #32
Minor help fixes
2018-08-08 17:46:39 +02:00
Luca Deri
76b005dffd
Merge pull request #23 from moshengrenzenme/master
Update edge.service.in
2018-07-13 23:48:57 +02:00
Luca
b34c4a3d42 Cosmetic changes in help 2018-07-04 05:35:21 +02:00
moshengrenzenme
9dd8375744
Update edge.service.in 2018-07-03 23:39:16 +08:00
Luca Deri
1caa630568
Merge pull request #15 from switch-iot/pr2ntop
Bug fixes for Android support code
2018-06-26 14:11:39 +02:00
switch_st
8c608ec3c4 bug fix 2018-06-26 15:25:32 +08:00
Luca Deri
35815e5357 Android build instructions 2018-06-22 10:31:27 +02:00
Luca Deri
3b3e71988a
Fixed -f explanation 2018-06-22 10:29:32 +02:00
Luca Deri
da1123ce26 README update 2018-06-22 10:12:41 +02:00
Luca Deri
6475bd7202 Updated README 2018-06-22 10:11:30 +02:00
Luca Deri
76bce0f808 Package update 2018-06-22 09:48:33 +02:00
Luca Deri
c164d2b208 Reworked debian/ubuntu packaging 2018-06-20 20:23:28 +02:00
switchwang
81b23397f4 bug fix 2018-06-20 13:53:50 +08:00
switch
d89c60d8b6
Merge pull request #3 from ntop/master
sync n2n
2018-06-19 18:29:41 +08:00
Luca Deri
29de24c5d9 Trace lines are now shorter 2018-06-14 12:30:38 +02:00
Luca Deri
6c611ea306 Fixed cmake
Minor code cleanup
2018-06-14 11:44:10 +02:00
Luca Deri
18cd80e35d
Merge pull request #14 from switch-iot/pr2ntop
Add support for Android. And an Android app example.
2018-06-13 14:49:37 +02:00
switch
42632795c9
bug fix 2018-06-12 04:14:43 +08:00
switch_st
2dd3f8e878 Add Android app example 2018-06-12 03:00:46 +08:00
switch_st
463538a8df Add support for Android 2018-06-12 02:59:13 +08:00
switch
63c8b67ab9
Merge pull request #2 from ntop/master
sync n2n
2018-06-10 03:37:42 +08:00
Luca Deri
ae815c22e2 C++ fixes 2018-06-08 14:01:33 +02:00
Luca Deri
b6fdae38b9 Added termination variable to edge loop 2018-06-08 12:01:03 +02:00
Luca Deri
828ae8316c Renamed n2n.a -> libn2n.a 2018-06-08 11:26:25 +02:00
Luca Deri
73cd299275 Moved to 2.3.x release 2018-06-08 08:21:27 +02:00
Luca Deri
1893ad549b Simple example application that shows how to easily embed the edge onto a use app 2018-06-08 08:19:46 +02:00
Luca Deri
b00f329a31 Code cleanup 2018-06-08 08:19:06 +02:00
switch
0f5faada07
Merge pull request #1 from ntop/master
sync n2n
2018-06-08 10:29:36 +08:00
Luca Deri
27c10a1fb8 Fix for #6 2018-06-08 00:22:36 +02:00
Luca Deri
85ac185781 Code rework 2018-06-08 00:17:42 +02:00
Luca Deri
41401a131f Minor code cleanup 2018-06-07 21:45:33 +02:00