Adam Ierymenko
4a370c5f3f
Windows: disable and enable tap to allow changes to take effect.
2013-08-26 17:48:47 -04:00
Adam Ierymenko
487eb17ec0
ZeroTierOne for Windows binary project, builds and runs and mostly works but still some issues with tap.
2013-08-26 17:22:20 -04:00
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.
2013-08-25 18:18:02 -04:00
Adam Ierymenko
8637d06e0e
It builds and it installs! Well, except for not being digitally signed. :P
2013-08-24 13:21:51 -04:00
Adam Ierymenko
e2effbd1ce
Tap driver basically builds in VS2012... fork of tap-windows from OpenVPN (compatible license).
2013-08-23 17:39:21 -04:00
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.
2013-08-22 22:33:32 -04:00
Adam Ierymenko
ca5334509c
Tap now creates Microsoft Loopback Adapter instances and tags them with a special ID... work in progress.
2013-08-22 14:30:55 -04:00
Adam Ierymenko
edad580c32
Some work on Windows tap.
2013-08-21 10:18:05 -04:00
Adam Ierymenko
2536352e5d
Make that an arbitrary tag to identify persistent taps...
2013-08-21 08:13:48 -04:00
Adam Ierymenko
dbb509a302
Add an interface description to EthernetTap, mostly for Windows.
2013-08-19 17:44:46 -04:00
Adam Ierymenko
08fe84d707
Windows builds, self test runs in Debug mode!
2013-08-14 13:23:25 -04:00
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.
2013-08-13 14:42:51 -04:00
Adam Ierymenko
95a23dc7ec
Fix for another wonderful C++ threading race condition.
2013-08-09 17:20:40 -04:00
Adam Ierymenko
8a46452a70
Move template parameter in Thread to a more logical scope location.
2013-08-08 09:19:36 -04:00
Adam Ierymenko
e73c4cb68b
Whole bunch of stuff: netconf, bug fixes, tweaks to ping and firewall opener timing code.
2013-08-06 00:05:39 -04:00
Adam Ierymenko
a7c4cbe53a
CLI debugging, got rid of nasty old Thread class and replaced with newer cleaner portable idiom.
2013-08-05 16:06:16 -04:00
Adam Ierymenko
f823fd05ac
Replace fork() with vfork() in tap config, faster.
2013-08-02 14:38:53 -04:00
Adam Ierymenko
a20b540fb0
Small compiler warning fix
2013-07-09 14:11:57 -04:00
Adam Ierymenko
ef3e319c64
Several things:
...
(1) Probable fix for issue #7 and major cleanup of EthernetTap code with consolidation for all unix-like systems and specialization for different flavors only when needed.
(2) Refactor of Buffer<> to make its members private, and Packet to use Buffer's methods exclusively to access them. This improves clarity and means we're no longer lying about Buffer's role in the code's security posture.
(3) Add -fstack-protect to Makefile to bounds check stack variables.
2013-07-09 14:06:55 -04:00
Adam Ierymenko
6eb77da094
Fix for issue #6 : OSX tap device forgets it has IPv6
2013-07-08 20:36:33 -04:00
Adam Ierymenko
e2a2d33f8f
Filter code, work in progress, wont build yet
2013-07-07 19:36:57 -04:00
Adam Ierymenko
2eaac3891e
Enable ff:ff:ff:ff:ff:ff w/no ADI a.k.a. broadcast. YOLO.
2013-07-06 15:56:12 -04:00
Adam Ierymenko
cfef114c31
Possible fix for issue #4 - segfault in ___removeIp helper function in EthernetTap on OSX -- I think the problem may have been that I was using set::erase(key) while also using an iterator, so now it uses erase(iterator). See if it happens again, cause I could not duplicate the issue. Possible minor difference in STL version.
2013-07-06 13:34:35 -04:00
Adam Ierymenko
b1adaf5902
Fix Linux build problem
2013-07-04 17:10:19 -04:00
Adam Ierymenko
150850b800
New git repository for release - version 0.2.0 tagged
2013-07-04 16:56:19 -04:00