Given that multi-part messages are delivered atomically: "ØMQ ensures atomic delivery of messages; peers shall receive either all message parts of a message or none at all."
Is it possible with 0MQ to ever prevent DoS from attackers flooding a socket with message parts? I'd like a scheme that I could implement an auth check on a small payload before reading subsequent payload. E.g. - Is this message coming from a trusted sender? - If yes, read the rest (encrypted or otherwise) - If no, reject subsequent data from sender In HTTP (or any streaming protocol), e.g. this is straight forward -- e.g. you can check headers before reading body and close the connection as needed before spending CPU, memory, network IO on that connection. Garrett _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
