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
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