[Snort-devel] [PATCH 1/5]: byte_test: support bitwise OR

Joshua.Kinard at ...3108... Joshua.Kinard at ...3108...
Fri Apr 29 00:41:03 EDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snort-2905-byte_test-OR.patch
Type: application/octet-stream
Size: 4492 bytes
Desc: snort-2905-byte_test-OR.patch
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20110428/818abf3d/attachment.obj>


More information about the Snort-devel mailing list