Commit Graph

1406 Commits

Author SHA1 Message Date
lemonsh
46212656a5 fix 'superndode' typo in edge and supernode help text 2023-01-31 16:10:22 +00:00
Hamish Coleman
9618512c8f Give up and cache the entire openwrt buildchain 2023-01-30 20:31:13 +00:00
Hamish Coleman
8e172d94ea Nothing needs to dep on the smoketest 2023-01-30 20:31:13 +00:00
Hamish Coleman
0867fd1a7c One more try to avoid building all the kmod packages 2023-01-30 20:31:13 +00:00
Hamish Coleman
c3f5d69020 In fact, we can start more builds sooner 2023-01-30 20:31:13 +00:00
Hamish Coleman
4b9397a1b0 Fix the cache key. Also adjust the deps - the openwrt build is the longest, so start it sooner 2023-01-30 20:31:13 +00:00
Hamish Coleman
731be7e257 Use caching to try to speed up openwrt builds. Build openwrt statically 2023-01-30 20:31:13 +00:00
Hamish Coleman
c824c5d2cd Name the openwrt builds the same as the expected package name 2023-01-30 20:31:13 +00:00
Hamish Coleman
780d1edfb8 Add a amd64 OpenWrt build for more testing 2023-01-30 20:31:13 +00:00
Hamish Coleman
40f4b04bb2 Add quicker OpenWrt build to regular builds.
Use the upstream build environment to speed up the compiling of OpenWrt
ipk packages.  (And minor doc updates after running this.
2023-01-30 20:31:13 +00:00
Hamish Coleman
99ae88c85b Address github linter concerns in openwrt CI 2023-01-30 20:31:13 +00:00
fnRice
b5976231c9 fix 'cannot find library -lzstd' when build as a subproject with cmake and vcpkg 2023-01-27 00:44:36 +00:00
Hamish Coleman
4d89f048ad
Merge pull request #1074 from hamishcoleman/upstream
Tidy up CI and address constantly failing test
2023-01-27 00:41:56 +00:00
Hamish Coleman
914c450641 Address more github workflow lint concerns 2023-01-27 00:23:52 +00:00
Hamish Coleman
b104f4a72d Address lint concern 2023-01-27 00:21:14 +00:00
Hamish Coleman
fadafabd66 Address github workflow lint concerns 2023-01-27 00:12:04 +00:00
Hamish Coleman
b1d2396cb9 Disable faling test - unreproducible locally, appears to be a github issue 2023-01-27 00:08:32 +00:00
Hamish Coleman
b9cf4cbe73 Provide ability to investigate build errors
Upload the test results so they can be examined outside of the CI system
2023-01-26 23:54:59 +00:00
Wtz_LASR
bfc4c5886d
fix fill_n2nsock failing on macOS (#1071) 2023-01-15 21:52:20 +00:00
Justin Coffi
37a1b0091c
Update TapConfiguration.md (#1068)
Egde Description -> Edge Description
2023-01-15 21:50:25 +00:00
billchenchina
c8e17909e2
Bump config.guess (#1061)
config.guess now has support for:
* musl
* aarch64eb
* riscv32, riscv64
* loongarch32, loongarch64
And many other new stuff. Bump config.guess for that
2023-01-15 21:49:12 +00:00
Hamish Coleman
79bafc6790
Merge pull request #1064 from cjbrigato/patch-1
minor Typo
2022-12-20 10:05:46 +11:00
Colin J. Brigato
d3e0ea9c16
Typo 2022-12-19 23:57:51 +01:00
Hamish Coleman
ec15ebb80c
Merge pull request #1059 from billchenchina/fix-gitignore
Add more to gitignore
2022-11-15 10:34:54 +11:00
billchenchina
dae55ee7cf
Add more to gitignore 2022-11-15 04:34:36 +08:00
Sharuzzaman Ahmat Raslan
a74435c559
fixing minor typo (#1052)
fixing minor typo sepcified -> specified
2022-10-11 08:48:11 +02:00
Hamish Coleman
06c489fd8a
Merge pull request #1040 from hamishcoleman/dev
Guard against pointer overrun if sock is set negative
2022-07-09 13:58:19 +01:00
Hamish Coleman
3d9d881920 Guard against pointer overrun if sock is set negative 2022-07-09 13:11:42 +01:00
Hamish Coleman
a94e56203d
Merge pull request #1036 from 1715173329/cap
build(CMakeLists): dynamic link to libcap by default
2022-07-09 01:17:03 +01:00
Tianling Shen
7c7072ff7c
build(CMakeLists): dynamic link to libcap by default
This is a only exception while all other libraries are dynamically
linked.

The "TODO" does not make any sense as libcap provides both dynamic
and static libraries.

There is not reason to explain why it needs to be statically linked
'especially' as dynamic linking works very well.

Then just make it dynamically-linked by default, which also matches
the behaviour on autotools.

Compiled and tested on aarch64, no errors found.

Signed-off-by: Tianling Shen <i@cnsztl.eu.org>
2022-07-07 15:35:25 +08:00
Logan oos Even
ba8855fa71
added to portfwd tool - Windows keyboard fix (#1035)
* added to portfwd tool - Windows keyboard fix

* is it just a hick-up
2022-06-30 16:04:16 +02:00
Logan oos Even
504a552c77
Windows needs special network init (#1034) 2022-06-30 11:58:54 +02:00
Logan oos Even
cf23457d3b
added sock type field to data structure (#1031) 2022-06-28 19:09:04 +02:00
Logan oos Even
053ab381b3
fixed endianess issue in federated sn socket forwarding (#1030) 2022-06-28 16:53:12 +02:00
Logan oos Even
95cfbca5a9
more sockaddr generalization (#1028) 2022-06-27 22:21:03 +02:00
Logan oos Even
439dfc6886
generalized sockaddr usage in edge (#1026) 2022-06-26 17:17:22 +02:00
Logan oos Even
ffb4e31b8a
encapsulated several fillings of n2n_sock_t in single function (#1025)
* encapsulated several fillings of n2n_sock_t in single function

* Windows specifics...

* stuck to the project's style code
2022-06-26 00:07:29 +02:00
Logan oos Even
063db27ea6
corrected url notation 2022-06-25 20:42:55 +02:00
Logan oos Even
eff5f56d21
added to one branch in n2n-sock-to-string conversion (#1024) 2022-06-25 20:27:33 +02:00
Logan oos Even
c0259ae967
compile fixes (#1022) 2022-06-23 07:47:41 +02:00
Logan oos Even
7927bd7294
added optional choice of bind address (-p) to supernode (#1016) 2022-06-16 12:00:48 +02:00
Luca Deri
24c9ab9579
Disabling travis
Time to discontinue travis https://arstechnica.com/information-technology/2022/06/credentials-for-thousands-of-open-source-projects-free-for-the-taking-again/
2022-06-13 16:03:33 +02:00
dwj0
a88236aee3
modified scan_address() fixing possible netmask bitlen error when -a provided IP address lacks slash (#1012) 2022-06-11 15:38:44 +02:00
Logan oos Even
4a2c9ef914
updated documentation (#1010) 2022-06-06 21:56:14 +02:00
Logan oos Even
f63cb718b3
unified verbosity handling for edge and tools (#1009) 2022-06-05 18:57:14 +02:00
Logan oos Even
51a3a71f95
introduced n2n-portfwd tool (#1008)
* moved dev to version 3.1.1

* introduced n2n-portfwd tool

* moved port-forwarding source to tool

* adjusted tiny things, seemingly works with ./configure's  --enable-miniupnp  and  --enable-natpmp

* adjusted for Windows

* wished for better typing skills

* applied some finishing touch

* typo
2022-06-05 18:05:40 +02:00
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
Hamish Coleman
a274818854
Merge pull request #998 from hamishcoleman/sendto_refactor
Refactor sendto_fd and friends in an attempt to find anything that co…
2022-05-17 23:42:53 +01:00
Hamish Coleman
afd0020d16 Refactor sendto_fd and friends in an attempt to find anything that could segfault 2022-05-17 23:33:41 +01:00
Hamish Coleman
87431e2ef0
Merge pull request #992 from hamishcoleman/analysing
Add CI for Code Analysing
2022-05-17 22:21:37 +01:00