Adam Ierymenko
d452ed7db8
Fix inverted sense bug in new skip-stale-relay logic.
12 years ago
Adam Ierymenko
d7bc3c6f4a
Fix infinite loop bug introduced in last commit.
12 years ago
Adam Ierymenko
d04e5a1fe0
Add a simple but very nice mechanism for avoiding potentially dead supernodes.
12 years ago
Adam Ierymenko
bf5f09a0c7
Yank a code path it turns out we probably don't want.
12 years ago
Adam Ierymenko
ce0bd93289
Make software update run a little more often for now.
12 years ago
Adam Ierymenko
0fdefdf7a4
So Linux has getifaddrs() too! Yay!
12 years ago
Adam Ierymenko
8236f20759
Private struct ifmaddrs for OSX cause struct ifmaddrs is missing too on OSX 10.6.
12 years ago
Adam Ierymenko
e16b2a8831
Real implementation of ips() on OSX, now for Linux.
12 years ago
Adam Ierymenko
2a3e646b94
Manually generate IPv6 link-local address only on Mac.
12 years ago
Adam Ierymenko
64231aa3f0
Fix for GitHub issue #36 on OSX... results in a duplicate entry for IPv6 link-local but seems okay... need to test on OSX 10.6 though.
12 years ago
Adam Ierymenko
525ab3faa9
Take TRACE back out of Mac makefile, fix a few decode little things.
12 years ago
Adam Ierymenko
490e86dde3
Bunch of fixes to startup, pinging, and choice of route. Also some TRACE updates.
12 years ago
Adam Ierymenko
6e076e77d8
More work on connection reset stuff...
12 years ago
Adam Ierymenko
d75f2f7051
SIGHUP now causes resync with peers.
12 years ago
Adam Ierymenko
aa1be9fcad
Some TRACE cleanup.
12 years ago
Adam Ierymenko
17796aaed4
TRACE NOP receipt.
12 years ago
Adam Ierymenko
2355fa973e
Tiny compiler warning fix.
12 years ago
Adam Ierymenko
694e9f2bdc
Some cleanup and rationalization of main loop.
12 years ago
Adam Ierymenko
372566295e
Alternate order of packet emission in unite().
12 years ago
Adam Ierymenko
4e85213473
Yank RuntimeEnvironment from SysEnv.
12 years ago
Adam Ierymenko
d6a346ca6e
Fix for GitHub issue #35 and also possibly partial fix for #29 issues.
12 years ago
Adam Ierymenko
8b65b3e6d7
Yank PROBE stuff since it's not used and was a premature addition to the protocol.
12 years ago
Adam Ierymenko
ffffc0179f
Fix a couple compile items.
12 years ago
Adam Ierymenko
f80ec871f6
Make EthernetTap creation occur in a background thread in Network since it's a time consuming operation on Windows. This fixes one of the last remaining Windows problems.
12 years ago
Adam Ierymenko
afbbf61588
Delete persistent tap device on Windows when we leave a network.
12 years ago
Adam Ierymenko
28665079a0
Windows UI appearance fixes (font issue, etc.) and fix to WinSock init on GUI client.
12 years ago
Adam Ierymenko
80997f652b
Few small cleanup things...
12 years ago
Adam Ierymenko
9d67a02b5f
Lock down individual files in networks.d instead of directory since directory ACLs are more complex on Windows.
12 years ago
Adam Ierymenko
22efa1ab53
Windows Installer work, fix 100% CPU bug in EthernetTap on Windows, Windows lockDownFile() implementation that uses 'cacls' utility.
12 years ago
Adam Ierymenko
eb554a504d
Fix for allIps -> ips in EthernetTap on Unix.
12 years ago
Adam Ierymenko
8771418170
Fix bug in tap driver introduced during unused code purge (deleted the part that acknowledges writes!), and fix bug in EthernetTap causing 0000 for etherType. Windows works now! Yay!
12 years ago
Adam Ierymenko
2f37ea842f
Couple of Windows fixes, get rid of ips()/allIps() distinction in EthernetTap. (Will need to be fixed on Unix now... later.)
12 years ago
Adam Ierymenko
9232ba1da0
Tap works on Windows now, sort of. Now I discovered that Windows has two mechanisms for assigning IP addresses: the registry and lower-level calls. Joy.
12 years ago
Adam Ierymenko
2da6a7570b
More tap driver work, increment version number, remove old binaries since signatures may not have been valid.
12 years ago
Adam Ierymenko
370dd6c4da
Several things:
...
(1) Add a bunch of tedious type casts to eliminate unnecessary compiler warnings on Windows X64 builds.
(2) Some EthernetTap work to integrate Windows custom IOCTL for multicast group lookup (not done quite yet).
(3) Dump some more info in selftest to make sure our Windows path lookup functions are returning sane results.
12 years ago
Adam Ierymenko
6bc5a84a2d
Windows build fixes and installer work...
12 years ago
Adam Ierymenko
45c5b66e9e
Self test now passes on Windows.
12 years ago
Adam Ierymenko
f303c24d3c
Build fix.
12 years ago
Adam Ierymenko
a5896264fa
Builds on Windows now.
12 years ago
Adam Ierymenko
4d1cca1150
Remove VC++ warnings in C25519, also add inline to short methods.
12 years ago
Adam Ierymenko
07f505971c
Windows build fixes.
12 years ago
Adam Ierymenko
7eccc5ebf2
Windows HTTP client code (untested)
12 years ago
Adam Ierymenko
412f93122d
Add our own getifmaddrs() since this convenience function is not in OSX 10.6.
12 years ago
Adam Ierymenko
4788d911ad
Remove ZT1 GPL copyright from the top of code that is basically all Daniel Bernstein's
12 years ago
Adam Ierymenko
3482d836ae
Mac install fixes, more internal use scripts.
12 years ago
Adam Ierymenko
60731e6d02
Update URLs for auto-update, check supernode version in one more place, delete pid before executing updater.
12 years ago
Adam Ierymenko
c1256fff5b
Remove some legacy code from the core loop.
12 years ago
Adam Ierymenko
a19c19c58c
Refactor SoftwareUpdate to make .nfo parse and signature check code easily reusable so it can be used from the Qt GUI code.
12 years ago
Adam Ierymenko
22b52858e0
Fix -h in zerotier-cli and move code to find auth token into LocalClient, also move auth token for mac into Mac-standard Library/Application Support location.
12 years ago
Adam Ierymenko
9f28eec95c
VERSION 0.6.7: revert change for GitHub issue #20
...
This will have to be thought out more. The old version worked fine 99% of the
time so we'll revisit this.
12 years ago