Adam Ierymenko
bfa4bd2584
Removing this, which was suggested by a linter, turns out to break things by breaking equality comparison. The NetworkConfig struct would have to be re-implemented in a more modern way to allow the compiler to properly generate comparison operators, which is not important right now.
7 months ago
Adam Ierymenko
1e62d69762
Do not compress frames -- also unrelated to bug.
7 months ago
Adam Ierymenko
bed6557a6d
Re-enable relaying checks, also not bug related but put back after we decided to punt removing moons.
7 months ago
Adam Ierymenko
bee3ea79f0
Minor thing, unrelated to bug but missing.
7 months ago
Adam Ierymenko
6e6fc9a704
Add conditional compilation of controller.
7 months ago
Adam Ierymenko
ab208bb8f9
Make encrypted HELLO a local.conf setting -- 99.999999% of users do not need it and it introduces scalability problems on large controllers.
7 months ago
Adam Ierymenko
9aff094b6f
node/ -> MPL
7 months ago
Adam Ierymenko
6e34b192e3
cleanup
8 months ago
Adam Ierymenko
d51b82d0e6
Temporarily disable checks to always forward -- for testing.
8 months ago
Adam Ierymenko
92838fa1b2
Controller support for "relays" field.
8 months ago
Adam Ierymenko
055be92ef0
Plumb through attaching network ID to packet sends.
8 months ago
Adam Ierymenko
58c80ff0ab
Add network ID to upstream lookup, cleanup, release notes for 1.16.
8 months ago
Adam Ierymenko
697011df7b
Cleanup, define specialist for network specific relays, remove some dead code.
8 months ago
Adam Ierymenko
db6045fe9c
clang-format
8 months ago
Adam Ierymenko
5eb3cd2699
clang-format this branch to match dev
9 months ago
Joseph Henry
c4af2d79c5
Don't count bridges towards multicast limit. Send to all bridges
9 months ago
Adam Ierymenko
342fa9d33f
clang-format this branch
9 months ago
Grant Limberg
813fb7a394
one more clang-format fix
9 months ago
Grant Limberg
6d532944bd
stop clang-format from breaking the build by sorting headers here
9 months ago
Adam Ierymenko
ba2a4a605c
clang-format
9 months ago
William Yates
a0c3f432c4
Sort active backup paths
1 year ago
Adam Ierymenko
74404f56ee
Actually invoke extended armor
1 year ago
Adam Ierymenko
1e679cc94d
Bug fix in extended armor.
1 year ago
Adam Ierymenko
96ba1079b2
Clang-format!!!
1 year ago
Adam Ierymenko
f190df8621
Restrict usage to when encryption is not active.
1 year ago
Adam Ierymenko
6b078ee935
Implement extended armor throughout system but not turned on yet.
1 year ago
Adam Ierymenko
3de5cbd105
Change indent
1 year ago
Adam Ierymenko
6faee38395
Specify start of extended encryption.
1 year ago
Adam Ierymenko
a44fd40889
Remove some obsolete stuff, rev protocol version.
2 years ago
Adam Ierymenko
5b7e1ceb68
More ECC work to prep for a FIPS mode
2 years ago
Adam Ierymenko
307befa892
Rename C25519.* to ECC.*
2 years ago
Adam Ierymenko
7647c8e8d1
Rename ECC key and signature size defines to be generic.
2 years ago
Adam Ierymenko
b2d71f900a
A few revs and removal of unnecessary stuff.
2 years ago
Adam Ierymenko
8d474e1395
Add ios differentiation, and .clangd that works w/Zed and clangd.
2 years ago
Joseph Henry
059d05f41f
Comment out vestigial test code (improves mt performance)
2 years ago
Joseph Henry
bf7dddbd84
Fix issues that prevent user multipath preferences from being respected
2 years ago
Joseph Henry
b813ea70a5
Simplify packet critical path. Plus more platform fixes
2 years ago
Joseph Henry
b1a30ae4ff
Switch to local.conf-based config of multithreading
2 years ago
Joseph Henry
36adae3d82
Add packet multiplexer
2 years ago
Adam Ierymenko
8caede300c
Add OS_ARCH to network config metadata.
2 years ago
Joseph Henry
f368fdbc76
Fix flow assignment for bridged EXT_FRAME packets
2 years ago
Adam Ierymenko
1982071d46
1.14.0 version bump for Linux and macOS, date update.
2 years ago
travisladuke
9bde5b9065
Consider ::ffff:127.0.0.1 as a loopback address
...
cpp-httplib sets IPV6_V6ONLY to false on it's sockets.
On FreeBSD, this makes all ipv4 addresses get get prefixed with ::ffff:
it makes them IPv6 addresses mapped to v4.
This is a partial fix for #2151 . The cli will work again.
Something should probably also be adjusted with the httplib.
If you want to, for example, use the `allowManagementFrom` option in
local.conf
you will need to prefix it with "::ffff:", "::ffff:1.2.3.4"
which is a little surprising and inconsistent between BSD and other OSs.
2 years ago
Joseph Henry
3ed6379c4c
Fix condition where active-backup would fail to engage
2 years ago
Joseph Henry
41cb6fb0d5
Comment out debug traces in Rules Engine
2 years ago
Joseph Henry
2e6cda38f6
Port multipath improvements to newer version
2 years ago
travisladuke
bca650e1fc
Printfs for rules debugging
...
re-uses ZT_TRACE to enable.
2 years ago
travisladuke
0bf67bf67c
Fix rules engine quirks
...
See #2200
Mostly makes Tag based rules work as expected
2 years ago
Léo El Amri
1aa31e0414
Fix how MAC addresses are handled by the rules parser
...
It wasn't ignoring separator characters such as the colon and hyphen.
The rules compiler automatically add a colon to separate bytes, which is
not compatible with how they are parsed.
2 years ago
Brenton Bostick
f03aae7a34
Fix test that was always true
...
Intention was to have (x >= 0 && x <= 8) but rules[rn].v.qosBucket is
unsigned (thus always >= 0)
3 years ago