Logan oos Even
dd41689bb9
added supernode version and uptime information to edge management port output ( #796 )
3 years ago
Logan oos Even
593387fe30
compile fix ( #794 )
3 years ago
Hamish Coleman
370ea9bd37
addressed all but one of the remaining compile warnings ( #793 )
* Fix the mismatched char, uint8_t warnings
* Ensure we leave room for zero termination and then ensure the string is terminated
* GCC has a warning if it thinks your could overflow your snprintf buffer, but dont check for said overflow
3 years ago
Logan oos Even
9c22d28562
relocated 'detect_local_ip_address()' ( #791 )
3 years ago
Hamish Coleman
6b353141b4
addressed warnings ( #790 )
3 years ago
Logan oos Even
72d703c449
disabled edge's multicast peer detection if used with '-e' ( #783 )
3 years ago
Logan oos Even
b3bf36f867
separated 'detect_local_ip_address()' function ( #781 )
3 years ago
Logan oos Even
7f1fe9a499
allowed edge to optionally auto-detetct local IP address ('-e auto') for advertising as preferred ( #776 )
3 years ago
Logan oos Even
defad50f87
removed '-p' cli option requirement for ( #775 )
3 years ago
Logan oos Even
7fa0cc1e0a
added preferred socket handling (-e) ( #765 )
3 years ago
Logan oos Even
04d91f84d8
fixed optional SKIP_MULTICAST_PEERS_DISCOVERY macro ( #770 )
3 years ago
Logan oos Even
236b9bf4c7
fixed missing gratuitous arp ( #769 )
3 years ago
Logan oos Even
b6e865aac7
trimmed open_socket() down by one parameter ( #768 )
3 years ago
Logan oos Even
e13c9a01a5
rearranged thread-related code ( #761 )
3 years ago
Logan oos Even
f6eb1377ec
reviewed log messages ( #744 )
3 years ago
Logan oos Even
c21accc2a1
enabled edge to bind to a specified IP address (-b) ( #753 )
3 years ago
Logan oos Even
e09f3a4875
added federation support to user/password auth scheme ( #741 )
3 years ago
Logan oos Even
c35129b8e2
added 'reload_communities' command to supernode management port ( #740 )
3 years ago
Logan oos Even
84d0991977
fortified user/pw auth scheme ( #731 )
3 years ago
Logan oos Even
1f51aa1d5c
conditionally downgraded one ERROR msg to DEBUG msg ( #725 )
3 years ago
Logan oos Even
b648872c1f
modified route setup ( #717 )
3 years ago
Logan oos Even
1586ae62a7
made n2n react more swiftly to (D)DNS changes ( #705 )
3 years ago
Logan oos Even
3c6ab56d3f
allowed (temporarily) initially non-resolving supernode names ( #701 )
3 years ago
Logan oos Even
c55e3e3246
multithreaded supernode name resolution ( #645 )
3 years ago
Logan oos Even
a28327a0af
added user-password edge authentication ( #673 )
3 years ago
Logan oos Even
667b7df083
added memrnd() ( #685 )
4 years ago
randomize00
cfa92d28d8
add callback function for hin2n to protect socket ( #684 )
4 years ago
randomize00
e2c687558f
fix potential memory leak ( #682 )
authored-by: randomize00 <randomize00@users.noreply.github.com>
4 years ago
Sven Roederer
23c18e349f
drop non portable SOL_TCP / fix MacOS v2 ( #680 )
* Revert "Fix compilation on MacOS"
in order to another solution
* src: use IPPROTO_TCP in place of SOL_TCP
* use the more specific IPPROTO_TCP type for setsockopt
* fixes build on MacOS
src/edge_utils.c:891:31: error: use of undeclared identifier 'SOL_TCP'; did you mean 'FPP_TCP'?
setsockopt(eee->sock, SOL_TCP, TCP_NODELAY, &value, sizeof(value));
src/edge_utils.c:894:31: error: use of undeclared identifier 'SOL_TCP'
setsockopt(eee->sock, SOL_TCP, TCP_CORK, &value, sizeof(value));
^
src/edge_utils.c:894:40: error: use of undeclared identifier 'TCP_CORK'
setsockopt(eee->sock, SOL_TCP, TCP_CORK, &value, sizeof(value));
* include/n2n.h: drop redefiniton of SOL_TCP for WIN32, as we don't use it anywhere now
* src: only use TCP_CORK on LINUX
* it's LINUX only and fails on Win32 and MacOS (man 7 tcp)
4 years ago
Alfredo Cardigliano
53e930db10
Fix compilation on MacOS
4 years ago
Logan oos Even
a23b459738
fixed memory issue ( #675 )
4 years ago
Logan oos Even
edc6f53ca0
prevented transmission of QUERY_PEER on multicast MAC addresses ( #668 )
4 years ago
Logan oos Even
f41babcf4d
fixed compile warnings ( #664 )
4 years ago
Logan oos Even
0287837241
skewed supernode selection for the benefit of current supernode in no-pong case ( #663 )
4 years ago
Logan oos Even
aa1f4311f9
adapted packet format ( #662 )
* adapted packet format
4 years ago
Logan oos Even
23a9c871f8
increased resilience to supernode failure ( #660 )
4 years ago
Logan oos Even
1bcc64ccb3
fixed unrelated error message ( #653 )
4 years ago
Logan oos Even
20133f599c
improved socket handling ( #650 )
4 years ago
Logan oos Even
db4b927b8e
fixed multicast decode error message ( #648 )
4 years ago
Logan oos Even
64b8136301
fixed compile warnings ( #647 )
4 years ago
Logan oos Even
e47b492c4d
fixed compile warning ( #646 )
4 years ago
Logan oos Even
a482fe112d
added TCP support ( #627 )
(disabled on Windows)
4 years ago
vtcpip
b42c111527
fix windows compile ( #636 )
4 years ago
Logan oos Even
c73e59341d
made gratuitous arp being sent at the right time ( #635 )
4 years ago
Logan oos Even
54ba76e3bc
clarified error message ( #634 )
4 years ago
Logan oos Even
12e55935c2
adjusted supernode management port output ( #628 )
4 years ago
Logan oos Even
fb827a843b
reworked edge management port output ( #623 )
4 years ago
Logan oos Even
08a4e332c8
generalized auth scheme handling ( #624 )
4 years ago
Logan oos Even
09e8d5e730
limited number of concurrently pinged supernodes ( #619 )
4 years ago
Logan oos Even
ba9a32fb30
fixed minor timing issues ( #616 )
4 years ago