summaryrefslogtreecommitdiff
path: root/node/IncomingPacket.cpp
AgeCommit message (Collapse)Author
2016-09-23Revocation work in progress, add WATCH which is TEE with implicit rate sync ↵Adam Ierymenko
(thanks JG@DCVC!), and clean up some cruft in Network.
2016-09-20Refactor COM stuff a bit, and respond to COM requests a bit more readily for ↵Adam Ierymenko
rapid setup. Will need to revisit later.
2016-09-13Implement relay policy, and setting multicast limit to 0 now disables ↵Adam Ierymenko
multicast on the network as would be expected.
2016-09-13Get rid of HELLO rate gate on path since its basically worthless. There are ↵Adam Ierymenko
65535 ports per IP.
2016-09-13Set trustEstablished in a few more places.Adam Ierymenko
2016-09-13Add a few more rate limit gates for anti-DOS hardening.Adam Ierymenko
2016-09-12Rate gate requests for COM.Adam Ierymenko
2016-09-09Set trust established flag in MULTICAST_GATHER.Adam Ierymenko
2016-09-09(1) Public networks now get COMs even though they do not gate with them ↵Adam Ierymenko
since they will need them to push auth for multicast stuff, (2) added a bunch of rate limit circuit breakers for anti-DOS, (3) cleanup.
2016-09-09Fix gating of multicast GATHER replies since these can come from upstream, ↵Adam Ierymenko
etc., and fix an issue with sending ECHO to recheck marginal paths.
2016-09-09More refactoring to clean up code, and add a gate function to make sure we ↵Adam Ierymenko
do not handle OK packets we did not expect. This hardens up a few potential edge cases around security, since such messages might be used to e.g. pollute a cache and DOS under certain conditions.
2016-09-08Clean up handling of COMs, network access control, and fix a backward ↵Adam Ierymenko
compatiblity issue.
2016-09-07Turns out we do not need to pass network to receive().Adam Ierymenko
2016-09-07Refactor MULTICAST_LIKE pushing to eliminate redundant and unnecessary ↵Adam Ierymenko
pushes and simplify code.
2016-09-07Use ECHO instead of HELLO where possible.Adam Ierymenko
2016-09-07Bunch more path refactoring. Peers no longer forget paths, but do not ↵Adam Ierymenko
normally use expired paths. Expired paths might still be tried if nothing else is reachable.
2016-09-06(1) fix crazy bug introduced in doRENDEZVOUS(), (2) reclaim Paths after ↵Adam Ierymenko
paths[] condense, (3) fix an edge case around symmetric NAT and external IP change detection.
2016-09-02Cluster sub-optimal is in fact necessary...Adam Ierymenko
2016-09-02Tweaks to path handling...Adam Ierymenko
2016-09-02Rest of big Path canonicalization refactor.Adam Ierymenko
2016-08-31Think through and refine a few things in rules, especially edge case TEE and ↵Adam Ierymenko
REDIRECT behavior and semantics.
2016-08-29EXT_FRAME messages should always be accepted if we are the destination for a ↵Adam Ierymenko
matching TEE or REDIRECT rule.
2016-08-24Fix a missing receive().Adam Ierymenko
2016-08-24Set trust flag in network controllers if remote query is accepted to allow ↵Adam Ierymenko
NATed network controllers to better traverse.
2016-08-24Harden PUSH_DIRECT_PATHS and simplify things by only doing it on receive ↵Adam Ierymenko
when hops>0 and trust has been established.
2016-08-23Stub out USER_MESSAGE.Adam Ierymenko
2016-08-23Instantaneous blacklisting and credential revocation.Adam Ierymenko
2016-08-23Sign Dictionary in doNETWORK_CONFIG_REQUEST.Adam Ierymenko
2016-08-23Tidy up a few minor protocol things, improve documentation in Packet.hpp.Adam Ierymenko
2016-08-17Controller fixes...Adam Ierymenko
2016-08-10Rule parse fix.Adam Ierymenko
2016-08-09Minor bug fix and some instrumentation stuff for testing.Adam Ierymenko
2016-08-09More cleanup and removal of cruft due to obsolete network-specific relays ↵Adam Ierymenko
(will be replaced with federation stuff).
2016-08-09Minor cleanup.Adam Ierymenko
2016-08-09Put CONFIG_REFRESH back.Adam Ierymenko
2016-08-09Handling of multi-part chunked network configs on the inbound side.Adam Ierymenko
2016-08-09Chunking of network config replies.Adam Ierymenko
2016-08-09Encode and decode of tags and capabilities in NetworkConfig.Adam Ierymenko
2016-08-08It builds... almost ready to test some rules engine stuff.Adam Ierymenko
2016-08-04.Adam Ierymenko
2016-08-04More cleanup and a tiny federation prep item.Adam Ierymenko
2016-08-04More cleanup and removal of DeferredPackets, will do the latter in a more ↵Adam Ierymenko
elegant way.
2016-08-04.Adam Ierymenko
2016-08-04...Adam Ierymenko
2016-08-04More work on tags and capabilities.Adam Ierymenko
2016-08-03Bunch of work on pushing and replication of tags and capabilities, and ↵Adam Ierymenko
protocol cleanup.
2016-07-26Cleanup and stub out new object transfer messages.Adam Ierymenko
2016-07-25Integration of Filter into inbound and outbound packet path.Adam Ierymenko
2016-07-21move sourceAddress out of scopeMoritz Warning
sourceAddress is used in the catch block
2016-07-12Trusted paths work!Adam Ierymenko