Commit Graph

37 Commits

Author SHA1 Message Date
Logan oos Even
f352c99255
reworked edge help text (#604) 2021-01-28 00:07:28 +05:45
Logan oos Even
2fbbafc88d
fixed conf file parsing
allowing space character inside parameter option, .e.g. `-d Windows TAP` (between "Windows" and "TAP").
2021-01-26 15:58:05 +05:45
Logan oos Even
c0c472b4aa
revised bootstrap (#599) 2021-01-25 16:54:38 +05:45
Logan oos Even
773123f7a9
removed duplicate field for supernode socket from edge (#587) 2021-01-16 17:13:52 +05:45
Logan oos Even
0e29d695ee
quick-fixed auto ip (#586) 2021-01-16 05:39:20 +05:45
Logan oos Even
18107bcb7c
fixed conf file option parsing 2021-01-16 04:00:05 +05:45
Logan oos Even
4e2548a98c
simplified conf file parsing (#582) 2021-01-13 00:45:48 +05:45
Logan oos Even
c99f610f73
fix AES default (#575)
* fix AES default

* fix AES default
2021-01-08 01:01:53 +05:45
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
2021-01-07 11:14:25 +01:00
Francesco Carli
e71de330e5
readability code clean-up (#542) 2020-12-19 12:28:06 +01:00
fengdaolong
d7654397a8
Fix the problem of running edge, IP or domain name resolution failure under Windows system. (#527) 2020-12-08 15:46:40 +01:00
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.
2020-11-16 21:27:42 +01:00
Luca Deri
6bd375efc4 Compilation fixes
Network filtering code has been temporarely commented out as it is broken
2020-11-10 17:58:35 +01:00
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.
2020-11-10 16:35:05 +01:00
Logan oos Even
6da8e5497e
enabled gratuitous arp packets (#474)
Co-authored-by: Logan007 <you@example.com>
2020-11-09 16:04:41 +01:00
Francesco Carli
dcbc39c0fb
Update REGISTER_SUPER_ACK handling on edge (#478) 2020-10-27 17:02:35 +01:00
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>
2020-10-26 21:13:56 +01:00
Logan oos Even
51d55a60f8
made AES new default cipher (#471)
Co-authored-by: Logan007 <you@example.com>
2020-10-19 19:45:29 +02:00
Logan007
df869bfd3b merged edge's subnet parameter into address parameter 2020-09-21 13:37:06 +05:45
Logan007
d77fdc1c71 consolidated documentation on tap interface configuration 2020-09-20 17:39:33 +05:45
Logan007
07b675bae6 made compression scheme name accessible even if not compiled 2020-09-10 14:05:08 +05:45
Logan007
87ee4d6fa7 reworked cc20 2020-09-01 22:50:52 +05:45
Logan oos Even
90a071a1d3
Merge branch 'dev' into revCc20 2020-09-01 20:16:32 +05:45
Logan007
8757312d41 reworked cc20 2020-09-01 20:09:29 +05:45
Logan007
c9412a290b made aes always available 2020-08-31 02:24:23 +05:45
fengdaolong
6bdfdf6be4 Enhanced edge management console function.
1. Edge can view the IP address and socket information of the connected tap adapter through the management console (127.0.0.1:5644);
2. Repair two memory leaks;
3. Fix several code errors and redundant logic;
2020-08-16 22:34:41 +08:00
Luca Deri
ce8551fc61 Added better -A handling with config files 2020-08-16 12:15:30 +02:00
Logan007
9c10116d51 split PACKET's transform field to give way for seperate compression field 2020-08-15 22:48:57 +05:45
fengdaolong
92dfa67e22 Added DHCP function embedded in sn.
1. Automatically assign IP addresses to the edge through the DHCP function that comes with sn, the default IP address pool is 172.17.12.0/24.
2. The -d parameter is added to sn, and the IP address pool of the embedded DHCP can be customized.
3. Now edge does not need to add -a and -s parameters to automatically obtain the IP address.
4. The IP automatically obtained by the cross-community edge can be the same, because the communities are isolated from each other and do not interfere with each other.
5. On the management side of sn (127.0.0.1:5645), you can now view the IP address of the tutap adapter of each edge.
6. Fix many bugs that have a certain chance of causing memory leaks.
7. Note: This version is not fully compatible with the previous version.
2020-08-08 22:40:45 +08:00
ygg
e0b48f133d On Windows, the Edge node exits when the network card is disabled and opened again 2020-08-04 13:37:01 +08:00
ygg
07c1e40416 add -n option (route) for windows 2020-07-21 11:38:22 +08:00
ygg
e6c851d276 add sleep() for fix compile error on windows 2020-07-17 14:21:27 +08:00
fengdaolong
51c889ddea Fix read tap device failed when OS wake up from sleep.
Adjust the structure of the source file to the header file.
2020-07-06 13:17:01 +08:00
Disconnect3d
c2442ae486
edge.c: fix incorrect bad gateway check
It seems the previous `route.net_addr == INADDR_NONE` check was incorrect and was probably a result of copy-pasting the previous if statement and not changing the condition.
2020-06-30 14:16:54 +02:00
Logan007
1caf3b4591 shortened help text by three lines 2020-06-24 15:15:42 +05:45
Logan007
789dd90272 Header Encryption 2020-06-23 00:34:19 +05:45
Luca Deri
3eb82b2a32 Code reorganization 2020-06-21 22:26:27 +02:00