[Snort-devel] Addition of protocol IP MOBILITY v6 in file 'protocol_ids.h'

Hui Cao (huica) huica at ...3461...
Fri Jul 10 13:45:56 EDT 2015

Hi Bill,

We will take a look at this issue.


From: Bill Parker <wp02855 at ...2499...<mailto:wp02855 at ...2499...>>
Date: Friday, July 10, 2015 at 12:30 PM
To: "snort-devel at lists.sourceforge.net<mailto:snort-devel at ...362....net>" <snort-devel at lists.sourceforge.net<mailto:snort-devel at ...2763...rge.net>>
Subject: [Snort-devel] Addition of protocol IP MOBILITY v6 in file 'protocol_ids.h'

Hello All,

   In reviewing protocols_ids.h and comparing it against other open
source products and /etc/protocols, I found that IP protocol 135
which is:

mobility-header 135     Mobility-Header # Mobility Support in IPv6

is missing in file 'protocol_ids.h', but IP protocol 55 which is
IP Mobility for IPv4 is defined.  The patch file below adds this
to protocol_ids.h:

--- protocol_ids.h.orig 2015-07-09 19:52:32.000000000 -0700
+++ protocol_ids.h      2015-07-09 19:54:29.000000000 -0700
@@ -62,6 +62,7 @@
 constexpr uint16_t IPPROTO_ID_ICMPV6 = 58;
 constexpr uint16_t IPPROTO_ID_NONEXT = 59;
 constexpr uint16_t IPPROTO_ID_DSTOPTS = 60;
+constexpr uint16_t IPPROTO_ID_MOBILITYV6 = 135;
 constexpr uint16_t IPPROTO_ID_RESERVED = 255; // == 0xFF

 I am attaching the patch file to this bug report...

 Bill Parker (wp02855 at gmail dot com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20150710/a4f6f983/attachment.html>

More information about the Snort-devel mailing list