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

Bill Parker wp02855 at ...2499...
Fri Jul 10 12:30:16 EDT 2015


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/3be478a5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: protocol_ids.h.patch
Type: application/octet-stream
Size: 379 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20150710/3be478a5/attachment.obj>


More information about the Snort-devel mailing list