summaryrefslogtreecommitdiff
path: root/osdep
AgeCommit message (Collapse)Author
2015-12-09Only set SO_NO_CHECK on IPv4 UDP sockets for now due to broken V6 stacks ↵Adam Ierymenko
that drop zero checksum UDP packets.
2015-12-04Merge dev.Adam Ierymenko
2015-11-30Put selftest back and turn off tracing in PortMapper.Adam Ierymenko
2015-11-30Simplify IP assignment logic in OSXEthernetTap, also fix for GitHub issue #249Adam Ierymenko
2015-11-30... and here.Adam Ierymenko
2015-11-30Need to close on premature abort too or resources are leaked.Adam Ierymenko
2015-11-30Also add a timeout for the actual NAT-PMP port mapping step.Adam Ierymenko
2015-11-30ifdef naming fix.Adam Ierymenko
2015-11-30Fix for uPnPAdam Ierymenko
2015-11-30Merge miniupnpc/libnatpmp build into main build by just adding flags, defs, ↵Adam Ierymenko
and objs.
2015-11-30Ton of uPnP work and adding NAT-PMP support, still testing...Adam Ierymenko
2015-11-24Merge branch 'dev' of github.com:zerotier/ZeroTierOne into devAdam Ierymenko
2015-11-24Fix for GitHub issue #253.Adrian Frühwirth
Make 'ip' detection more robust (some distros don't ship the binary in /sbin or /usr/sbin). Add error handling for cases where an ip add/remove fails.
2015-11-30Merge devAdam Ierymenko
2015-11-23MERGE current "dev" into "netcon" -- should not affect netcon itself but ↵Adam Ierymenko
will retest -- brings ZeroTier core up to 1.1.0
2015-11-21ARP packets do need the source IP address in them, as well as the MAC address.Grant Limberg
Packets wouldn't even show up in WireShark without the source IP in it.
2015-11-21ARP packet lengths are 28 bytes. This condition required the packet to be ↵Grant Limberg
29 or more bytes.

2015-11-16Turns out it wasn't hard to add miniupnpc to the VS2012 project and just ↵Adam Ierymenko
have it build with the rest of the code.
2015-11-13Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, ↵Adam Ierymenko
(2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch.
2015-11-10GitHub issue #242 -- crappy uPnP protocol demands infinite lease time or elseAdam Ierymenko
2015-11-09Try bringing back TTL escalation -- may help with Docker (IP-MASQ) type NATAdam Ierymenko
2015-11-03Create periodic backup copies of controller.db in network controller from ↵Adam Ierymenko
the main process itself to facilitate easier and safer backups of controller.db.
2015-11-02More appropriate phyOnUnixClose handlingJoseph Henry
2015-11-02Fixed another closure bug. Updated debug levelsJoseph Henry
2015-10-29Added state dump, fixed numerous RPC related bugsJoseph Henry
2015-10-27Add set buffer sizes code to Phy<>Adam Ierymenko
2015-10-27Merge Phy<> from netcon.Adam Ierymenko
2015-10-22More cluster wiring...Adam Ierymenko
2015-09-23minor changesJoseph Henry
2015-09-22.Adam Ierymenko
2015-09-22.Adam Ierymenko
2015-09-22Phy<> loses socketpair, gains raw FD monitoring.Adam Ierymenko
2015-09-22fixed fd-transfer logic bug, needs new write-queue logicJoseph Henry
2015-09-15netif code hooked upJoseph Henry
2015-09-11ARP cache and responder agent code for use in netcon and iOS.Adam Ierymenko
2015-09-10.Adam Ierymenko
2015-09-10Add socketpair support to Phy.Adam Ierymenko
2015-09-02Unix domain sockets in Phy<>Adam Ierymenko
2015-08-13Manually set DeviceInstanceID since this registry key is missing on Windows ↵Adam Ierymenko
Vista and Server 2008.
2015-07-30Because Windows, because Windows. Now it upgrades correctly from 1.0.1, ↵Adam Ierymenko
including automatic driver update from NDIS5 to NDIS6. Also a bit more robust on creating new ports, just in case.
2015-07-30Save enumeration of statically assigned IPs so they will always be ↵Adam Ierymenko
reassigned on device "power cycle."
2015-07-30Suppress icacls output on lockDownFile().Adam Ierymenko
2015-07-30Because Windows.Adam Ierymenko
2015-07-30Kill the devcon.exe dependency by dynamically loading cfgmgr32, newdev, and ↵Adam Ierymenko
setupapi and using these functions directly.
2015-07-28Add miniupnpc builds for Windows, fix some Windows build warnings.Adam Ierymenko
2015-07-28UPNP/NAT-PMP support with libminiupnpc (if built with it) -- GitHub issue #64Adam Ierymenko
2015-07-28Enable SO_NO_CHECK if available to skip UDP checksum on packet send for ↵Adam Ierymenko
slight performance improvement. We do our own cryptographically secure authentication so UDP checksum is worthless.
2015-07-24Fix leaving of networks to actually call Network::destroy().Adam Ierymenko
2015-07-06Another attempt at a fix for all the Windows driver coma issues.Adam Ierymenko
2015-06-12This might be a final fix for GitHub issue #173 and possibly others: ↵Adam Ierymenko
ACTIVELY detect borked port status on Windows and if any "cable unplugged" or other wacky states are detected whack the adapter (close and reopen). Tested adding a whole bunch of windows networks, removing, adding more, etc. and it seems to work very well!