[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ethereal-dev
Subject:    [Ethereal-dev] patch for packet-iskamp.c - remove SafeNet vendor ID (as it is not
From:       Yaniv Kaul <ykaul () checkpoint ! com>
Date:       2003-04-28 11:54:38
[Download RAW message or body]

Correction for an error I made a while ago - the Vendor ID for Safenet 
is not as programmed in packet-isakmp.c

Diff'ed against 0.9.11

--- packet-isakmp.c.orig        Mon Apr 28 14:07:50 2003
+++ packet-isakmp.c     Mon Apr 28 14:35:52 2003
@@ -289,8 +289,6 @@

 static const guint8 VID_CYBERGUARD[VID_LEN] = {0x9A, 0xA1, 0xF3, 0xB4, 
0x34, 0x
72, 0xA4, 0x5D, 0x5F, 0x50, 0x6A, 0xEB, 0x26, 0xC, 0xF2, 0x14};

-static const guint8 VID_SAFENET[VID_LEN] = {0x44, 0x85, 0x15, 0x2D, 
0x18, 0xB6,
 0xBB, 0xCD, 0x0B, 0xE8, 0xA8, 0x46, 0x95, 0x79, 0xDD, 0xCC};
-
 static const guint8 VID_draft_ietf_ipsec_nat_t_ike_03[VID_LEN] = {0x7D, 
0x94, 0
x19, 0xA6, 0x53, 0x10, 0xCA, 0x6F, 0x2C, 0x17, 0x9D, 0x92, 0x15, 0x52, 
0x9d, 0x5
6}; /* according to 
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-nat-t-i
ke-03.txt */

 /*
@@ -960,9 +958,6 @@
   if (memcmp(pVID, VID_CYBERGUARD, isakmp_min(VID_LEN, length)) == 0)
         proto_item_append_text(pt, "Cyber Guard");
   else
-  if (memcmp(pVID, VID_SAFENET, isakmp_min(VID_LEN, length)) == 0)
-        proto_item_append_text(pt, "SafeNet");
-  else
   if (memcmp(pVID,  VID_draft_ietf_ipsec_nat_t_ike_03, 
isakmp_min(VID_LEN, leng
th)) == 0)
         proto_item_append_text(pt, "draft-ietf-ipsec-nat-t-ike-03");
   else


["packet-isakmp.c.diff" (text/plain)]

--- packet-isakmp.c.orig	Mon Apr 28 14:07:50 2003
+++ packet-isakmp.c	Mon Apr 28 14:35:52 2003
@@ -289,8 +289,6 @@
 
 static const guint8 VID_CYBERGUARD[VID_LEN] = {0x9A, 0xA1, 0xF3, 0xB4, 0x34, 0x72, \
0xA4, 0x5D, 0x5F, 0x50, 0x6A, 0xEB, 0x26, 0xC, 0xF2, 0x14};  
-static const guint8 VID_SAFENET[VID_LEN] = {0x44, 0x85, 0x15, 0x2D, 0x18, 0xB6, \
                0xBB, 0xCD, 0x0B, 0xE8, 0xA8, 0x46, 0x95, 0x79, 0xDD, 0xCC};
-
 static const guint8 VID_draft_ietf_ipsec_nat_t_ike_03[VID_LEN] = {0x7D, 0x94, 0x19, \
0xA6, 0x53, 0x10, 0xCA, 0x6F, 0x2C, 0x17, 0x9D, 0x92, 0x15, 0x52, 0x9d, 0x56}; /* \
according to http://www.ietf.org/internet-drafts/draft-ietf-ipsec-nat-t-ike-03.txt */ \
  /* 
@@ -960,9 +958,6 @@
   if (memcmp(pVID, VID_CYBERGUARD, isakmp_min(VID_LEN, length)) == 0)
         proto_item_append_text(pt, "Cyber Guard");
   else
-  if (memcmp(pVID, VID_SAFENET, isakmp_min(VID_LEN, length)) == 0)
-        proto_item_append_text(pt, "SafeNet");
-  else
   if (memcmp(pVID,  VID_draft_ietf_ipsec_nat_t_ike_03, isakmp_min(VID_LEN, length)) \
== 0)  proto_item_append_text(pt, "draft-ietf-ipsec-nat-t-ike-03");
   else


_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@ethereal.com
http://www.ethereal.com/mailman/listinfo/ethereal-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic