…security feature from CryptoAuth which is redundant and ineffective
…eturning space on the stack
…leaking in error packets. Previously, Ducttape could return an error which would cause the SwitchCore to send back an error packet to the original sender of the message so conceivably there could have been a security issue where some packets were decrypted and sent back over the wire. In practice Ducttape only actually returned an error if there was an AUTHENTICATION error and Error_AUTHENTICATION is only returned by CryptoAuth itself and only before the content is decrypted so this was not actually an issue but that was only because of luck. This patch changes SwitchCore to never send anything over the wire except that which came in, no matter what the return value is from the upper layer so this class of bug is not possible.
…tain redundant routes.
…ion handler to throw in case of buffer overflow.
…allow any new nodes unless they are behind a direct peer.
Revert "Log if a packet's dest is larger than it's src, based on my reasoning this should never actually happen." This reverts commit b263fe7.
… this should never actually happen.
…tor and reader/writer.
…ng, refactored to use macro.
… (state caused by stray packets) on to the MultiInterface. Added test. Fixed bugs with OSX TUN handling.