summaryrefslogtreecommitdiff
path: root/node/PacketDecoder.cpp
AgeCommit message (Collapse)Author
2014-06-30Keep track of basic aliveness for peers regardless if direct or indirect ↵Adam Ierymenko
connectivity and use this for multicast propagation. Also consolidate adding of active bridges via the same functor as regular multicast next hops.
2014-06-23Some comment revisions and additional sanity checks.Adam Ierymenko
2014-06-21.Adam Ierymenko
2014-06-18Some cleanup in PacketDecoder.Adam Ierymenko
2014-06-17Some logging fixes.Adam Ierymenko
2014-06-13Bridging pretty much ready to test! Got Switch all wired up. Also fix a ↵Adam Ierymenko
latent probably-never-triggered bug in MULTICAST_FRAME handling. GitHub issue #68
2014-06-12Add flags to EXT_FRAME for better future proofness.Adam Ierymenko
2014-06-10Packet decoder work for EXT_FRAME for bridging - GitHub issue #68Adam Ierymenko
2014-06-10Protocol messages for bridging. GitHub issue #68Adam Ierymenko
2014-05-24Netconf fixes.Adam Ierymenko
2014-05-23GitHub Issue #69 - make MAC assignment schema differ between virtual networks.Adam Ierymenko
2014-04-10Probable fix for GitHub issue #63 - do not unite() if either path is TCP, ↵Adam Ierymenko
since doing so can result in asymmetric failed NAT-t over UDP if one side has a firewall that permits outgoing UDP but not incoming.
2014-04-01More tweaks to algorithm for determining when to fail over to TCP, and stop ↵Adam Ierymenko
supernodes from resynchronizing unless explicitly ordered.
2014-03-31Oops... turns out we need to differentiate incoming from outgoing TCP and ↵Adam Ierymenko
indeed learn incoming TCP paths. Otherwise the recipient of a TCP connection does not know to reply via TCP! Heh.
2014-03-21A few renamings to be consistent.Adam Ierymenko
2014-03-21Builds with new Path code.Adam Ierymenko
2014-03-20MULTICAST_FRAME TRACE improvements.Adam Ierymenko
2014-03-20More deadlock fixes in new I/O.Adam Ierymenko
2014-03-19Fix TRACE bug and new UDP socket code issue.Adam Ierymenko
2014-03-19IPC changes and SocketManager changes all build!Adam Ierymenko
2014-02-16Boring stuff: update dates in copyrights across all files.Adam Ierymenko
2014-02-03Yank a code path it turns out we probably don't want.Adam Ierymenko
2014-01-30Bunch of fixes to startup, pinging, and choice of route. Also some TRACE ↵Adam Ierymenko
updates.
2014-01-29Some TRACE cleanup.Adam Ierymenko
2014-01-29TRACE NOP receipt.Adam Ierymenko
2014-01-28Yank PROBE stuff since it's not used and was a premature addition to the ↵Adam Ierymenko
protocol.
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-17Windows build fixes.Adam Ierymenko
2014-01-07Update URLs for auto-update, check supernode version in one more place, ↵Adam Ierymenko
delete pid before executing updater.
2013-12-31TRACE output improvements and compile fix.Adam Ierymenko
2013-12-31Fix several things:Adam Ierymenko
(1) The changes to path learning in the two previous releases were poorly thought out, and this version should remedy that by introducing PROBE. This is basically a kind of ECHO request and is used to authenticate endpoints that are not learned via a valid request/response pair. Thus we will still passively learn endpoints, but securely. (2) Turns out there was a security oversight in _doHELLO() that could have permitted... well... I'm not sure it was exploitable to do anything particularly interesting since a bad identity would be discarded anyway, but fix it just the same.
2013-12-26Bump version to 0.6.4 for testing, integrate software updater auto-check ↵Adam Ierymenko
into PacketDecoder decode path and main loop.
2013-12-24Fix for GitHub issue #20 (untested)Adam Ierymenko
2013-12-22docsAdam Ierymenko
2013-10-25Certificate of membership works now... had to fix multicast propagation so ↵Adam Ierymenko
COM is pushed with multicast, which makes tremendous sense in retrospect.
2013-10-25Add some more TRACE output for certs.Adam Ierymenko
2013-10-21Version 0.6.1: minor bug fix, DBM removalAdam Ierymenko
This version removes the peer DBM present in earlier releases. It is not necessary for regular clients and has been a source of problems. There is a long-term identity cache that can be enabled by making a directory called "iddb.d" in the home folder and restarting ZT1. This is probably something only our supernodes would need, since regular nodes can easily WHOIS peers they've forgotten about. On shutdown, the peer database is dumped to disk. It's then restored on startup. Peers that have not been used in a while are cleaned out, so this keeps this data set small. A DBM may re-appear later if it's needed, but for now it was YAGNI.
2013-10-21Add persistent identity caching for use on supernodes. Activate by just ↵Adam Ierymenko
making an iddb.d directory in the ZeroTier home folder. Also clean up some obsolete cruft from makefiles.
2013-10-18Bug fixes: inverted sense bug, printf format bug.Adam Ierymenko
2013-10-18Clean up some stuff, including a few spots where exceptions were not being ↵Adam Ierymenko
handled correctly.
2013-10-18Clean up the awful Network::Config mess and break that out into NetworkConfig.Adam Ierymenko
2013-10-18Work in progress on cleaning up netconf mess in node code...Adam Ierymenko
2013-10-17Increase verbosity of multicast tracing and fix tap build problem / GitHub ↵Adam Ierymenko
Issue #19
2013-10-17Get rid of not used and maybe never to be used Filter code.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-17Add support for pushing network config refresh hints from a MEMORY queue ↵Adam Ierymenko
table. That ways it will be possible for network changes to take effect almost immediately across all active peers.
2013-10-16Lots of cleanup, more work on certificates, some security fixes.Adam Ierymenko
2013-10-07Auto-pushing of membership certs on: MULTICAST_FRAME,FRAME,MULTICAST_LIKE ↵Adam Ierymenko
and on receipt of MULTICAST_LIKE.
2013-10-07Rename error code for no membership certificate.Adam Ierymenko
2013-10-05Remove a whole bunch of now-unnecessary cruft from Topology and PacketDecoder.Adam Ierymenko