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
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
skyformat99
6f63f401fe
updated for compilation with VS2015 ( #739 )
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
39aa50b4cd
added manual MAC/IP address spoofing protection override at supernode (-M) ( #716 )
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 )
4 years ago
Logan oos Even
a28327a0af
added user-password edge authentication ( #673 )
4 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
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
7c3951a10f
revised tcp implementation ( #674 )
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
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
vtcpip
b42c111527
fix windows compile ( #636 )
4 years ago
Logan oos Even
cef5561c5a
switched to 2021 ( #632 )
4 years ago
Logan oos Even
aaca1424fd
added AVX-512 support to SPECK cipher ( #630 )
4 years ago
Logan oos Even
fb827a843b
reworked edge management port output ( #623 )
4 years ago
Logan oos Even
b3a4eac4d7
enabled windows random numbers for seed ( #622 )
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
Logan oos Even
de76b16fd5
added missing 'metric'
4 years ago
anzz1
9cac336488
added network interface metric option for windows ( #606 )
4 years ago
Logan oos Even
c696f59e07
ensured correct community file loading (sn) ( #609 )
4 years ago
Logan oos Even
39a71513f4
reworked supernode help text ( #605 )
4 years ago
Logan oos Even
3574865bf0
disabled SPECK defaulting to NEON support on ARM ( #602 )
4 years ago
Logan oos Even
c0c472b4aa
revised bootstrap ( #599 )
4 years ago
Logan oos Even
2e204adf1d
prepared auth scheme answer ( #597 )
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
773123f7a9
removed duplicate field for supernode socket from edge ( #587 )
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
fengdaolong
3a480a4a21
solved the problem that Windows cannot multicast ( #576 )
* Solve the problem that Windows cannot multicast.
* Better git judgment logic.
4 years ago
Logan oos Even
808920089d
switched to Pearson B. Hashing ( #570 )
* switched to Pearson B. Hashing
* switched to Pearson B. Hashing
4 years ago
Logan oos Even
9bbf7d95f6
hardware-accelerated header encryption ( #565 )
* hardware-accelerated header encryption
* hardware-accelerated header encryption
* hardware-accelerated header encryption
4 years ago
Francesco Carli
54f6da4cf4
Change space indention ( #557 )
* change space indention
* change space indention
4 years ago
Logan oos Even
71065278fa
readability code clean-up ( #550 )
* readability code clean-up
* readability code clean-up
4 years ago
Francesco Carli
de92fab878
readability code clean-up ( #549 )
4 years ago
Logan oos Even
ab4f507012
readability code clean-up ( #548 )
* readability code clean-up
* readability code clean-up
4 years ago