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
335733f110
Build fixes for *nix
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
e0bdc02139
Docs, Node picks a default home folder if created with NULL as its home path, and add binary tap drivers (self-signed for now).
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
b6248c7cb7
VERSION 0.4.4: multicast cleanup, Windows port work
...
In addition to a lot of Windows port work that isn't finished yet (and doesn't
affect the *nix platforms at all), this version contains quite a bit of multicast
cleanup and code simplification.
I also pulled rate limits for now, as it seems to be causing problems. More testing
on the testnet is going to be needed.
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
a0a9d52213
Bug fix in multicast changes.
13 years ago
Adam Ierymenko
2efc9b31bd
Huge convoluted logic de-tangling in multicast propagation, supernodes now do random propagation for more efficient coverage with less bias in sparse graph cases.
13 years ago
Adam Ierymenko
1d9977b8b9
A bit of code comment cleanup.
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
150a53eb17
Self test almost builds, now need skeleton EthernetTap implementation for Windows.
13 years ago
Adam Ierymenko
fc18334dbb
Version 0.4.3 (the real one): 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.
Finally, the multicast rate limit defaults were raised a little. More
testing is needed here, and real world measurments.
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
ce1a03bde3
Fix a *nix build issue.
13 years ago
Adam Ierymenko
d6414c9ff7
Windows compiles! (w/Visual Studio 2012) That's about all it does, but it's a start.
13 years ago
Adam Ierymenko
5076c75b07
More Windows port work.
13 years ago
Adam Ierymenko
36af3d92ec
Windows build work: condition, mutex, thread, udp socket...
13 years ago
Adam Ierymenko
f5d77a1bc2
Clean up a bunch of valgrind errors, nix a potentially unsafe op in Buffer assignment operator.
13 years ago
Adam Ierymenko
93a7eef2a5
Replace libcrypto RAND_ with our own to avoid valgrind errors.
13 years ago
Adam Ierymenko
67acba4bc9
Stop using RAND_ in libcrypto for Utils::getSecureRandom() due to annoying valgrind spew from libcrypto use of uninitialized RAM as a random source. Might look into replacing RAND_ in libcrypto with our own simple /dev/urandom / Windows CAPI plugin.
13 years ago
Adam Ierymenko
9979474f1e
Add range safety check to EllipticCurveKey.
13 years ago
Adam Ierymenko
95a23dc7ec
Fix for another wonderful C++ threading race condition.
13 years ago
Adam Ierymenko
7c3a446499
Tweak default multicast rate limits.
13 years ago
Adam Ierymenko
6a24ac4f00
Add a concept of debt to RateLimiter, save a bit of RAM.
13 years ago
Adam Ierymenko
3af55f4423
Add RateLimiter for rate limiting multicast, not tested yet.
13 years ago
Adam Ierymenko
95c0790a88
Back off a little on multicast propagation depth. Eventually this will be a network parameter.
13 years ago
Adam Ierymenko
5cabb60a6f
Actually report a meaningful network status instead of always OK
13 years ago
Adam Ierymenko
86056fdbd9
Generalize unlink to OS-dep code in Utils, just a little prep for Windows port.
13 years ago
Adam Ierymenko
8a46452a70
Move template parameter in Thread to a more logical scope location.
13 years ago
Adam Ierymenko
e98fd3dba0
Add code to automatically join Earth if no network memberships are defined.
13 years ago
Adam Ierymenko
f5717f4427
Fix a bug and wow, it works.
13 years ago
Adam Ierymenko
5f8a3f4a7f
More detail and output improvements to command bus "listpeers," and a little cleanup.
13 years ago
Adam Ierymenko
499ac2699f
Bit of comment and if nesting cleanup in PacketDecoder.
13 years ago
Adam Ierymenko
b342f56bec
Network constructor deuglification, remove unused old encrypt/decrypt methods from Identity.
13 years ago
Adam Ierymenko
28a73b620e
Bunch more debugging and loop closing on new netconf.
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
c9c63074bb
CLI communication now working.
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