Brenton Bostick
|
f73e51e94c
|
Brenton/curly braces (#1971)
* fix formatting
* properly adjust various lines
breakup multiple statements onto multiple lines
* insert {} around if, for, etc.
|
3 years ago |
Adam Ierymenko
|
90f18f7ee7
|
Fix for ZTO-33 (Jira), only assign routes if there is a viable source IP.
|
5 years ago |
Adam Ierymenko
|
06730c7d1d
|
BSL date bump
|
6 years ago |
Adam Ierymenko
|
52a166a71f
|
Relicense: GPLv3 -> ZeroTier BSL 1.1
|
7 years ago |
Adam Ierymenko
|
2966eac64f
|
Get rid of ZT_FAST_MEMCPY because this is not really needed.
|
7 years ago |
Joseph Henry
|
0e597191b8
|
Updated licenses for 2019
|
7 years ago |
Adam Ierymenko
|
40a9ebd078
|
GitHub issue #675
|
8 years ago |
Adam Ierymenko
|
65c07afe05
|
Copyright updates for 2018.
|
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
|
4e88c80a22
|
RethinkDB native connector work, minor fixes.
|
9 years ago |
Adam Ierymenko
|
fac7dc9c91
|
Stop duplciate IPv6 addresses due to privacy mode IPs.
|
9 years ago |
Adam Ierymenko
|
459f1e7bfb
|
Refactor path stability stuff and add basic multipath support.
|
9 years ago |
Adam Ierymenko
|
b9e1d53d7a
|
Minor cleanup.
|
9 years ago |
Adam Ierymenko
|
d2415dee00
|
Cleanup.
|
9 years ago |
Joseph Henry
|
ceeb8ee0bc
|
added isEqualPrefix to InetAddress
|
9 years ago |
Adam Ierymenko
|
1b68d6dbdc
|
License header update.
|
9 years ago |
Adam Ierymenko
|
25f9c294dc
|
Small bug fix and warning removal.
|
9 years ago |
Adam Ierymenko
|
2ea9f516e1
|
Rate gate expensive validation of new identities in HELLO.
|
9 years ago |
Adam Ierymenko
|
01129d02b3
|
hashCode() for InetAddress
|
10 years ago |
Adam Ierymenko
|
bd15262e54
|
Bunch of rule JSON stuff.
|
10 years ago |
Adam Ierymenko
|
81959f14af
|
Refactor and redesign symmetric NAT predictor. This is cleaner.
|
10 years ago |
Adam Ierymenko
|
ee649ae69a
|
Add 6plane assignment support to network controller, and cleanup.
|
10 years ago |
Adam Ierymenko
|
3c655a4b84
|
Default route ready to test on Mac.
|
10 years ago |
Adam Ierymenko
|
b90e66f7c7
|
ManagedRoute, which applies C++ RAII to injected routes. Move RoutingTable to attic.
|
10 years ago |
Adam Ierymenko
|
4e4fd51117
|
boring doc stuff
|
10 years ago |
Adam Ierymenko
|
b3e3d4cacc
|
Instead of using binary packet comparison, add a callback to the API to explicitly check whether paths should be used. Check in with this callback (if present) when learning new paths or sending initial packets.
|
10 years ago |
Adam Ierymenko
|
8ac411a9e4
|
Stashing utun work for OSX -- abandoning for now since utun excludes mDNS among other issues.
|
11 years ago |
Adam Ierymenko
|
c9e6e60c09
|
Handle ZeroTier-RFC4193 IPv6 address NDP queries inline by spoofing responses if the addressing scheme matches -- this allows multicast-free instant lookup of local IPv6 for better performance and reliability.
|
11 years ago |
Adam Ierymenko
|
fdc3e103cc
|
Cleanup and docs.
|
11 years ago |
Adam Ierymenko
|
da93712846
|
Clean up PUSH_DIRECT_PATH limits a bit more and make them a bit smarter.
|
11 years ago |
Adam Ierymenko
|
88b100e5d0
|
More cleanup.
|
11 years ago |
Adam Ierymenko
|
3ce5ad9e2c
|
For forward compatibility, add minimal parse for some future physical address types.
|
11 years ago |
Adam Ierymenko
|
a95fa379cc
|
Circuit tests basically work but need some tweaks, and fix some issues found with valgrind.
|
11 years ago |
Adam Ierymenko
|
ab0228f626
|
More cleanup and simple refactoring, consolidate InetAddres serialize/deserialize into the class.
|
11 years ago |
Adam Ierymenko
|
5076c49210
|
Peer serialization and related changes.
|
11 years ago |
Adam Ierymenko
|
3664966340
|
Generate local IPv6 addresses from network IDs and addresses.
|
11 years ago |
Adam Ierymenko
|
0b354803f3
|
Clean up some YAGNI issues with implementation of GitHub issue #180, and make best path choice aware of path rank.
|
11 years ago |
Adam Ierymenko
|
dbee1b38b3
|
Fix semantics of std::unique() to actually remove duplicates (hidden memory leak?)
|
11 years ago |
Adam Ierymenko
|
96a58becf8
|
Gateways support in network controller schema and database (not implemented yet in client) toward GitHub issue #178
|
11 years ago |
Adam Ierymenko
|
b4b067bf12
|
So we need to keep track of external surface per reporter, since some NATs assign different external IPs for each external destination. Keeping just one known surface could create a race condition.
|
11 years ago |
Adam Ierymenko
|
6f4b30add8
|
Turns out you do have to unpack and compare sockaddr structures due to sin_len / sin6_len not present on all platforms and other junk.
|
11 years ago |
Adam Ierymenko
|
068d311ecc
|
TRACE compile fixes, other fixes, and it basically works! It says HELLO.
|
11 years ago |
Adam Ierymenko
|
52c3b7c34e
|
Implemented empirical determination of external addressing, paritioned per scope.
|
11 years ago |
Adam Ierymenko
|
817824b88b
|
Some external surface awareness work, and IP scope classification.
|
11 years ago |
Adam Ierymenko
|
36eab4f1a9
|
Whole heap more cleanup and refactoring...
|
11 years ago |
Adam Ierymenko
|
93012b0ee5
|
Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware]
|
11 years ago |
Adam Ierymenko
|
c30bf7957e
|
Hash code method for InetAddress
|
11 years ago |
Adam Ierymenko
|
4e95384ad6
|
Cleanup, add tristate to config code in Network, and happy new year!
|
11 years ago |
Adam Ierymenko
|
1bd5a1ebcd
|
Make selftest build and run on FreeBSD 10 with gmake
|
12 years ago |
Adam Ierymenko
|
6df9546742
|
Fix for missing broadcast address on Linux Ethernet taps.
|
12 years ago |