aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isakmp.c
AgeCommit message (Collapse)AuthorFilesLines
2006-12-07As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t ↵Anders Broman1-1/+1
to static. svn path=/trunk/; revision=20062
2006-12-06Dissect EAP inside ISAKMP update some strings from IANA.Anders Broman1-1/+15
(fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=777) svn path=/trunk/; revision=20054
2006-09-29Update some value_stringsAnders Broman1-9/+47
svn path=/trunk/; revision=19355
2006-09-06fix for the typo in bug 1094Ronnie Sahlberg1-1/+1
svn path=/trunk/; revision=19163
2006-09-05Fix for bug 1093, as proposed by Atsushi FukumotoJaap Keuter1-1/+1
svn path=/trunk/; revision=19152
2006-08-15Eric Fung <efung@certicom.com>Jörg Mayer1-0/+1
A very tiny patch that corrects decoding of the Next Payload field in the IKEv2 header. RFC 4306, Sec 3.2 says that a payload type of 0 means "No Next Payload" and not RESERVED. The patch just uses the same string the dissector uses for IKEv1, namely, "NONE". svn path=/trunk/; revision=18914
2006-08-10efung@certicom.com:Jörg Mayer1-2/+11
Patch adding MOBIKE support to packet-isakmp.c svn path=/trunk/; revision=18862
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-04-18Fix for bug 875. Adding description for groups 19-26.Jaap Keuter1-1/+9
svn path=/trunk/; revision=17895
2006-02-11Squelch some compiler warnings.Guy Harris1-1/+3
svn path=/trunk/; revision=17250
2006-02-09Add decryption support. For this to work, you MUST link againstGerald Combs1-128/+695
the Nettle library and specify a Pluto log file in the preferences. The Pluto log MUST include the encryption key used in each phase. Add filters for many fields (and get rid of a lot of proto_tree_add_text()s in the process). Fix up whitespace. Sponsored by CableLabs. svn path=/trunk/; revision=17229
2006-01-16done:Jörg Mayer1-3/+0
packet-ntp.c: Rather confused and incorrect use of g_snprintf return value packet-pim.c: whitespace change packet-icmpv6.c: g_snprintf takes trailing \0 into account, fix off by 1 error packet-clnp.c: Fix incorrect use of g_snprintf return value packet-isakmp.c: g_snprintf takes trailing \0 into account packet-tr.c: Fix incorrect use of g_snprintf return value packet-radius.c: Fix incorrect use of g_snprintf return value packet-radius.h: constify a string variable packet-ldap.c: The return value isn't needed, so don't use it incorrectly packet-tcp.c: Fix incorrect use of g_snprintf return value packet-windows-common.c: Remove unneeded DISSECTOR_ASSERT packet-smb-sidsnooping.c: g_snprintf takes trailing \0 into account packet-pvfs2.c: g_snprintf takes trailing \0 into account packet-ptp.c: Remove #include snprintf packet-ppp.c: Fix incorrect use of g_snprintf return value packet-ospf.c: Fix incorrect use of g_snprintf return value packet-mip6.c: snprintf -> g_snprintf packet-bootp.c: Remove a commented out bad use of g_snprintf packet-ber.c: snprintf -> g_snprintf, g_snprintf takes trailing \0 into account 2do: 52 packet-ieee80211.c: 2DO 2 packet-nfs.c: 2DO - too many side effects 33 packet-bgp.c: 2DO 18 packet-dns.c: 2DO 14 packet-dcm.c: 2DO 13 packet-x11.c: 2DO 11 packet-kerberos.c: 2DO 10 packet-diameter.c: 2DO 9 packet-snmp.c: 2DO 9 packet-pgm.c: 2DO 7 packet-nbns.c: 2DO 6 packet-fcswils.c: 2DO 5 packet-wccp.c: 2DO 5 packet-cops.c: 2DO 4 packet-wtp.c: 2DO svn path=/trunk/; revision=17038
2005-12-22add decoding of RFC3947 which should fix bug 513Ronnie Sahlberg1-0/+10
svn path=/trunk/; revision=16883
2005-10-12From Shoichi SakaneAnders Broman1-48/+68
svn path=/trunk/; revision=16200
2005-09-24Squelch some compiler warnings.Guy Harris1-5/+5
svn path=/trunk/; revision=15991
2005-09-24That code was never even compiled for testingJörg Mayer1-1/+0
svn path=/trunk/; revision=15988
2005-09-24Shoichi Sakane:Jörg Mayer1-25/+60
Hi, I fixed some bugs to decoding IKEv2 payloads. the following things have been checked at the IPsec bake off in Toronto this week. - fixed decoding IP address in TS payload - fixed decoding IPv6 address in ID payload - fixed decoding IKEv2 Delete payload - SPI printing svn path=/trunk/; revision=15987
2005-09-11Replace tvb_memcpy() calls that extract IPv4 addresses into a guint32,Guy Harris1-3/+2
and that extract IPv6 addresses into a "struct e_in6_addr", with tvb_get_ipv4() and tvb_get_ipv6() calls - except for some that we remove, by using proto_tree_add_item(), rather than replacing. Have epan/tvbuff.h include epan/ipv6-utils.h, to define "struct e_in6_addr" (not necessary to declare the tvbuff routines, but including it there means "struct e_in6_addr" is guaranteed to be defined before those declarations, so we don't get compiler complaints if we define it *after* those declarations). svn path=/trunk/; revision=15758
2005-08-17snprintf -> g_snprintfUlf Lamping1-7/+3
svn path=/trunk/; revision=15398
2005-08-01Break out of a loop before we exhaust system memory.Gerald Combs1-1/+1
svn path=/trunk/; revision=15163
2005-07-30More char -> const char fixesJörg Mayer1-1/+1
Declare some functions static svn path=/trunk/; revision=15158
2005-07-22fix some bugs in a value stringRonnie Sahlberg1-3/+3
this fixes bug 291 svn path=/trunk/; revision=14983
2005-07-22fix for bug 290Ronnie Sahlberg1-0/+1
v2 exchange code 37 is "INFORMATIONAL" svn path=/trunk/; revision=14982
2005-07-20fix for bug 285Ronnie Sahlberg1-0/+15
decode isakmp nat keepalive packets properly svn path=/trunk/; revision=14964
2005-07-14ISAKMP version2 has changed the payload format of a CertificateRequest.Ronnie Sahlberg1-8/+34
In version 2 this is just a concatenation of 20 byte SHA-1 hashes with no other encxapsulation. this resolves bug 281 svn path=/trunk/; revision=14917
2005-06-16Static variables considered harmful. Make the ISAKMP version aGuy Harris1-108/+117
parameter to many functions inside the ISAKMP dissector, as well as to the "isakmp_dissect_payloads()" routine it exports. Get rid of "isakmp_set_version()", as the version can be passed to "isakmp_dissect_payloads()" from the KINK dissector. Put the declaration of "isakmp_dissect_payloads()" into a "packet-isakmp.h" header, and have "packet-isakmp.c" and "packet-kink.h" include it rather than declariing "isakmp_dissect_payloads()" itself - or not doing so at all. svn path=/trunk/; revision=14648
2005-05-27From T.NakashimaRonnie Sahlberg1-0/+21
updates to KINK svn path=/trunk/; revision=14453
2005-03-29Add a tvb_ensure_bytes_exist() and fix a few other offset-related bugs.Gerald Combs1-3/+4
svn path=/trunk/; revision=13974
2005-03-21The table containing payload types and payload dissectors are now sparseGuy Harris1-11/+4
tables that are searched rather than dense tables that are indexed, so there's no reason to tread payload types 130 and 131 specially. svn path=/trunk/; revision=13844
2005-03-21bugfix (hopefully make buildbot happy again): don't call a function pointer, ↵Ulf Lamping1-1/+1
if it's NULL However, handling of payload 130 and 131 at that place still seems to be bogus to me svn path=/trunk/; revision=13839
2005-03-20Fix some offsets.Guy Harris1-5/+5
svn path=/trunk/; revision=13835
2005-03-20remove some MSVC warningsUlf Lamping1-3/+3
svn path=/trunk/; revision=13824
2005-03-16Get rid of some redundant tests that cause compiler warnings.Guy Harris1-8/+8
svn path=/trunk/; revision=13774
2005-03-15fix a compiler warningRonnie Sahlberg1-0/+2
svn path=/trunk/; revision=13761
2005-03-15ikev2 support from Shoichi SakaneRonnie Sahlberg1-466/+1147
svn path=/trunk/; revision=13760
2004-11-29Add another length check.Gerald Combs1-0/+6
svn path=/trunk/; revision=12621
2004-11-29Get rid of a debug message.Guy Harris1-1/+0
svn path=/trunk/; revision=12620
2004-11-29Check for an overly large header length value in order to avoid an integer Gerald Combs1-4/+11
overflow. svn path=/trunk/; revision=12619
2004-11-25from Stig: change the draft number for NAT-DRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=12602
2004-09-29Move various tables into the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12130
2004-09-21From Yaniv Kaul:Guy Harris1-52/+95
1. Fix dissection of Check Point vendor ID version field. The length was wrong. 2. Added dissection of payloads 130 and 131, which were used in early NAT-T drafts (and are still used by MS and others). They are equal to payloads 15 & 16, (NAT-D, NAT-OA), respectively. 3. Added ASN.1 decoding of Certificate requests of type X.509 Certificate - Signature (4) 4. Added ASN.1 decoding of ID of type ID_DER_ASN1_DN (9) svn path=/trunk/; revision=12059
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1720
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410