summaryrefslogtreecommitdiff
path: root/osdep
AgeCommit message (Collapse)Author
2017-01-11Software updater work.Adam Ierymenko
2017-01-10Refactor some JSON stuff for performance, and fix a build error.Adam Ierymenko
2017-01-05remove commented out function declarationGrant Limberg
2017-01-05Potential fix for routing issue on WindowsGrant Limberg
Move setting _initialized = true until after WindowsEthernetTap::threadMain() has actually created and brought up the adapter. Also in OneService::nodeVirtualNetworkConfigFunction(), wait up to 5 seconds for WindowsEthernatTap::isInitialized() to return true before attempting to configure the interface and managed routes. Without this, the adapter doesnt actually exist yet when trying to add routes
2016-12-12Remove debug printfAdam Ierymenko
2016-12-12Merge branch 'dev' of http://10.6.6.2/zerotier/ZeroTierOne into devAdam Ierymenko
2016-12-12Use an alternative method for enumerating interface addresses on Linux to ↵Adam Ierymenko
avoid poor performance of getifaddrs() when there are many network namespaces.
2016-12-09Dont write IPv6 addresses to IPv4 sections of registry TCPIP settings.Grant Limberg
Also, dont add the prefix length to the IP addresses in there. Appears to fix Github Issue #357. Still waiting on some info from Microsoft for confirmation of a few things.
2016-11-30Store MTU as String instead of DWORDGrant Limberg
WindowsEthernetTap was storing the MTU for the ZeroTier Adapter as a DWORD. When changing the value from the network adapter settings UI, it was stored as a string. Updated the call when creating the adapter to store it as a string as windows expects.
2016-11-18Move split() to OSUtils since it is not used in core.Adam Ierymenko
2016-11-10Multithreading in network controller. Threads are only started if controller ↵Adam Ierymenko
is used.
2016-11-08Fix chown on /var/lib/zerotier-oneTsukasa Hiiragi
2016-11-04Refactor controller to use split-out DB for better performance and less ugly.Adam Ierymenko
2016-10-31fix a few warningsGrant Limberg
2016-10-16Run as nonroot user on Linux (with CAP_NET_ADMIN and CAP_NET_RAW added).Michał Zieliński
- ZT will only drop root privileges if zerotier-one user exists. It is created by Debian postinst script - in other cases the user has to be created by administrator. - Linux >=4.3 with ambient capabilities is required, otherwise ZT will silently - "-U" option now also disables privileges dropping
2016-10-07Fix size of neighbor solicitation structGrant Limberg
2016-10-04fix typo in assert sizeGrant Limberg
2016-09-30Merge branch 'dev' of http://10.6.6.2/zerotier/ZeroTierOne into devAdam Ierymenko
2016-09-30Network delete fix.Adam Ierymenko
2016-09-30Add IPv6 Neighbor Discovery code. Not yet tested.Grant Limberg
2016-09-29Minor tweaks to member code in controller, and fix Linux build.Adam Ierymenko
2016-09-14No, definitely have to back out GitHub issue #385 (non-bisected routes) ↵Adam Ierymenko
since this breaks IPv6 on OSX and probably IPv4 too if you were to encounter a 6-only situation.
2016-09-13Route management bug fixes.Adam Ierymenko
2016-09-13Implement relay policy, and setting multicast limit to 0 now disables ↵Adam Ierymenko
multicast on the network as would be expected.
2016-09-13Try a version of GitHub issue #385 (non-bifurcated default if not present) ↵Adam Ierymenko
on Mac. This version adds the bifurcated routes always but also adds a device-specific non-bifurcated route. Will have to see if this still interferes with OSX route settings, since by definition device specific routes should not conflict with general routes.
2016-09-12Back out of GitHub issue #385 for now and maybe for this release. Would be ↵Adam Ierymenko
nice but it is non-critical and rules are the priority. Current implementation bangs heads with OSX route assignment on WiFi join, etc.
2016-09-09Just always do route bifurcation on Linux for now... basically the old behavior.Adam Ierymenko
2016-09-08Do not bifurcate if not replacing an existing route. (Still need to tie up ↵Adam Ierymenko
Linux and Windows.)
2016-08-16More controller work -- it builds!Adam Ierymenko
2016-07-28More rules engine work: key/value pair matching for microsegmentation.Adam Ierymenko
2016-07-26Fix for running under MUSL libc (e.g. Alpine Linux)Adam Ierymenko
2016-07-21sys/sysctl.h is required on OSX and probably other BSDAdam Ierymenko
2016-07-21Merge pull request #348 from the-maldridge/remove-sysctlAdam Ierymenko
Remove explicit sys/sysctl.h includes
2016-07-12More OSX IPv6 fixes.Adam Ierymenko
2016-07-12Do not shadow our own route twice on Mac if there is no default route. (Fix ↵Adam Ierymenko
for issue found during IPv6 default route override testing.)
2016-07-07Tiny fixes to LinuxEthernetTapAdam Ierymenko
2016-07-06Remove explicit sys/sysctl.h includesMichael Aldridge
Explicitly including sys/sysctl.h breaks the ability to build against muslc.
2016-06-23More new CLI work.Adam Ierymenko
2016-06-21Comment cleanup.Adam Ierymenko
2016-06-21Route management now works on Windows, including default route override! ↵Adam Ierymenko
1.1.6 very close!
2016-06-21Default route override and route management in general now works in Linux.Adam Ierymenko
2016-06-21GitHub issue #338Adam Ierymenko
2016-06-21GitHub issue #339Adam Ierymenko
2016-06-21Make Dictionary templatable so it can be used where we want a higher capacity.Adam Ierymenko
2016-06-17Tying up default route and route mgmt loose ends. It now periodically ↵Adam Ierymenko
updates shadow routes so hopefully your link will stay up as you move around.
2016-06-16Default route population works on Mac!Adam Ierymenko
2016-06-17Linux bug fixes, small controller fix.Adam Ierymenko
2016-06-16devicemap now works again in OSXEthernetTapAdam Ierymenko
2016-06-16Build fixes.Adam Ierymenko
2016-06-15Default route ready to test on Mac.Adam Ierymenko