Logan oos Even
e13c9a01a5
rearranged thread-related code ( #761 )
3 years ago
Logan oos Even
f6eb1377ec
reviewed log messages ( #744 )
3 years ago
Hamish Coleman
ecedcdcb58
Major documentation improvements ( #752 )
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
c394726928
narrowed sn's edge-last-seen update mechanism ( #734 )
* fortified user/pw auth scheme
* narrowed sn's edge-last-seen update mechanism
3 years ago
Logan oos Even
84d0991977
fortified user/pw auth scheme ( #731 )
3 years ago
Logan oos Even
39aa50b4cd
added manual MAC/IP address spoofing protection override at supernode (-M) ( #716 )
3 years ago
Logan oos Even
54f39e9eb0
fixed supernode's detetcion of orderly remote tcp connection closure ( #713 )
3 years ago
Logan oos Even
701befe6df
fixed superfluous message ( #708 )
3 years ago
Logan oos Even
aac58a88ec
fixed supernode's federation behavior (auth error) ( #707 )
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
1a523f5e1a
fixed supernode segmentation fault ( #697 )
4 years ago
Logan oos Even
667b7df083
added memrnd() ( #685 )
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
dcd3801df5
honed tcp implementation ( #676 )
4 years ago
Logan oos Even
7c3951a10f
revised tcp implementation ( #674 )
4 years ago
Logan oos Even
048fd3e128
fixed another memory issue ( #667 )
4 years ago
Logan oos Even
f41babcf4d
fixed compile warnings ( #664 )
4 years ago
Logan oos Even
aa1f4311f9
adapted packet format ( #662 )
* adapted packet format
4 years ago
Logan oos Even
1bcc64ccb3
fixed unrelated error message ( #653 )
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
c8fabbdfe0
added more targeted routing for packet forwarding in federation ( #643 )
4 years ago
Logan oos Even
a482fe112d
added TCP support ( #627 )
(disabled on Windows)
4 years ago
Logan oos Even
12e55935c2
adjusted supernode management port output ( #628 )
4 years ago
Logan oos Even
08a4e332c8
generalized auth scheme handling ( #624 )
4 years ago
Logan oos Even
c2741ace2d
guarded free() on supernode exit ( #615 )
4 years ago
Logan oos Even
ba9a32fb30
fixed minor timing issues ( #616 )
4 years ago
randomize00
5aac8813e6
safer checking for REGISTER_SUPER_ACK and UNREGISTER_SUPER ( #611 )
4 years ago
Logan oos Even
c696f59e07
ensured correct community file loading (sn) ( #609 )
4 years ago
Logan oos Even
c0c472b4aa
revised bootstrap ( #599 )
4 years ago
Logan oos Even
dd9491aa9c
removed two non-ASCII characters
Fixes #598 .
4 years ago
Logan oos Even
a639e1d735
properly handled supernodes' timestamps ( #591 )
4 years ago
Logan oos Even
e4e6efacf0
enhanced header encryption to full 128 bit iv ( #589 )
4 years ago
Logan oos Even
7eeca3d78f
cleaned up mac type usage ( #583 )
4 years ago
Logan oos Even
9ee62d7415
rebased time stamp format: header encryption ( #579 )
* rebased time stamp format (header encryption)
* rearranged time stamp fields
4 years ago
Logan oos Even
9152526bf2
allowed auto IP address feature a higher chance to re-assign the same IP address upon re-connect ( #574 )
4 years ago
Logan oos Even
623299770f
fix federation feature ( #573 )
4 years ago
Francesco Carli
244b1bef95
Change space indention ( #556 )
* readability code clean-up
* readability code clean-up
* change space indention
* change space indention
* Update sn_utils.c
4 years ago
Francesco Carli
ef2d3a5237
readability code clean-up ( #552 )
* readability code clean-up
* readability code clean-up
* change space indention
* Revert "change space indention"
This reverts commit 067f675faa
.
4 years ago
fengdaolong
d7654397a8
Fix the problem of running edge, IP or domain name resolution failure under Windows system. ( #527 )
4 years ago
Francesco Carli
3bd4635f04
Protection mechanism against duplicated MACs ( #509 )
* Prevent duplicated MACs
* Prevent duplicated MACs
* Fix compile errors
* Fix compile errors
* Implement auth scheme
* Fix compile errors
* Add auth_edge
* Add auth_edge
* Implement REGISTER_SUPER forwarding
* Add argument to update_edge
* Add auth field to supernode struct
* Add REGISTER_SUPER_NAK handling
* Fix issues
* Code clean-up
* Move auth token initialization
4 years ago
Logan oos Even
bac807c472
use payload struct for assembly ( #503 )
* use payload struct for assembly
* use payload struct for assembly
4 years ago
Luca Deri
22756f40f9
Compialtion fix
4 years ago
Francesco Carli
01f09e693e
Same chance to all supernodes to be transmitted by REGISTER_SUPER_ACK ( #498 )
* Same chance for all supernodes to be transmitted with REG_SUPER_ACK
* Update sn_utils.c
* Update random_numbers.h
* Update sn_utils.c
* Update random_numbers.c
* Update sn_utils.c
* Update sn_utils.c
4 years ago