View Single Post
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 01-08-2010 , 18:15   Re: [EXTENSION] Query Cache (AS2_INFO DoS protection)
Reply With Quote #16

Quote:
Originally Posted by devicenull View Post
Try overwriting the beginning of the string with garbage (IE, not \xFF\xFF\xFF\xFF). The server drops any packets that aren't valid, without producing errors.

AFAIK, it's gathering all the info over and over again that causes the lag, not receiving the packets.
That's an interesting idea. The method I'm using now (setting the timeout flag and returning SOCKET_ERROR) doesn't produce any spam (I haven't tested the debug build for spam yet).

True, but if we allow the packet through, it will gather the info to produce a reply.
__________________
recon0 is offline