summaryrefslogtreecommitdiff
path: root/node/Network.cpp
AgeCommit message (Collapse)Author
2014-10-14Get rid of rescanMulticastGroups() in Network thread since this can ↵Adam Ierymenko
deadlock... the fact that this can happen is probably bad design.
2014-10-14More fixes to legacy support, and to a potential issue on quit.Adam Ierymenko
2014-10-10(1) Back off a little on default max multicast limit since 128 is pretty ↵Adam Ierymenko
bandwidth heavy, (2) add a little to default multicast rate limit since new MC algo is fairerererer, (3) decided not to involve netconf masters in multicast so take that out of list of who gets LIKEs.
2014-10-09Reorg multicast packet, and a whole bunch of refactoring around the pushing ↵Adam Ierymenko
of certificates of membership.
2014-10-04Pull logic to always send new multicasts to supernode since we need to do ↵Adam Ierymenko
that differently, re-add support for active bridges, and remove some gratuitous use of std::set where not needed.
2014-10-03Announce multicast group changes on network rescanMulticastGroups()Adam Ierymenko
2014-10-03Add test network support to Network.Adam Ierymenko
2014-10-02Improve security posture by eliminating non-const data() accessor from Buffer.Adam Ierymenko
2014-09-30Add origin to new MULTICAST_FRAME, move security check for certs into ↵Adam Ierymenko
Network to remove redundant code and bug-proneness, more work on IncomingPacket...
2014-09-30Multicaster needs to be global, not per-network, and a bunch of other stuff.Adam Ierymenko
2014-09-30Everything in for new multicast except IncomingPacket parsing...Adam Ierymenko
2014-09-26Some Network code cleanup.Adam Ierymenko
2014-09-25Most of new multicast code builds... now on to packet parsing.Adam Ierymenko
2014-09-25.Adam Ierymenko
2014-09-24Rename the ubiquitous _r pointer to RuntimeEnvironment to RR just to be a ↵Adam Ierymenko
little more consistent about using _ to denote private member variables.
2014-09-24.Adam Ierymenko
2014-09-23Make MulticastTopology have its own mutex.Adam Ierymenko
2014-09-22Yet more WIP on mulitcast algo...Adam Ierymenko
2014-09-18Work on defining new direct broadcast multicast algorithm.Adam Ierymenko
2014-09-05IP assignment and change cleanup -- leave IPs that were never configured via ↵Adam Ierymenko
ZT static assignment alone.
2014-08-21Another fix to Network life cycle.Adam Ierymenko
2014-08-21Fix for crazy Windows threading bug... repeatedly adding and removing a ↵Adam Ierymenko
network now doesn't leave networks in limbo.
2014-08-12(1) Tweak LAN locator beacon frequencies, (2) Windows virtual networksAdam Ierymenko
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.
2014-08-07Windows compile fixes, compiler warning fix, unfreed memory fix in main.c ↵Adam Ierymenko
(though it would not have mattered since program exits immediately after).
2014-08-07Compile for for TRACE, remove old TESTNET cruft.Adam Ierymenko
2014-07-31Tons of code cleanup, refactor Network to use EthernetTapFactory, probably ↵Adam Ierymenko
also fix GitHub issue #90
2014-06-26Add enabled/disabled status to network.Adam Ierymenko
2014-06-14Simplify network briding modes -- we only need passive toggle and active ↵Adam Ierymenko
bridge list, not three mode types. Also change isOpen to isPublic for terminology consistency.
2014-06-13Network memory for bridge-side multicast groups that we learn - GitHub issue #68Adam Ierymenko
2014-06-10Bridge routing table - GitHub issue #68Adam Ierymenko
2014-05-23GitHub issue #67Adam Ierymenko
2014-05-23GitHub Issue #69 - make MAC assignment schema differ between virtual networks.Adam Ierymenko
2014-04-09.... aaaaaand... GitHub issue #61 was caused by the fact that we were no ↵Adam Ierymenko
longer deleting taps on Windows!
2014-04-07Builds and runs on Unix with EthernetTap changes, now for Windows... and for ↵Adam Ierymenko
what we did this for: a refactor of the Windows tap connector.
2014-03-20Fix blocking socket issues in new socket I/O code.Adam Ierymenko
2014-03-06Fix crash on uninitialized taps.Adam Ierymenko
2014-02-16Boring stuff: update dates in copyrights across all files.Adam Ierymenko
2014-02-11Fix for GitHub issue #37: remember *nix device names.Adam Ierymenko
2014-01-27Fix a couple compile items.Adam Ierymenko
2014-01-27Make EthernetTap creation occur in a background thread in Network since it's ↵Adam Ierymenko
a time consuming operation on Windows. This fixes one of the last remaining Windows problems.
2014-01-26Delete persistent tap device on Windows when we leave a network.Adam Ierymenko
2014-01-26Lock down individual files in networks.d instead of directory since ↵Adam Ierymenko
directory ACLs are more complex on Windows.
2014-01-21Several things:Adam Ierymenko
(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.
2013-10-25Add some more TRACE output for certs.Adam Ierymenko
2013-10-24More tying up of certificate of membership stuff in the client.Adam Ierymenko
2013-10-21Peers are now dumped on shutdown in a persistence cache and reloaded on ↵Adam Ierymenko
startup, which is good enough for clients right now. Supernodes will get something else for long-term authoritative identity caching.
2013-10-18Work in progress...Adam Ierymenko
2013-10-17Netconf support for ARP and NDP caching TTLs.Adam Ierymenko
2013-10-17Take the 0.6.0 opportunity to add flags to a few protocol verbs and do a bit ↵Adam Ierymenko
more cleanup. Also fix it so certificates wont be accepted unless they are newer than existing ones.
2013-10-16Lots of cleanup, more work on certificates, some security fixes.Adam Ierymenko