mirror of https://github.com/OISF/suricata
GRE: Handling pptp without payload
If one of the ppp peers sends a packet with an acknowledge flag, the ppp payload will be empty and DecodePPP will return TM_ECODE_FAILED. To handle this case, the packet_length field in the GRE extended header (https://tools.ietf.org/html/rfc2637#section-4.1) is used. DecodeGRE no longer tries to parse PPP payload if packet_length is zero.pull/6324/head
parent
16a21d7839
commit
e89e563eb4
Loading…
Reference in New Issue