News for hackers. Stuff that matters.
Re:Libtins – High-level and multiplatform C++ network packet... by jzwinck on Saturday May 27, 2017 @08:39AM (#14429848)
A more charitable reading of my comment would be that I am recommending the use of "if" instead of C++ exceptions for hot-path control flow in high-performance libraries.

Heuristic construction of a packet filter based on previously seen exceptions is infeasible with the current API because rejection of the first N non-TCP packets does not guarantee rejection of the next one.

Re:Libtins – High-level and multiplatform C++ network packet... by to3m on Saturday May 27, 2017 @04:49PM (#14431901)
There appears to be an alternative API that doesn't throw exceptions: https://github.com/mfontanini/libtins/blob/37c92fcf5c83b034a...

(rfind_pdu uses it internally: https://github.com/mfontanini/libtins/blob/37c92fcf5c83b034a...)