aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isakmp.c
AgeCommit message (Collapse)AuthorFilesLines
2008-06-10From Alex Badea:Anders Broman1-79/+66
Migrate ISAKMP packet decryption from libnettle to libgcrypt svn path=/trunk/; revision=25438
2008-05-22Move the file utility functions from wiretap to libwsutil so thatJeff Morriss1-2/+2
libwireshark (and the plugins using those functions) do not depend on wiretap on Windows. While doing that, rename the eth_* functions to ws_*. svn path=/trunk/; revision=25354
2008-01-22Add another vendor idJörg Mayer1-0/+5
svn path=/trunk/; revision=24160
2007-11-07Add VID VID_draft_ietf_ipsec_nat_t_ike_01, moveJörg Mayer1-5/+10
VID_draft_ietf_ipsec_nat_t_ike_03 a bit down. svn path=/trunk/; revision=23391
2007-11-07Print VendorID string in payload summary lineJörg Mayer1-106/+132
svn path=/trunk/; revision=23388
2007-10-28from Gisele Vanem:Jaap Keuter1-0/+1
This needs file_util.h if HAVE_LIBNETTLE is defined. svn path=/trunk/; revision=23294
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-1/+1
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe svn path=/trunk/; revision=23252
2007-10-16Change more fopen() to eth_fopen() to finish fixing bug 1827:Jeff Morriss1-1/+1
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1827 Update README.developer to tell developers not to use fopen() and friends directly. svn path=/trunk/; revision=23206
2007-09-14Move the fragmentation info and the defragmented isakmp messageJörg Mayer1-76/+71
to the top level tree. svn path=/trunk/; revision=22873
2007-09-14Small cleanupJörg Mayer1-17/+8
svn path=/trunk/; revision=22872
2007-09-13- Resassemble Cisco ike fragementationJörg Mayer1-34/+134
- Rename some variables from ike to isakmp to make things consistent (not right, just consistent) svn path=/trunk/; revision=22865
2007-09-12If we find a fragmented ike packet, dissect the stuffJörg Mayer1-3/+12
that fits into the first fragment. svn path=/trunk/; revision=22851
2007-09-08- Slightly improved dissection of Cisco's fragmented ISAKMP.Jörg Mayer1-1/+57
- Corrected misdetection of CISCO-UNITY VID. svn path=/trunk/; revision=22828
2007-08-26Undo last commit. It's not yet clear to my why isakmp trafficJörg Mayer1-2/+0
after nat-t isn't matched by a isakmp display filter, but this approach wrong. svn path=/trunk/; revision=22670
2007-08-26Isakmp runs over port 4500 (natt) as wellJörg Mayer1-0/+2
svn path=/trunk/; revision=22669
2007-08-24Decode certificatesJörg Mayer1-2/+10
svn path=/trunk/; revision=22626
2007-08-21Change COPY_ADDRESS to SE_COPY_ADDRESS: all of these appear to have ↵Jeff Morriss1-4/+4
"seasonal" scope (e.g., they are used in conversations or similar). svn path=/trunk/; revision=22573
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-2/+7
svn path=/trunk/; revision=21753
2007-04-14fix MacOSX gcc-3.3 warnings about unused tfs/value_string variablesSebastien Tandel1-1/+1
most have been tagged unused (few have been deleted if dissector has not been modified since a long time) move packet-ssl-utils.c to DISSECTOR_SRC svn path=/trunk/; revision=21431
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