From: Victor Julien Date: Wed, 23 Jan 2019 20:17:56 +0000 (+0100) Subject: decoder: add gre over ipv6 support X-Git-Tag: suricata-4.1.3~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c140505bece2cc13d098976ff62d4878ab8ce6b7;p=thirdparty%2Fsuricata.git decoder: add gre over ipv6 support --- diff --git a/src/decode-ipv6.c b/src/decode-ipv6.c index 3f8a52124e..9ddf7b28c7 100644 --- a/src/decode-ipv6.c +++ b/src/decode-ipv6.c @@ -631,6 +631,9 @@ int DecodeIPV6(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, uint8_t *pkt, u case IPPROTO_IPV6: DecodeIP6inIP6(tv, dtv, p, pkt + IPV6_HEADER_LEN, IPV6_GET_PLEN(p), pq); return TM_ECODE_OK; + case IPPROTO_GRE: + DecodeGRE(tv, dtv, p, pkt + IPV6_HEADER_LEN, IPV6_GET_PLEN(p), pq); + break; case IPPROTO_FRAGMENT: case IPPROTO_HOPOPTS: case IPPROTO_ROUTING: