ntop / n2n

Peer-to-peer VPN
GNU General Public License v3.0
6.05k stars 925 forks source link

Windows XP support #1143

Closed hamishcoleman closed 11 months ago

hamishcoleman commented 11 months ago

It is now possible to build n2n for Windows XP.

The simplest way of doing this is to cross-compile from Linux using the mingw toolkit:

apt install binutils-mingw-w64-i686 gcc-mingw-w64-i686
./autogen.sh
./configure --host i686-w64-mingw32
make install DESTDIR=binaries/i686-w64-mingw32

This will place the output in the binaries dir

Due to the age of Windows XP, some required features are missing and thus some helper parts of n2n were disabled

See also: #847

codecov-commenter commented 11 months ago

Codecov Report

Patch coverage has no change and project coverage change: -0.01% :warning:

Comparison is base (6b8ba8a) 21.67% compared to head (4338f4e) 21.67%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #1143 +/- ## ========================================== - Coverage 21.67% 21.67% -0.01% ========================================== Files 46 46 Lines 8993 8994 +1 ========================================== Hits 1949 1949 - Misses 7044 7045 +1 ``` | [Files Changed](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/edge\_management.c](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2VkZ2VfbWFuYWdlbWVudC5j) | `0.00% <ø> (ø)` | | | [src/edge\_utils.c](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2VkZ2VfdXRpbHMuYw==) | `1.67% <0.00%> (-0.01%)` | :arrow_down: | | [src/management.c](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL21hbmFnZW1lbnQuYw==) | `0.00% <ø> (ø)` | | | [src/n2n.c](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL24ybi5j) | `1.28% <ø> (ø)` | | | [src/network\_traffic\_filter.c](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL25ldHdvcmtfdHJhZmZpY19maWx0ZXIuYw==) | `0.00% <ø> (ø)` | | | [src/sn\_management.c](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3NuX21hbmFnZW1lbnQuYw==) | `0.00% <ø> (ø)` | | | [src/sn\_utils.c](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3NuX3V0aWxzLmM=) | `0.00% <ø> (ø)` | | | [src/tuntap\_linux.c](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3R1bnRhcF9saW51eC5j) | `0.00% <ø> (ø)` | | | [src/tuntap\_osx.c](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3R1bnRhcF9vc3guYw==) | `0.00% <ø> (ø)` | | | [src/win32/edge\_utils\_win32.c](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3dpbjMyL2VkZ2VfdXRpbHNfd2luMzIuYw==) | `0.00% <ø> (ø)` | | | ... and [3 more](https://app.codecov.io/gh/ntop/n2n/pull/1143?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.