Joseph Henry
9681fedbb4
Spellcheck sweep across codebase
8 years ago
Adam Ierymenko
d6e8a5f3ca
Fix Windows compile error.
8 years ago
Adam Ierymenko
65c07afe05
Copyright updates for 2018.
8 years ago
Grant Limberg
629a3a2a24
call setFriendlyName() after tap adapter is initialized
9 years ago
Adam Ierymenko
d5ed025871
Support MTU reconfigure for Windows.
9 years ago
Adam Ierymenko
b55422a528
MTU integration in taps.
9 years ago
Adam Ierymenko
1b68d6dbdc
License header update.
9 years ago
Adam Ierymenko
e4896b257f
Add thread PTR that gets passed through the entire ZT core call stack and then passed to handler functions resulting from a call.
9 years ago
Grant Limberg
0f6c53589e
remove commented out function declaration
9 years ago
Grant Limberg
e2b1a7157e
Potential fix for routing issue on Windows
...
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
9 years ago
Adam Ierymenko
4f237687ce
Route management now works on Windows, including default route override! 1.1.6 very close!
10 years ago
Adam Ierymenko
4e4fd51117
boring doc stuff
10 years ago
Adam Ierymenko
b75bdedaee
Manually set DeviceInstanceID since this registry key is missing on Windows Vista and Server 2008.
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
8169b35482
Kill the devcon.exe dependency by dynamically loading cfgmgr32, newdev, and setupapi and using these functions directly.
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
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
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
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
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
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
dc0f3559be
Rip out old condition and Demarc stuff...
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
e16b2a8831
Real implementation of ips() on OSX, now for Linux.
12 years ago
Adam Ierymenko
2a3e646b94
Manually generate IPv6 link-local address only on Mac.
12 years ago
Adam Ierymenko
64231aa3f0
Fix for GitHub issue #36 on OSX... results in a duplicate entry for IPv6 link-local but seems okay... need to test on OSX 10.6 though.
12 years ago
Adam Ierymenko
f80ec871f6
Make EthernetTap creation occur in a background thread in Network since it's a time consuming operation on Windows. This fixes one of the last remaining Windows problems.
12 years ago
Adam Ierymenko
afbbf61588
Delete persistent tap device on Windows when we leave a network.
12 years ago
Adam Ierymenko
2f37ea842f
Couple of Windows fixes, get rid of ips()/allIps() distinction in EthernetTap. (Will need to be fixed on Unix now... later.)
12 years ago
Adam Ierymenko
370dd6c4da
Several things:
...
(1) Add a bunch of tedious type casts to eliminate unnecessary compiler warnings on Windows X64 builds.
(2) Some EthernetTap work to integrate Windows custom IOCTL for multicast group lookup (not done quite yet).
(3) Dump some more info in selftest to make sure our Windows path lookup functions are returning sane results.
12 years ago
Adam Ierymenko
612c17240a
Dead code removal, fix for cleanup GitHub issue #28
12 years ago
Adam Ierymenko
cd907a7662
More tap work -- DHCP configuration and such.
13 years ago
Adam Ierymenko
4a370c5f3f
Windows: disable and enable tap to allow changes to take effect.
13 years ago
Adam Ierymenko
487eb17ec0
ZeroTierOne for Windows binary project, builds and runs and mostly works but still some issues with tap.
13 years ago
Adam Ierymenko
bbbc032959
Tap works! At least in isolation. Time to create the Windows executable and the Windows service to run it and handle auto-update.
13 years ago
Adam Ierymenko
e2effbd1ce
Tap driver basically builds in VS2012... fork of tap-windows from OpenVPN (compatible license).
13 years ago