Hi,

I'm working on adding Cisco-compatible GRE over IPv6 tunneling, and
the following patch to tcpdump makes tcpdump dissect Cisco-encapsulated
GRE-over-IPv6 packets.

The current GRE RFC (rfc2784) neither documents IPv6-over-GRE nor
GRE-over-IPv6, and there are no IETF drafts either - so it's hard to
find a normative reference.  

"It works, though" - and is simple enough to look "obviously correct".

Hannes, could you check it in, please?

gert


Index: print-ip6.c
===================================================================
RCS file: /tcpdump/master/tcpdump/print-ip6.c,v
retrieving revision 1.47
diff -u -r1.47 print-ip6.c
--- print-ip6.c 6 Apr 2005 21:32:40 -0000       1.47
+++ print-ip6.c 2 Jul 2005 09:51:03 -0000
@@ -208,6 +208,10 @@
                        (void)printf("no next header");
                        return;
 
+               case IPPROTO_GRE:
+                       gre_print(cp, len);
+                       return;
+
                default:
                        (void)printf("ip-proto-%d %d", ip6->ip6_nxt, len);
                        return;


-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [EMAIL PROTECTED]
fax: +49-89-35655025                        [EMAIL PROTECTED]
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to