Snort mailing list archives

[PATCH 1/5]: byte_test: support bitwise OR


From: <Joshua.Kinard () us-cert gov>
Date: Thu, 28 Apr 2011 23:41:03 -0500


Hi snort-devel,

The attached patch adds bitwise OR support for byte_test.  Bitwise AND
and bitwise XOR is already supported**, thus I figure bitwise OR can't
hurt.  I cannot yet think of a use for it, but I'm sure someone out
there has pondered it.

Note: The manual calls bitwise XOR "OR".  This is fixed in a follow-on
patch to the manual.

Note: Please double check-this for accuracy.  There appears to be a fair
bit of duplicated code in Snort, so I hope I hit all the right places.
A patch specific to dcerpc2 will follow for this feature and a few
others.


Cheers!,

--J

Attachment: snort-2905-byte_test-OR.patch
Description: snort-2905-byte_test-OR.patch

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel

Current thread: