Joseph Henry
18aea2d3d3
Removed unused code
2016-01-12 12:56:51 -08:00
Joseph Henry
74e22368b5
Fixed sketchy memcpy logic, also added checks for service RPC ACK
2016-01-12 12:42:46 -08:00
Adam Ierymenko
d03a63e055
Merge branch 'edge' of http://10.6.6.2/zerotier/ZeroTierOne into edge
2016-01-12 12:25:19 -08:00
Adam Ierymenko
93ab8d46b9
Merge branch 'dev' into edge
2016-01-12 12:25:15 -08:00
Adam Ierymenko
740eb6ebc4
Simplify Peer locking to eliminate deadlock with new path recursion check code (and also probably improve performance).
2016-01-12 12:12:25 -08:00
Adam Ierymenko
d6f0f1a82a
Use network user ptr in lookup for Ethernet frame handling to eliminate map lookup.
2016-01-12 11:34:22 -08:00
Adam Ierymenko
83ef98a9dc
Add a network-associated user ptr in API.
2016-01-12 11:04:35 -08:00
Adam Ierymenko
3edfbfec93
Merge branch 'master' into dev
2016-01-12 09:50:19 -08:00
Adam Ierymenko
68c004ef68
Merge pull request #291 from JackyRen/patch-1
...
Update controller README.md
2016-01-12 09:49:54 -08:00
Joseph Henry
e2ae9165c6
RPC update
2016-01-12 09:46:49 -08:00
Adam Ierymenko
704205c5f7
Dead code removal.
2016-01-12 09:33:14 -08:00
Ren Jie
21656ba015
Update controller README.md
...
Sync make parameter with code.
2016-01-12 22:51:08 +08:00
Adam Ierymenko
bbcc3304a0
Check shouldUsePathForZeroTierTraffic in legacy beacon responder.
2016-01-11 15:57:58 -08:00
Adam Ierymenko
c6571073fe
Get rid of constructor/destructor in libzerotierintercept, and simplify a few things.
2016-01-11 15:27:22 -08:00
Adam Ierymenko
ba9fcb31d0
Merge branch 'dev' into edge
2016-01-11 14:30:24 -08:00
Joseph Henry
78c0f0a443
RPC detection fix
2016-01-11 13:23:43 -08:00
Joseph Henry
7656e6b9f8
Transfer tune-up
2016-01-11 11:37:04 -08:00
Joseph Henry
39d79f34ab
Added RPC ACK
2016-01-11 10:35:02 -08:00
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.
2016-01-11 10:17:44 -08:00
Joseph Henry
3e65ecb93d
Stateless RPC rework
2016-01-11 10:12:59 -08:00
Adam Ierymenko
ba2a89c760
docs
2016-01-11 09:13:41 -08:00
Adam Ierymenko
eea634a432
Refactor to eliminate copypasta.
2016-01-11 09:11:35 -08:00
Adam Ierymenko
ab19e19f00
Fix a bug that we visually found in Windows code -- it was not advertising uPnP addresses?!?
2016-01-11 09:09:24 -08:00
Adam Ierymenko
1023ef23b7
Remove somewhat ugly and costly anti-recursion hack -- we will switch to more explicit methods.
2016-01-11 09:06:10 -08:00
Adam Ierymenko
a56fbc1929
Close another potential anti-recursion loophole.
2016-01-06 15:35:27 -08:00
Adam Ierymenko
47ce52228b
Roots should probably not do this since it would likely be a waste of packets.
2016-01-06 12:54:51 -08:00
Adam Ierymenko
ff9317365a
Merge branch 'dev' into edge
2016-01-06 11:38:11 -08:00
Adam Ierymenko
0a3ef38cad
Put old test code in attic.
2016-01-06 11:06:47 -08:00
Adam Ierymenko
9aee72099e
AntiRecursion cleanup and some other minor things.
2016-01-06 10:59:39 -08:00
Adam Ierymenko
05b2c0743f
Tighten up dead path detection. Should now auto-detect dead paths in less than 10 seconds at a very small cost in ECHO requests (or HELLOs for older peers). GitHib issue #272
2016-01-06 10:00:03 -08:00
Adam Ierymenko
4d94ae77b4
simplify if
2016-01-05 16:48:35 -08:00
Adam Ierymenko
d8143a5e18
Implement first pass on rapid dead path detection, and increment version to 1.1.3 (dev)
2016-01-05 16:41:54 -08:00
Adam Ierymenko
cba739fd6b
more dead code
2016-01-05 14:46:26 -08:00
Adam Ierymenko
fb5237d5b6
Outline dead path detection mechanism.
2016-01-05 14:42:56 -08:00
Adam Ierymenko
258f95b2cd
dead code removal
2016-01-05 14:19:16 -08:00
Janjaap Bos
b8059d5c87
typo
2015-12-23 22:54:36 +01:00
Adam Ierymenko
66894eb473
Merge branch 'dev' into edge
2015-12-21 16:56:13 -08:00
Adam Ierymenko
61becbb7e5
.
2015-12-21 16:56:11 -08:00
Adam Ierymenko
42e453872c
VERSION 1.1.2: bug fixes and NAT-PMP support
...
ZeroTier One version 1.1.2 is mostly a bug fix release, but also includes support
for NAT-PMP as a method of mapping external ports from behind supported routers.
Bugs fixed include:
- Refactored path selection code to eliminate a change that might have introduced
a reliability regression from earlier versions.
- Reworked UPnP code for improved reliability and also added NAT-PMP support.
- Fixed a crash on network preferred relays. (Not exploitable or security critical
since only network controllers can send that config option and there was no
buffer overflow or other exploitable issue.)
- Fix GUI problem on OSX where window could be larger than screen on some Macbooks.
- Fix a potential rate limit problem on PUSH_DIRECT_PATHS that could negatively
impact same-network connectivity.
- Update zerotier-cli to show preferred vs. active paths and hide inactive ones.
- Fix an issue on shutdown with thread delete order and thread synchronization.
2015-12-21 16:48:33 -08:00
Adam Ierymenko
2f42a7c010
Windows 1.1.2 build.
2015-12-21 16:36:56 -08:00
Adam Ierymenko
436c1fac1d
Selectively move over changes from "edge" to "dev" excluding netcon.
2015-12-21 16:15:39 -08:00
Adam Ierymenko
16bc9533ed
Fix a problem that made valgrind complain on shutdown (not otherwise an issue).
2015-12-21 15:23:14 -08:00
Adam Ierymenko
63a51e2890
Fix a small potential uninitialized variable issue.
2015-12-21 14:55:11 -08:00
Adam Ierymenko
23eaafc4eb
Remove stray file that is instead found in netcon.
2015-12-21 14:01:48 -08:00
Adam Ierymenko
536b7000bc
Merge branch 'edge' of http://10.6.6.2/zerotier/ZeroTierOne into edge
2015-12-21 13:15:09 -08:00
Adam Ierymenko
24cc0904fa
1.1.2 Windows build fixes, tweaks, etc.
2015-12-21 13:14:48 -08:00
Janjaap Bos
5a65463b92
typo
2015-12-21 22:11:39 +01:00
Janjaap Bos
c8056452b8
fix / workaround for ubuntu
...
Otherwise, if started with -d as daemon, the netcon service dies after
intercept listen registers.
2015-12-21 21:20:22 +01:00
Janjaap Bos
64e273e9c0
updated netcon readme
2015-12-21 19:49:22 +01:00
Joseph Henry
6f62d6bb34
Removed straggler debug prints
2015-12-21 07:36:44 -08:00