>
Had I used prefix-length encoding then an attacker could shove a packet with an enormous size and cause DOS by overwhelming my system resources. Self-sync can prevent that by looking only for the magic separators at known locations.


Then an attacker will cause DOS by simply ommitting the magic separator :D

--
Stelian Ionescu