# Compare data between different packets

**URL:** <https://forum.suricata.io/t/compare-data-between-different-packets/997>\
**Category:** Rules\
**Created:** [January 20, 2021, 2:13pm UTC](https://forum.suricata.io/t/compare-data-between-different-packets/997 "2021-01-20T14:13:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![volnodumcev](https://avatars.discourse-cdn.com/v4/letter/v/ecae2f/32.png) [@volnodumcev](https://forum.suricata.io/u/volnodumcev)\
**Post date:** [January 20, 2021, 2:13pm UTC](https://forum.suricata.io/t/compare-data-between-different-packets/997/1 "2021-01-20T14:13:21Z")

</div>

Please give me a hand with one task. I need to compare Timestamp field between Goose protocol packets to prevent a replay attack. Can I solve it using Suricata rules?
