[Snort-users] Comparison of extracted value between packets

Patrick Mullen pmullen at ...1935...
Tue Dec 16 10:04:40 EST 2014

> In a flow-bit based rule, is it possible to extract value from packet A
and compare (byte_test) with a value in packet B.

The short answer is "no."

The medium answer is "well, it depends.  Are both packets coming from the
same host and going to the same host and is the stream reassembled, thereby
(potentially) putting the two values into the same reassembled packet?"

The long answer is "with shared object rules, all things are possible."

Sorry the answer is somewhat vague, but your question doesn't have enough
information to give a complete answer.  I would potentially need a pcap and
a clear description of what you're trying to do to give you a better answer.


Patrick Mullen
Response Research Manager
Sourcefire VRT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20141216/f31dc95d/attachment.html>

More information about the Snort-users mailing list