summaryrefslogtreecommitdiff
path: root/osdep
AgeCommit message (Collapse)Author
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!
2015-06-09Allow double-close just in case in Phy<>Adam Ierymenko
2015-06-09Rework Phy<> to clean up _socks entries only in poll() to fix instability in ↵Adam Ierymenko
proxy.
2015-06-05Fix for poll() in Phy<> with no sockets open. Only affects tcp-proxy.Adam Ierymenko
2015-05-21Add some proxy debugging, and auto-resolve and periodically re-resolve TCP ↵Adam Ierymenko
fallback tunnel hostname.
2015-05-21BackgroundResolver test.Adam Ierymenko
2015-05-21Background resolver.Adam Ierymenko
2015-05-20Don't actually "power cycle" the interface except on startup. Doing that ↵Adam Ierymenko
after we're running could lose IP configuration.
2015-05-19Make tap driver even more defensive... seems to maybe fix the new network ↵Adam Ierymenko
problem. Have to test a bit more.
2015-05-19Windows build warning removal, be more defensive in Windows tap driver code, ↵Adam Ierymenko
and clean up service start/stop in installer.
2015-05-17BSDEthernetTap build fixes.Adam Ierymenko
2015-05-17Bring BSDEthernetTap into the current century.Adam Ierymenko
2015-05-08Fix to tap reset code in Windows tap connector.Adam Ierymenko
2015-05-08Fix a bunch of Windows tap issues. Turns out NDIS6 allowed us to ditch some ↵Adam Ierymenko
NDIS5 cruft, but I did have to add one hack specific to that one instead. Seems reliable now.
2015-05-08Scratch that wrapper... it was easy to make, but it turns out WebControl is ↵Adam Ierymenko
IE4 (!!!?!). Also prefer NDIS5 to NDIS6 *if* NDIS5 is installed. We will no longer ship it, but this will make older installs use the same driver they are already using. Should ease upgrade.