# add detect bad tcp options ?

**URL:** <https://community.zeek.org/t/add-detect-bad-tcp-options/528>\
**Category:** Zeek\
**Created:** [June 27, 2004, 11:21pm UTC](https://community.zeek.org/t/add-detect-bad-tcp-options/528 "2004-06-27T23:21:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vern](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/vern/32/630_2.png) [@Vern](https://community.zeek.org/u/Vern)\
**Post date:** [June 27, 2004, 11:21pm UTC](https://community.zeek.org/t/add-detect-bad-tcp-options/528/1 "2004-06-27T23:21:49Z")

</div>

> I received this packet,  
> but bro not detect bad tcp options,  
> possible pb on bro ?  
> because 'bad tcp cksum' ?

If the TCP checksum is bad, then the packet is ill-formed. It does not  
make sense in that case to complain about a bad option, since the packet  
cannot be processed in any case.

> why bro detect OTH ?

Because the connection is not in a well-defined state. Bro does \*not\*  
consider it to have corresponded to a SYN being sent, because the packet  
carrying the SYN was ill-formed. For all it can tell, part of the damage  
to the packet might have been to the control flags, and the SYN setting  
is bogus.

&nbsp;&nbsp;&nbsp;&nbsp;Vern

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:37pm UTC](https://community.zeek.org/t/add-detect-bad-tcp-options/528/2 "2022-05-06T15:37:03Z")

</div>

Closed on May 6, 2022, 3:37pm UTC


