Hamish Coleman
009311d016
Provide better details when sendto_fd fails ( #981 )
...
* Refactor traceEvent to allow variable log levels
* Refactor sendto failed for less repetition
* Refactor sendto_fd to make control flow clearer, also reduce repetition
* Tie size to the actual object not its class
* Show destination that had issues when sendto_fd fails
* Fix MSVC compile - it doesnt support the same variadic macros as gcc
2022-04-25 19:13:14 +02:00
Logan oos Even
f3e305b254
updated Faq.md
2022-04-11 11:14:21 +02:00
Ryan Schmidt
00a54b36cd
removed space after -L and -I in Makefile.in ( #974 )
...
Fixes link failure with gcc-4.2:
ld: -L must be immediately followed by a directory path (no space)
2022-04-01 15:23:57 +02:00
Logan oos Even
661858aee8
updated Scratchpad.md
2022-03-31 15:03:10 +02:00
Logan oos Even
ce998b986c
moved dev to version 3.1.1
Openwrt Build / Build ipkg (release) Has been cancelled
2022-03-31 14:39:11 +02:00
Logan oos Even
0f15271736
removed abandoned Windows 2016 runner ( #971 )
2022-03-20 14:15:35 +01:00
Logan oos Even
5f60a6b333
made supernode ignore own registration attempts to allow unified configuration (command line-provided supernodes) of federated supernodes ( #970 )
2022-03-20 12:48:40 +01:00
Logan oos Even
73d0d76f29
changed benchmark to MTU sized packets ( #966 )
2022-03-12 20:56:56 +01:00
Logan oos Even
e686b9592c
(C) update ( #965 )
2022-03-12 10:22:42 +01:00
Logan oos Even
19e1bf87c9
fixed sn sort return value ( #936 )
2022-03-03 23:22:32 +01:00
Logan oos Even
f59c6900a1
moved compression code into transforms ( #961 )
2022-02-21 10:09:06 +01:00
Hamish Coleman
4b8aaa7f6e
Merge pull request #947 from hamishcoleman/json_pubsub
...
Add JSON pubsub framework for edge
2022-02-12 10:59:52 +00:00
Logan oos Even
cbad152994
limited federation broadcast to active supernodes only ( #958 )
2022-02-12 11:35:22 +01:00
Hamish Coleman
a271dc7039
Merge pull request #956 from hamishcoleman/dev
...
Ensure an error is generated when compiling with invalid options
2022-02-11 21:38:30 +00:00
Hamish Coleman
aab0d508df
Ensure an error is generated when compiling with invalid options
2022-02-11 21:23:34 +00:00
Hamish Coleman
af39fa12d8
Merge pull request #953 from hamishcoleman/dev
...
Ensure definitions are included before ifdef
2022-02-10 07:52:59 +00:00
Hamish Coleman
30a5694cfe
Ensure definitions are included before ifdef
...
Addresses issue raised in (#934 )
2022-02-10 07:51:17 +00:00
Hamish Coleman
99d56a8a7b
Improve build docs ( #952 )
2022-02-09 21:30:26 +00:00
Hamish Coleman
017f1cf60e
Address lint issues
2022-02-05 20:06:31 +00:00
Hamish Coleman
860b27d97c
Add event publishing for adding and removing P2P peers
2022-02-05 20:06:31 +00:00
Hamish Coleman
a40ed15d93
Add pubsub system to edge, with one example TEST channel
2022-02-05 20:06:31 +00:00
Hamish Coleman
509a8bcd14
Add a buffer object with a known size field to replace multiple hardcoded N2N_PKT_BUF_SIZE
2022-02-05 20:06:31 +00:00
Hamish Coleman
598ce63981
Use getnameinfo to show the subscribed socket details
2022-02-05 20:06:31 +00:00
Hamish Coleman
9c77d0becd
Address warning
2022-02-05 20:06:31 +00:00
Hamish Coleman
58fedeed95
Add a helper for simple 1 arg json replies
2022-02-05 20:06:31 +00:00
Hamish Coleman
64e5329bca
Refactor command handler lookup into a macro for reuse in the topic lookup
2022-02-05 20:06:31 +00:00
Hamish Coleman
e2a33b7571
Implement initial help command for subscription topics
2022-02-05 20:06:31 +00:00
Hamish Coleman
3fd1dc5fa8
keep private enum definition local to the management code
2022-02-05 20:06:31 +00:00
Hamish Coleman
e3899d1b76
Give a magic number a better name
2022-02-05 20:06:31 +00:00
Hamish Coleman
06b8f1a08f
Refactor management command list to allow it to be declared const with no warnings
2022-02-05 20:06:31 +00:00
Hamish Coleman
3e2c2d63bc
Add basic structures to be used for pubsub
2022-02-05 20:06:31 +00:00
Hamish Coleman
40773b4e4d
Ensure we have a local copy of the tag in our request structure - which will be useful for the event framework
2022-02-05 20:06:31 +00:00
Hamish Coleman
5bcc6fe67a
Tracebacks contain full paths and cannot be part of the expected test data
2022-02-05 20:06:31 +00:00
Hamish Coleman
35c83a0825
Simplify edge mgmt handling by building a request structure and using it for replies
2022-02-05 20:06:31 +00:00
Hamish Coleman
9278e15896
Add at least one test that should cause a failed auth
2022-02-05 20:06:31 +00:00
Hamish Coleman
6e4cf85915
As we are in our own namespace, we can ditch the n2n_ prefix to some definitions
2022-02-05 20:06:31 +00:00
Hamish Coleman
ace3dbc44f
Move all supernode management handling into one source file
2022-02-05 20:06:31 +00:00
Hamish Coleman
a8e2704b41
Move all management packet handling for edge into the one source file
2022-02-05 20:06:31 +00:00
Hamish Coleman
f0d883fde8
of course, tuntap drivers are needed to run edge, so we cannot test that on darwin without writing a dummy tuntap driver
2022-02-05 20:06:31 +00:00
Hamish Coleman
91d325b73a
actions/upload-artifact@v2 with path does not take a list
2022-02-05 20:06:31 +00:00
Hamish Coleman
662e17afd6
Keep the tests output on failure for a cmake build too
2022-02-05 20:06:31 +00:00
Hamish Coleman
75a205ec69
Only need to keep the tests output if there has been a failure
2022-02-05 20:06:31 +00:00
Hamish Coleman
004ef6eaaf
Add quick Json API test for edge
2022-02-05 20:06:31 +00:00
Hamish Coleman
ecaba980ba
Attempt to simplify adding new tests
2022-02-05 20:06:31 +00:00
Hamish Coleman
1f501c70ac
Include more known good style-guide files to the linter
2022-02-05 20:06:31 +00:00
Hamish Coleman
6bc08b8e0b
Add more ways to get help from the indent.sh script
2022-02-05 20:06:31 +00:00
Hamish Coleman
e0ce73f684
Add management source code as known good for styleguide
2022-02-05 20:06:31 +00:00
Hamish Coleman
e22e453d2c
Add an integration test and a bunch of framework to support tests on multiple build systems
2022-02-05 20:06:31 +00:00
Hamish Coleman
3713d357c8
Document the tricky code - TODO, make it less tricky
2022-02-05 20:06:31 +00:00
Hamish Coleman
954547a9c1
Remove the only obstacle that stopped running the supernode as a normal user
2022-02-05 20:06:31 +00:00