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
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
22efa1ab53
Windows Installer work, fix 100% CPU bug in EthernetTap on Windows, Windows lockDownFile() implementation that uses 'cacls' utility.
12 years ago
Adam Ierymenko
eb554a504d
Fix for allIps -> ips in EthernetTap on Unix.
12 years ago
Adam Ierymenko
8771418170
Fix bug in tap driver introduced during unused code purge (deleted the part that acknowledges writes!), and fix bug in EthernetTap causing 0000 for etherType. Windows works now! Yay!
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
9232ba1da0
Tap works on Windows now, sort of. Now I discovered that Windows has two mechanisms for assigning IP addresses: the registry and lower-level calls. Joy.
12 years ago
Adam Ierymenko
2da6a7570b
More tap driver work, increment version number, remove old binaries since signatures may not have been valid.
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
07f505971c
Windows build fixes.
12 years ago
Adam Ierymenko
412f93122d
Add our own getifmaddrs() since this convenience function is not in OSX 10.6.
12 years ago
Adam Ierymenko
f9d31605b8
Ethernet tap cleanup.
12 years ago
Adam Ierymenko
a6dc4caecf
Unload the mac kext on exit.
12 years ago
Adam Ierymenko
d5fdfaea56
Fix signed/unsigned compare warning.
13 years ago
Adam Ierymenko
60ac1b77c5
Fix for GitHub issue #25
13 years ago
Adam Ierymenko
f3ad05347e
Improve code security posture by replacing sprintf with a safer function.
13 years ago
Adam Ierymenko
0afcf4877c
Build fixes for *nix.
13 years ago
Adam Ierymenko
aa96bdfd1e
Drop extra debug output.
13 years ago
Adam Ierymenko
c247a3d991
Build fix in tap, handling of Windows shutdown signals.
13 years ago
Adam Ierymenko
cd907a7662
More tap work -- DHCP configuration and such.
13 years ago
Adam Ierymenko
1c88a518cf
Dike out some cruft in Windows tap that we will never use, like TUN mode, DHCP masq, ARP emulation, NDP emulation, and related. We operate only in L2 mode. All tap, no tun.
13 years ago
Adam Ierymenko
b4be07149f
Tap now basically sorta works on Windows. Now have to figure out how to control DHCP behavior since we normally don't want that.
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
8637d06e0e
It builds and it installs! Well, except for not being digitally signed. :P
13 years ago
Adam Ierymenko
e2effbd1ce
Tap driver basically builds in VS2012... fork of tap-windows from OpenVPN (compatible license).
13 years ago
Adam Ierymenko
c8213a3f58
Commit of a draft of the pcap-based strategy for a Windows tap. This may, in the end, not work, since winpcap may not support immediate capture and also because some software flags winpcap as malware. Like I said, trying to do anything interesting with Windows is PAIN.
13 years ago
Adam Ierymenko
ca5334509c
Tap now creates Microsoft Loopback Adapter instances and tags them with a special ID... work in progress.
13 years ago
Adam Ierymenko
edad580c32
Some work on Windows tap.
13 years ago
Adam Ierymenko
2536352e5d
Make that an arbitrary tag to identify persistent taps...
13 years ago
Adam Ierymenko
dbb509a302
Add an interface description to EthernetTap, mostly for Windows.
13 years ago
Adam Ierymenko
08fe84d707
Windows builds, self test runs in Debug mode!
13 years ago
Adam Ierymenko
4ce88d7f72
Version 0.4.3: fix Gentoo ip config failures and crashes
...
This version fixes problems with locating the 'ip' command on Gentoo
and possibly other Linux systems, and a problem that could cause a
crash if EthernetTap was unable to locate one of the commands it
invokes to configure IP information on tap devices.
The code also now builds on Windows. It doesn't run yet, but it's a
step. Windows port is in full swing.
13 years ago
Adam Ierymenko
95a23dc7ec
Fix for another wonderful C++ threading race condition.
13 years ago
Adam Ierymenko
8a46452a70
Move template parameter in Thread to a more logical scope location.
13 years ago
Adam Ierymenko
e73c4cb68b
Whole bunch of stuff: netconf, bug fixes, tweaks to ping and firewall opener timing code.
13 years ago
Adam Ierymenko
a7c4cbe53a
CLI debugging, got rid of nasty old Thread class and replaced with newer cleaner portable idiom.
13 years ago
Adam Ierymenko
f823fd05ac
Replace fork() with vfork() in tap config, faster.
13 years ago