Logan oos Even
56a81f02b8
fixes ( #819 )
3 years ago
Logan oos Even
dfe15ad95d
added support for N2N_PASSWORD environment variable ( #818 )
3 years ago
Hacker
09fdfb0424
added support for COMMUNITY_NAME environment variable ( #814 )
Co-authored-by: codeneno <qsmy_qin@163.com>
Co-authored-by: Logan oos Even <Logan.00sEven@gmail.com>
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
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
52efc6ffad
compilation fix
3 years ago
Logan oos Even
7fa0cc1e0a
added preferred socket handling (-e) ( #765 )
3 years ago
Logan oos Even
05e6579038
merged edge's '-b' into '-p' command line option ( #772 )
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
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
75ab1fc5aa
made internal changes to cli parameter processing ( #702 )
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
969b667aae
deprecated solitary options -A, -S, -z ( #665 )
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
64b8136301
fixed compile warnings ( #647 )
4 years ago
Logan oos Even
a482fe112d
added TCP support ( #627 )
(disabled on Windows)
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
09e8d5e730
limited number of concurrently pinged supernodes ( #619 )
4 years ago
Logan oos Even
916c423ffe
fixed metric parameter passing to wintap.c ( #618 )
* fixed metric parameter passing to wintap.c
* fixed metric sub/interface command to set metric
4 years ago
anzz1
9cac336488
added network interface metric option for windows ( #606 )
4 years ago
Logan oos Even
f352c99255
reworked edge help text ( #604 )
4 years ago
Logan oos Even
2fbbafc88d
fixed conf file parsing
allowing space character inside parameter option, .e.g. `-d Windows TAP` (between "Windows" and "TAP").
4 years ago
Logan oos Even
c0c472b4aa
revised bootstrap ( #599 )
4 years ago
Logan oos Even
773123f7a9
removed duplicate field for supernode socket from edge ( #587 )
4 years ago
Logan oos Even
0e29d695ee
quick-fixed auto ip ( #586 )
4 years ago
Logan oos Even
18107bcb7c
fixed conf file option parsing
4 years ago
Logan oos Even
4e2548a98c
simplified conf file parsing ( #582 )
4 years ago
Logan oos Even
c99f610f73
fix AES default ( #575 )
* fix AES default
* fix AES default
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
e71de330e5
readability code clean-up ( #542 )
4 years ago
fengdaolong
d7654397a8
Fix the problem of running edge, IP or domain name resolution failure under Windows system. ( #527 )
4 years ago
joshuafc
b3f564e58c
Traffic Restrictions, Pass Build on CircleCI and local Windows 10 VS2019 ( #499 )
* Add new file 'network_traffic_filter.c/.h"
* Add feature to drop or accept specific packet transmit over edge network interface by rules.
* fix CMakeLists.txt typo
* Update Rule String Format
* replace -F (filter) with -R (rule) for traffic restrictions.
* Update edge help (-h) message. Update documents.
* Pass Build on CircleCI and local Windows 10 VS2019
* Fix cmake build failed because of sn_selection
* fix operate void* cause vs2016 build failed
* Fix typo to pass build on windows.
* add inttypes.h for n2n_typedefs.h to pass windows build
* modify headers to pass build on windows.
4 years ago
Luca Deri
6bd375efc4
Compilation fixes
Network filtering code has been temporarely commented out as it is broken
4 years ago
joshuafc
a840aebb83
Add feature to drop or accept specific packet transmit over edge network interface by rules. ( #489 )
* Add new file 'network_traffic_filter.c/.h"
* Add feature to drop or accept specific packet transmit over edge network interface by rules.
* fix CMakeLists.txt typo
* Update Rule String Format
* replace -F (filter) with -R (rule) for traffic restrictions.
* Update edge help (-h) message. Update documents.
4 years ago
Logan oos Even
6da8e5497e
enabled gratuitous arp packets ( #474 )
Co-authored-by: Logan007 <you@example.com>
4 years ago
Francesco Carli
dcbc39c0fb
Update REGISTER_SUPER_ACK handling on edge ( #478 )
4 years ago
BetaBeauty
57f742fe42
Extra Device Description in P2P Connection and Register to Super Node ( #475 )
* add cmake export commands
* add extra edge description (hint) field
* add peer2peer description registry
* fixed bug: peer2peer not pass the dev_desc filed
* update -I option in the helper text
Co-authored-by: Longtao Wang <longtao.wang@cortexlabs.ai>
4 years ago
Logan oos Even
51d55a60f8
made AES new default cipher ( #471 )
Co-authored-by: Logan007 <you@example.com>
4 years ago
Logan007
df869bfd3b
merged edge's subnet parameter into address parameter
4 years ago
Logan007
d77fdc1c71
consolidated documentation on tap interface configuration
4 years ago
Logan007
07b675bae6
made compression scheme name accessible even if not compiled
4 years ago