Security #4512 » 0001-stream-tcp-avoid-evasion-by-sending-crafted-SYN-pack.patch
| src/stream-tcp.c | ||
|---|---|---|
|     /* broken TCP http://ask.wireshark.org/questions/3183/acknowledgment-number-broken-tcp-the-acknowledge-field-is-nonzero-while-the-ack-flag-is-not-set */ | ||
|     if (!(p->tcph->th_flags & TH_ACK) && TCP_GET_ACK(p) != 0) { | ||
|         StreamTcpSetEvent(p, STREAM_PKT_BROKEN_ACK); | ||
|         goto error; | ||
|       StreamTcpSetEvent(p, STREAM_PKT_BROKEN_ACK); | ||
|       if (!(p->tcph->th_flags & TH_SYN)) | ||
|           goto error; | ||
|     } | ||
|     /* If we are on IPS mode, and got a drop action triggered from | ||
- « Previous
- 1
- 2
- Next »