Adam Ierymenko
b75bdedaee
Manually set DeviceInstanceID since this registry key is missing on Windows Vista and Server 2008.
11 years ago
Adam Ierymenko
620562f7cf
Because Windows, because Windows. Now it upgrades correctly from 1.0.1, including automatic driver update from NDIS5 to NDIS6. Also a bit more robust on creating new ports, just in case.
11 years ago
Adam Ierymenko
922d9657b9
Save enumeration of statically assigned IPs so they will always be reassigned on device "power cycle."
11 years ago
Adam Ierymenko
6f46f0e0e1
Because Windows.
11 years ago
Adam Ierymenko
8169b35482
Kill the devcon.exe dependency by dynamically loading cfgmgr32, newdev, and setupapi and using these functions directly.
11 years ago
Adam Ierymenko
56285ec0d4
Another attempt at a fix for all the Windows driver coma issues.
11 years ago
Adam Ierymenko
494681a482
This might be a final fix for GitHub issue #173 and possibly others: 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!
11 years ago
Adam Ierymenko
6fc090eb00
Don't actually "power cycle" the interface except on startup. Doing that after we're running could lose IP configuration.
11 years ago
Adam Ierymenko
dd70188643
Make tap driver even more defensive... seems to maybe fix the new network problem. Have to test a bit more.
11 years ago
Adam Ierymenko
c7eb5f0c81
Windows build warning removal, be more defensive in Windows tap driver code, and clean up service start/stop in installer.
11 years ago
Adam Ierymenko
241f308334
Fix to tap reset code in Windows tap connector.
11 years ago
Adam Ierymenko
e744580b89
Fix a bunch of Windows tap issues. Turns out NDIS6 allowed us to ditch some NDIS5 cruft, but I did have to add one hack specific to that one instead. Seems reliable now.
11 years ago
Adam Ierymenko
a40192a40b
Scratch that wrapper... it was easy to make, but it turns out WebControl is 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.
11 years ago
Adam Ierymenko
720ac93ba9
Use NDIS6 driver preferentially if available.
11 years ago
Adam Ierymenko
ce09e363dc
Destroy tap devices on Windows 'leave'.
11 years ago
Adam Ierymenko
f5848972f9
Windows now builds and runs selftest correctly, and fixed a Windows (and possibly other platforms) issue in Phy<>.
11 years ago
Adam Ierymenko
7192fe6d15
osdep/ compile fixes, and remove some lingering OS-specific stuff from node/Defaults
11 years ago
Adam Ierymenko
8990fb8267
osnet -> osdep
11 years ago
Adam Ierymenko
93012b0ee5
Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware]
11 years ago
Adam Ierymenko
4e95384ad6
Cleanup, add tristate to config code in Network, and happy new year!
11 years ago
Adam Ierymenko
67aa23530b
More work on adding testnet and user-mode capabilities for local network simulation.
12 years ago
Adam Ierymenko
de4e29288d
Fix for crazy Windows threading bug... repeatedly adding and removing a network now doesn't leave networks in limbo.
12 years ago
Adam Ierymenko
44d58ee871
Change 1.1.1.1 pseudo-IP used for default route hack to 25.255.255.254, since 1.1.1.1 is from a now-in-use IPv4 block while 25.0.0.0/8 is still unrouted. It can be changed in the future without impacting anything, since Windows keys off the MAC not the IP to classify networks.
12 years ago
Adam Ierymenko
f8d4611d15
(1) Tweak LAN locator beacon frequencies, (2) Windows virtual networks
...
now show up as *real* networks and prompt the user to set their
location and firewall status (public, private, home/work, etc.).
The hack used to achieve #2 should not be examined by children or those
suffering from epilepsy or heart conditions.
12 years ago
Adam Ierymenko
fe3ad5e2cc
Fix a Windows bug in refactored tap code, and always make sure we have a firewall exception rule on startup.
12 years ago
Adam Ierymenko
77457cbff1
Windows compile fixes, compiler warning fix, unfreed memory fix in main.c (though it would not have mattered since program exits immediately after).
12 years ago
Adam Ierymenko
92d9ad4a7f
Some tap interface changes and integration into main.cpp for *nix systems.
12 years ago
Adam Ierymenko
7adf0eac7e
Windows Ethernet tap refactoring complete.
12 years ago
Adam Ierymenko
f0199d6770
Windows routing table interface (untested).
12 years ago
Adam Ierymenko
9809511c4c
Another rename...
12 years ago
Adam Ierymenko
538e8a86c8
Move node/osdep/ to sys/
12 years ago
Adam Ierymenko
7475c4047e
A bunch more osdep/ work...
12 years ago
Adam Ierymenko
a76d9d4408
Move OS-dependent implementations of generic interfaces to osdep/ in preparation for TapFactory refactor.
12 years ago
Adam Ierymenko
2861229558
Windows build fixes for MAC changes (in tap driver), some comments and cleanup in MAC.hpp.
12 years ago
Adam Ierymenko
31ddc49da2
GitHub issue #67
12 years ago
Adam Ierymenko
48a1799f49
More Windows tap cleanup... seems solid. We'll see.
12 years ago
Adam Ierymenko
bf24de43fe
Windows tap: be REAL REAL REAL PARANOID. Wake up sheeple.
12 years ago
Adam Ierymenko
5abfb11813
Some installer stuff, complete refactoring of Windows side of newly split tap driver. Seems to work. Now to see if the cleanup we did here gets rid of the zombie tap device issue on Windows.
12 years ago
Adam Ierymenko
6c60305a96
Split EthernetTap into subclasses, work in progress...
12 years ago
Adam Ierymenko
881ff08269
Make multiple attempts to open the tap device on Windows.
12 years ago
Adam Ierymenko
742261c7fc
(1) Fix menu bar item font size on Windows, (2) fix for possible Windows EthernetTap infinite loop while enumerating registry.
12 years ago
Adam Ierymenko
13fbf9a200
*nix build fix
12 years ago
Adam Ierymenko
f2a03f68bd
Add code to clean unused permanent tap interfaces on Windows (but not used yet).
12 years ago
Adam Ierymenko
b5c3a92be2
Boring stuff: update dates in copyrights across all files.
12 years ago
Adam Ierymenko
01d13c153d
Fix compiler warnings in Linux build.
12 years ago
Adam Ierymenko
9acfd3eb73
Build fix on Linux with G++.
12 years ago
Adam Ierymenko
3f912eb4ad
Fix for GitHub issue #37 : remember *nix device names.
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