Commit Graph

18 Commits

Author SHA1 Message Date
Logan oos Even
99b6b6b66d
added n2n-route tool (#982)
* moved dev to version 3.1.1

* laid ground for n2n-route tool

* adapted code style

* overhauled n2n-route's tool program logic and removed route code from edge

* added missing initialization of federation's purgeable field

* lifted un/purgeable confusion

* added warning about removed -n cli option

* realized that Windows does not offer inet_aton()

* removed -n option documentation from edge's man page

* slightly simplified n2n-route program logic

* applied more logic changes to n2n-route tool

* added 'info' read command to edge's management port

* corrected indention

* added Linux route control to n2n-route tool

* temporarily restricted n2n-route tool to Linux only

* We must be over the routing!

* pulled default gateway change detection into main loop to cover mobile use, and added devstr_t type

* corrected use of new UNPURGEABLE - so far gone unnoticed

* addresses possiible address issue

* i broke it

* reverted bad ideas

* added command line options, help text, and prevented vpn gateway being used for supernode/peer traffic routes

* added option to manually provide default gateway, also verbosity options

* getting there

* added option to limit networks to be routed (-n), adapted documentation

* fine-tuned minor things
2022-05-24 20:38:51 +02:00
Logan oos Even
e686b9592c
(C) update (#965) 2022-03-12 10:22:42 +01:00
Logan oos Even
6a831879d3
make edge restore original metric value (-x) at program's end (#742) 2021-08-01 13:25:12 +05:45
Logan oos Even
b648872c1f
modified route setup (#717) 2021-07-11 00:22:58 +05:45
Logan oos Even
c5a0d186b0
handled metric default 2021-02-01 19:28:40 +05:45
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
2021-02-01 16:19:19 +05:45
anzz1
9cac336488
added network interface metric option for windows (#606) 2021-01-30 18:00:01 +05:45
Logan oos Even
f352c99255
reworked edge help text (#604) 2021-01-28 00:07:28 +05:45
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
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
fengdaolong
f5accc8221 Fix cmake compilation errors.
1. CMakeLists.txt added to automatically obtain the revised version number from the git repository.
2. Adjusted some header files to fix Windows platform compilation errors.
3. Eliminate some compilation warnings.
2020-07-01 18:35:22 +08:00
emanuele-f
1b1900358b Windows compilation fixes 2019-07-08 12:06:28 +02:00
emanuele-f
53d27bebf5 Implement MAC address change in Windows
Fixes #43
2019-06-30 22:31:31 +02:00
emanuele-f
e1b2ab3eca Set MTU on Windows
Fixes #153
2019-06-30 20:26:35 +02:00
emanuele-f
09707660a1 Print available Windows TAP devices after help 2019-06-30 20:06:07 +02:00
emanuele-f
6d38d4bfb4 Fix adapter name length in windows 2019-06-30 19:10:51 +02:00
emanuele-f
69e1d50ca3 Implement selectable tap adapter in Windows 2019-06-30 18:37:48 +02:00
Luca Deri
b1e9ce6d2a Initial SVN import of n2n v2 2016-10-23 10:46:15 +02:00