|
|||||||||||
|
Re: [Snort-sigs] Announcing sp_perl
From: Chris Green <cmg(at)sourcefire.com>
Date: Mon May 12 2003 - 09:05:50 EDT Jeff Nathan <jeff@snort.org> writes: > As described in our CanSecWest/core03 presentation, Advanced IDS, Brian
Religious issues aside,
should be checked
2)
That could be switched to dsize and usually average a 500 byte memset. 3) tmp_payload[p->dsize - 1] ='\0'; that ends up being tmp_payload[0xFFFFFFFF] = '\0' on 0 byte packets.
4) dinky optimization
snprintf(srcport, 6, "%hu", 0);
snprintf(dstport, 6, "%hu", 0);
can be just
srcport = "0";
dstport = "0";
I don't have enough time to look understand the rest. -- Chris Green ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Snort-sigs mailing list Snort-sigs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/snort-sigs
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:08:27 EDT |
||||||||||
|
|||||||||||