aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isakmp.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-07Use "%" G_GINT64_MODIFIER "u" instead of G_GINT64_MODIFIER "%u".Michael Tüxen1-4/+4
svn path=/trunk/; revision=38388
2011-08-07Life duration is a variable length TLV, and not always a 2 byte value. ↵Chris Maynard1-23/+103
Hopefully fixes bug 6206 (no relevant capture file available to test). Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6206 svn path=/trunk/; revision=38387
2011-07-28Avoid a possible infinite loop in dissect_delete().Stig Bjørlykke1-3/+4
This may fix the "Malformed IKE Packet DoS" bug. svn path=/trunk/; revision=38247
2011-07-23Update last IANA ParametersAlexis La Goutte1-8/+8
RFC-ietf-ipsecme-failure-detection-08.txt => RFC6290 RFC-ietf-ipsecme-ipsecha-protocol-06.txt => RFC6311 svn path=/trunk/; revision=38174
2011-07-11More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versionsGerald Combs1-33/+0
in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and reassemble_cleanup() since they were only used for older GLib versions which didn't support GSlices. Assume we always support the "matches" operator. svn path=/trunk/; revision=37978
2011-06-19Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.Bill Meier1-2/+1
svn path=/trunk/; revision=37716
2011-06-17Update IKEv2 to last IANA Parameters (2011-05-09)Alexis La Goutte1-3/+48
Add Notify Message Types of : * A Quick Crash Detection Method for IKE (RFC-ietf-ipsecme-failure-detection-08.txt) * Protocol Support for High Availability of IKEv2/IPsec (RFC-ietf-ipsecme-ipsecha-protocol-06.txt) svn path=/trunk/; revision=37690
2011-06-04From Michael Mann:Anders Broman1-85/+77
UATification of isakmp dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5989 svn path=/trunk/; revision=37536
2011-05-20Add #include <stdlib.h> to files which reference fcns declared in stdlib.h;Bill Meier1-8/+8
(In many cases I previously incorrectly removed the #include <stdlib.h>). svn path=/trunk/; revision=37334
2011-05-18From discussion in dev mailing ( ↵Alexis La Goutte1-41/+40
http://www.wireshark.org/lists/wireshark-dev/201105/msg00235.html ) * Fix a duplicate value_string in cp_version table * Fix a typo error (Cersion => Version) Also fix some whitespaces/4tab-spaces (Need more work...) svn path=/trunk/; revision=37240
2011-05-06 VALS(& -> VALS(Anders Broman1-4/+4
svn path=/trunk/; revision=37009
2011-02-17From Alexis La Goutte :Jaap Keuter1-5/+51
A patch to add Vendor ID of VIA Client & Remote AP (from Aruba Networks) Also add ett_ value for rohc, ike & ike2. svn path=/trunk/; revision=35974
2011-02-17Fix some Visual C++ static analyzer complaints.Gerald Combs1-0/+4
svn path=/trunk/; revision=35971
2011-02-10Modify proto_tree_add_bytes_format() and proto_tree_add_bytes_format_value()Jeff Morriss1-1/+1
so that if the start_ptr is NULL the bytes are extracted from the given TVB using the given offset and length. Replace a bunch of: proto_tree_add_bytes_format*(tree, hf, tvb, offset, length, tvb_get_ptr(tvb, offset, length), [...]) with: proto_tree_add_bytes_format*(tree, hf, tvb, offset, length, NULL, [...]) svn path=/trunk/; revision=35896
2011-02-04From Alexis La Goutte:Anders Broman1-2/+2
Patch to fix a typo error.... svn path=/trunk/; revision=35816
2011-01-30Introduce "Fragment count" filter element for all protocols doing reassembly.Stig Bjørlykke1-0/+5
svn path=/trunk/; revision=35705
2011-01-14Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().Jeff Morriss1-7/+7
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str(). There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s. Replace some memcpy()+tvb_get_ptr() with tvb_memcpy(). svn path=/trunk/; revision=35529
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-11-02from Alexis La Goutte:Anders Broman1-50/+195
Cleanup and update ISAKMP Dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5360 svn path=/trunk/; revision=34754
2010-10-10#include <string.h> apparently req'd on OSX ...Bill Meier1-0/+1
svn path=/trunk/; revision=34465
2010-10-10Define some fcns & vars as static; Some #includes not req'd; packet-mikey.h ↵Bill Meier1-6/+5
not req'd. svn path=/trunk/; revision=34464
2010-09-23Use extended ipproto value_string (ipproto_val_ext).Bill Meier1-2/+2
svn path=/trunk/; revision=34214
2010-09-21As suggested by Kovarththanan Rajaratnam in ↵Jeff Morriss1-4/+4
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 : Clean up hf fields some more: mostly removing leading and trailing spaces from names and blurbs. svn path=/trunk/; revision=34165
2010-04-29Make a variable a guint8* instead of a char* since it a) holds TVB data and ↵Jeff Morriss1-1/+1
b) matches what tvb_new_child_real_data() wants for its 2nd argument. This cleans up a warning from the Sun compiler. svn path=/trunk/; revision=32599
2010-04-24Dissectors aren't allowed to call g_assert()Jeff Morriss1-184/+184
svn path=/trunk/; revision=32550
2010-04-23From Alexis La Goutte:Jaap Keuter1-259/+613
Enhancements ISAKMP Vendor ID. svn path=/trunk/; revision=32547
2010-03-25From Alexis La Goutte:Jaap Keuter1-2/+131
Add IKE Notify Message from RFC5685: Redirect Mechanism for IKEv2 Add IKE Notify Message from RFC5723: Session Resumption for IKEv2 Add IKE Notify Message from Cisco Unity svn path=/trunk/; revision=32290
2010-03-25From Alexis La Goutte:Jaap Keuter1-8/+88
Add IKEv2 Config Attributes from Experimental RFC5739: IPv6 Configuration in IKEv2 Updates missing IKEv2 Config Attributes from RFC4306 (SUPPORTED_ATTRIBUTES and INTERNAL_IP6_SUBNET) svn path=/trunk/; revision=32288
2010-03-09Mark unused arguments.Guy Harris1-91/+95
Clean up white space. svn path=/trunk/; revision=32149
2010-03-08From Alexis La Goutte:Anders Broman1-1578/+2275
Enchancement ISAKMP dissector (IKEv1 / IKEv2). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4546 svn path=/trunk/; revision=32148
2010-03-04From LEGO via bug 3459:Stig Bjørlykke1-0/+1
Add a callback to UAT to be called after the table has being updated, use it to renew the snmp_ue_cache. svn path=/trunk/; revision=32112
2010-02-27Add two missing headerfields which were missing in revision 32033.Jaap Keuter1-1/+9
svn path=/trunk/; revision=32037
2010-02-27Squelch a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=32035
2010-02-27From Alexis La Goutte:Jaap Keuter1-121/+111
Add support of notify msg type for RFC3706 Dead Peer Detection (DPD) and dissect DPD Sequence. Cleanup and enhancement for dissect CFG attributes. svn path=/trunk/; revision=32033
2010-02-27Constify.Guy Harris1-9/+7
Don't have variables that point to string constants, just make the string constants be static const arrays. strlen(array of unspecified size initialized with a string) == sizeof array - 1; the latter can be computed at compile time. svn path=/trunk/; revision=32020
2010-02-16Do SVN #31896 in a (somewhat) better way.Bill Meier1-4/+6
svn path=/trunk/; revision=31897
2010-02-16Properly specify the IKE2 Decryption table default Encryption & Integrity ↵Bill Meier1-2/+2
Algorithms; This ensures that the correct defaults are shown when creating a new entry in the IKEV2 Decryption Table. svn path=/trunk/; revision=31896
2010-02-09these two guys are actually range-strings and not value-stringRonnie Sahlberg1-3/+3
so it is surprising we didnt catche these before. gcc complains about strict alignment on these svn path=/trunk/; revision=31842
2010-02-09Initialize sub_cfg_attr_type_tree.Anders Broman1-1/+1
svn path=/trunk/; revision=31841
2010-02-09From Alexis La Goutte:Anders Broman1-206/+742
ISAKMP Enhancements. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2905 svn path=/trunk/; revision=31840
2010-02-06Renamed some reassembled data texts.Stig Bjørlykke1-10/+10
Removed some check_col(). svn path=/trunk/; revision=31809
2010-02-02Introduce "Reassembled length" filter element for all protocols doingStig Bjørlykke1-0/+6
reassembly. svn path=/trunk/; revision=31767
2010-01-18Fix a number of gcc _Wshadow warningsBill Meier1-10/+10
svn path=/trunk/; revision=31557
2009-12-21Switch to using a bundled version of the openSUSE Build Service packagesGerald Combs1-25/+22
for GNUTLS since they provide 32-bit and 64-bit Windows packages. We no longer have winposixtype.h, so remove its #includes and add a ssize_t typedef to config.h.win32. svn path=/trunk/; revision=31341
2009-10-18Removed unused argument in v2_attrval2str().Stig Bjørlykke1-5/+4
svn path=/trunk/; revision=30606
2009-10-16Oops: #include <stdio.h> *is* required .....Bill Meier1-0/+1
svn path=/trunk/; revision=30575
2009-10-16#include <stdio.h> not req'd; Fix some typos in text strings;Bill Meier1-311/+321
Adjust some indentation & spacing, reformat some long lines. svn path=/trunk/; revision=30573
2009-10-16Use GSlice instead of GMemChunks for GLib >= 2.10. Fixes a memory leak.Bill Meier1-3/+37
svn path=/trunk/; revision=30572
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=29345
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344