Snort mailing list archives

Re: Addition of protocol IP MOBILITY v6 in file 'protocol_ids.h'


From: "Hui Cao (huica)" <huica () cisco com>
Date: Fri, 10 Jul 2015 17:45:56 +0000

Hi Bill,

We will take a look at this issue.

Best,
Hui.

From: Bill Parker <wp02855 () gmail com<mailto:wp02855 () gmail com>>
Date: Friday, July 10, 2015 at 12:30 PM
To: "snort-devel () lists sourceforge net<mailto:snort-devel () lists sourceforge net>" <snort-devel () lists 
sourceforge net<mailto:snort-devel () lists sourceforge 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)
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

Current thread: