Dave Cottlehuber
c36c92e077
node: remove deprecated register hint for C++17 compatibility
...
when building with `ZT_DEBUG=1` this hint produces a warning:
> node/Packet.cpp:335:43: error: 'register' storage class specifier is deprecated and incompatible with C++17 [-Werror,-Wdeprecated-register]
See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340
8 years ago
Adam Ierymenko
5bc4399a58
cleanup
8 years ago
Adam Ierymenko
65c07afe05
Copyright updates for 2018.
8 years ago
Adam Ierymenko
9c7ee5a21e
Tear out old "link quality" stuff since it is not currently used and will be done differently.
8 years ago
Adam Ierymenko
0608704626
Some micro-optimizations, including a memcpy that is faster than Linux for most distro/compiler versions.
8 years ago
Adam Ierymenko
dab0fb9e05
Remote trace: plumbing, replace old TRACE with calls to Trace object.
9 years ago
Adam Ierymenko
2ec88e8008
Remove old circuit test code. Rules engine will let us do this much better and more simply.
9 years ago
Adam Ierymenko
f479b76772
define likely/unlikely
9 years ago
Adam Ierymenko
1b68d6dbdc
License header update.
9 years ago
Adam Ierymenko
a8ced184dc
Some code cleanup and make sure any type punning is guarded with ZT_NO_TYPE_PUNNING.
9 years ago
Adam Ierymenko
e7a2c6ecef
Integrate ARM/NEON crypto.
9 years ago
Adam Ierymenko
a1e94154be
Just incorporate the X64 ASM version of Salsa20/12 for X64 platforms. This gives us (for example) 1.5gb/sec encryption on a Core i5 2.8ghz.
9 years ago
Adam Ierymenko
df48738ac9
Enable use of NaCl for faster X64 Salsa20 implementations. Also include binary for OSX for easy build. Blazingly fast.
9 years ago
Adam Ierymenko
78ef2c5f16
Windows build fixes, app about text revisions.
9 years ago
Adam Ierymenko
e10325e133
GitHub issue #461 -- plus a bit of cleanup and optimization
9 years ago
Adam Ierymenko
ef46d3c97d
LZ4 cleanup
9 years ago
Adam Ierymenko
a9c08c5975
.
9 years ago
Adam Ierymenko
c467c3b7e4
ARM tweaks
9 years ago
Adam Ierymenko
47166c9614
Sigh. Another thinko.
9 years ago
Adam Ierymenko
ecacdf27a9
Build fix (typo)
9 years ago
Adam Ierymenko
aad6f79efa
Also must mask off counter bits in IV in cryptField.
9 years ago
Adam Ierymenko
0c00b83702
cryptField() used to obscure extended fields in HELLO cannot use mangleKey()
9 years ago
Adam Ierymenko
2bf9145ae6
Outgoing side of packet counter for link quality reporting. Also some cleanup and a cluster mode build fix.
9 years ago
Adam Ierymenko
e0d63c50db
One more tweak after thinking about related keys and key stream reuse. Just a precaution.
9 years ago
Adam Ierymenko
803f74634a
Tweak how we do crypto of the masked portions of HELLO just to be more "boring" in the DJB sense.
9 years ago
Adam Ierymenko
43182f8f57
Docs, code cleanup, and protect the extra new fields of HELLO with encryption as a precaution.
9 years ago
Adam Ierymenko
0995c1dcaa
Encapsulate LZ4 in Packet.cpp to eliminate dependency.
9 years ago
Adam Ierymenko
7612bf3302
Fix LZ4 warning.
9 years ago
Adam Ierymenko
2d6a4e5974
cleanup
10 years ago
Adam Ierymenko
93b4ac5cb2
Remove unused POW code, will revisit later.
10 years ago
Adam Ierymenko
eac3667ec1
Bunch more refactoring and work on revocations, etc.
10 years ago
Adam Ierymenko
16df2c3363
Clean up handling of COMs, network access control, and fix a backward compatiblity issue.
10 years ago
Adam Ierymenko
0ee4d3554a
Stub out USER_MESSAGE.
10 years ago
Adam Ierymenko
0b0cda2be4
ZT_TRACE fix.
10 years ago
Adam Ierymenko
00fd9c3a15
It builds... almost ready to test some rules engine stuff.
10 years ago
Adam Ierymenko
7e6e56e2bc
Bunch of work on pushing and replication of tags and capabilities, and protocol cleanup.
10 years ago
Adam Ierymenko
4929be08f7
Cleanup and stub out new object transfer messages.
10 years ago
Adam Ierymenko
4c455876f9
Revise peer path weighting to always prioritize cluster-optimal paths.
10 years ago
Adam Ierymenko
4e4fd51117
boring doc stuff
10 years ago
Adam Ierymenko
436c1fac1d
Selectively move over changes from "edge" to "dev" excluding netcon.
10 years ago
Adam Ierymenko
c0df1169ee
Remove unimplemented SET_EPHEMERAL_KEY for now.
10 years ago
Adam Ierymenko
0c498556d5
Unroll Salsa20 fully for a little more speed (non-SSE now almost as fast as SSE)
11 years ago
Adam Ierymenko
69b44bf9a5
Finally add an ECHO.
11 years ago
Adam Ierymenko
e5f168f599
Add proof of work request for future DDOS mitigation use.
11 years ago
Adam Ierymenko
0d0039674f
Add new verb names, and fix some Mac compiler flags.
11 years ago
Adam Ierymenko
e5f7c55c54
Documentation in Packet, more work on path push, and clean up ancient legacy support code in Switch.
11 years ago
Adam Ierymenko
0cbbcf2884
Rename VERB_CMA to the more descriptive VERB_PHYSICAL_ADDRESS_PUSH
11 years ago
Adam Ierymenko
845955dea5
Add definition for VERB_CMA -- GitHub issue #180
11 years ago
Adam Ierymenko
e94518590d
First stab of PFS design work with PKC security -- may not implement in 1.0.3 but stubbing out.
11 years ago
Adam Ierymenko
a8835cd8b3
Some prep work to make room for perfect forward security (PFS). Will not affect existing clients.
11 years ago