summaryrefslogtreecommitdiff
path: root/osdep
AgeCommit message (Collapse)Author
2017-04-18JSONDB fix.Adam Ierymenko
2017-04-18More build fixes.Adam Ierymenko
2017-04-18Mac build fix.Adam Ierymenko
2017-03-27Add thread PTR that gets passed through the entire ZT core call stack and ↵Adam Ierymenko
then passed to handler functions resulting from a call.
2017-03-17Windows build fixes, app about text revisions.Adam Ierymenko
2017-03-17GitHub issue #460Adam Ierymenko
2017-03-08Add ifdef for synology around synology-only code in Linux Ethernet tap.Adam Ierymenko
2017-03-08Windows directory cleanup and a Windows build fix.Adam Ierymenko
2017-03-08remove debug lineAdam Ierymenko
2017-03-08Clean iddb.d periodically.Adam Ierymenko
2017-02-21properly fill out ifcfg files. also removed route re-add code for synologyJoseph Henry
2017-02-16Decreased ZT_BINDER_REFRESH_PERIOD for Synology buildJoseph Henry
2017-02-16Route re-add patch for linux build on Synology devicesJoseph Henry
2017-02-15Integrate and test linux privilege drop code (from contributor PR). It works ↵Adam Ierymenko
now if a "zerotier-one" user is present on a Linux system. Does everything automagically.
2017-01-30Slightly increase thread stack size for safety (primary Alpine related) ↵Adam Ierymenko
possibly GitHub #443
2017-01-26Rip out resolver and use anycast address instead. In the long term existing ↵Adam Ierymenko
TCP proxy dies anyway. Fixes static build problem for old Linux versions.
2017-01-19OpenBSD fixes, workaround for apparent libstdc++ bug.Adam Ierymenko
2017-01-19Now builds on OpenBSD, but segfaults. So not yet but close. GitHub issue #439Adam Ierymenko
2017-01-19Merge pull request #434 from zielmicha/fix-ipAdam Ierymenko
Binder.hpp: gather all IPv4 interface addresses
2017-01-19NodeJS migration script for old Sqlite controller.db to new controller data ↵Adam Ierymenko
format.
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
2017-01-01Binder.hpp: gather all IPv4 interface addressesMichał Zieliński
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