Commit Graph

1243 Commits

Author SHA1 Message Date
Gerald Combs fee16ab377 Add support for decoding DES3/CBC/MD5 keys. Make it disabled by default.
Whitespace cleanup.

svn path=/trunk/; revision=12304
2004-10-15 15:36:12 +00:00
Gerald Combs 8142f2c993 Add range_convert_range and ranges_are_equal.
svn path=/trunk/; revision=12303
2004-10-15 15:08:00 +00:00
Guy Harris c2d2988e4f Don't declare functions inside functions - not all C compilers support
that.

svn path=/trunk/; revision=12301
2004-10-15 05:54:33 +00:00
Guy Harris abd16b297f From Jeff Morriss: PREF_RANGE preference type, for ranges of integers.
svn path=/trunk/; revision=12300
2004-10-14 23:45:09 +00:00
Ronnie Sahlberg 29da6658b6 add support in packet-kerberos to use MIT Kerberos API to parse keytabs and decrypt blobs
if HAVE_KERBEROS and HAVE_MIT_KERBEROS are both defined in config.h


Now we need someone to hack up the required automake magic to detect MIT Kerberos and massage the makefiles accordingly.



svn path=/trunk/; revision=12296
2004-10-14 09:51:54 +00:00
Guy Harris 063b6fc3f5 Use "tvb_format_stringzpad()" rather than "tvb_format_text()", as per
RFC 2132, which says

	Options containing NVT ASCII data SHOULD NOT include a trailing
	NULL; however, the receiver of such options MUST be prepared to
	      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	delete trailing nulls if they exist.
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

svn path=/trunk/; revision=12295
2004-10-14 08:02:58 +00:00
Guy Harris ab5a687178 Get rid of C++ comments.
Add more COPS client type values from the IANA cops-parameters page.

Get rid of per-dissection static variables - pass them as parameters.

Make functions not used outside packet-cops.c static.

svn path=/trunk/; revision=12294
2004-10-14 07:42:31 +00:00
Guy Harris c1a86b40a1 Add the application ID for credit control, as per
draft-ietf-aaa-diameter-cc-06.

Indicate where the Diameter application IDs for 3GPP stuff came from.

Update URLs for various Diameter drafts.

svn path=/trunk/; revision=12293
2004-10-14 03:29:35 +00:00
Michael Tüxen c2903542a5 Make sure that the IPv4 and IPv6 address parameters are always processed to support tabbing.
svn path=/trunk/; revision=12291
2004-10-13 08:41:32 +00:00
Ronnie Sahlberg 9ccd4e5025 get rid of some compiler warnings for cms
svn path=/trunk/; revision=12290
2004-10-13 00:21:00 +00:00
Ronnie Sahlberg b32eb2981c get rid of some compiler warnings for X509AF
svn path=/trunk/; revision=12289
2004-10-13 00:16:42 +00:00
Ronnie Sahlberg 1cfa62377a final massaging to get rid of the last remaining compiler warnings for megaco
svn path=/trunk/; revision=12288
2004-10-13 00:08:44 +00:00
Ronnie Sahlberg 850f13fbff get rid of some more compiler warnings
svn path=/trunk/; revision=12287
2004-10-12 23:56:41 +00:00
Ronnie Sahlberg d951c9dce6 massage the h248 files so that it compiles with asn2eth without warnings
svn path=/trunk/; revision=12286
2004-10-12 23:40:51 +00:00
Guy Harris f724a1399f From Tomas Kukosa: fix "col_set_str()" to work correctly with fenced
columns.

svn path=/trunk/; revision=12283
2004-10-12 18:08:23 +00:00
Guy Harris 94873c0d94 From Ronnie Sahlberg: set a variable before we test it.
svn path=/trunk/; revision=12281
2004-10-12 17:51:13 +00:00
Guy Harris 22a80dae75 Re-generate with latest asn2eth.
svn path=/trunk/; revision=12280
2004-10-12 17:40:31 +00:00
Guy Harris 988faafe34 Check in a regenerated file we missed.
svn path=/trunk/; revision=12276
2004-10-12 08:09:07 +00:00
Anders Broman 26c1da067e Pretyfy EventName and SignalName
svn path=/trunk/; revision=12271
2004-10-12 05:00:37 +00:00
Guy Harris eb088099b0 Check the values of the protocol preferences before fetching them; if
any are not valid, pop up an alert box and don't dismiss the preferences
dialog.

svn path=/trunk/; revision=12269
2004-10-12 03:13:17 +00:00
Anders Broman 38ed258bc5 Fix (hopefully) a compiler varning
svn path=/trunk/; revision=12268
2004-10-11 21:19:12 +00:00
Guy Harris 45d05ca95e Re-generate a number of ASN.1-based dissectors with the most recent
version of asn2eth.

svn path=/trunk/; revision=12267
2004-10-11 18:36:51 +00:00
Guy Harris 518f7926b7 Constify more pointer arguments.
svn path=/trunk/; revision=12265
2004-10-11 18:34:54 +00:00
Ronnie Sahlberg fd6e2f7099 From Martin M, update h2250 so that some things that are supposed to be strings are printed as strings and not as hex data.
svn path=/trunk/; revision=12263
2004-10-11 12:04:35 +00:00
Ronnie Sahlberg 97a1230136 dissect_per_restricted_character_string() was almost completely broken when it came to PrintableString.
I am amazed it worked at all and noone complained.

It is little less broken now and handles some of the PrintableStrings  properly.



svn path=/trunk/; revision=12262
2004-10-11 12:00:08 +00:00
Ronnie Sahlberg 7c00b3a9d3 small fix for TCP ACK RTT, the measurements for the time it took to ack some data.
Only display this value if we really have some data to ACK
which is not always the case.

This fixes a problem recently reported to the list



svn path=/trunk/; revision=12259
2004-10-11 08:12:34 +00:00
Guy Harris c6bd115a94 From Mark C. Brown: add HP's OUI.
Update Gerald's e-mail address.

svn path=/trunk/; revision=12256
2004-10-11 07:15:08 +00:00
Guy Harris c01a523dc4 Make "per_choice_t" and "per_sequence_t" structures "const" structures.
svn path=/trunk/; revision=12255
2004-10-11 06:51:19 +00:00
Guy Harris 4998eb51ee Make the "per_choice_t" and "per_sequence_t" pointer arguments pointers
to const.

svn path=/trunk/; revision=12253
2004-10-11 06:38:12 +00:00
Guy Harris 3acb84d24a Make the "asn_namedbit *" argument to "dissect_ber_bitstring()" a
"const" pointer.

svn path=/trunk/; revision=12247
2004-10-08 21:14:33 +00:00
Guy Harris c5c8453097 "dissect_ber_sequence()" doesn't modify the "ber_sequence" structure
passed to it; make that argument a const pointer.

svn path=/trunk/; revision=12244
2004-10-08 20:24:23 +00:00
Gerald Combs 0d1e6348c2 Remove an unused variable.
svn path=/trunk/; revision=12242
2004-10-08 17:24:18 +00:00
Guy Harris 4d07a3a63f From Carlos Pignataro: decode more TLVs and subTLVs and make some small
fixes.

Include "packet-ldp.h" in "packet-ldp.c" (if we'd been doing that, the
mismatch between "packet-ldp.h"'s declaration of "fec_vc_types_vals[]"
and "packet-ldp.c"'s definition of it would have been caught earlier).

svn path=/trunk/; revision=12241
2004-10-08 17:01:43 +00:00
Guy Harris bb6dfa0232 Use "%%" in format strings if you want to print a %.
Get rid of an extra argument to a format string.

svn path=/trunk/; revision=12240
2004-10-08 16:56:16 +00:00
Guy Harris 8ceddc4a1d "dissect_sigcomp()" returns 0 or the packet length, so it has to be
registered with "new_register_dissector()".

svn path=/trunk/; revision=12239
2004-10-08 16:42:27 +00:00
Guy Harris 50cae903ed Force 4294967295 to be unsigned, to squelch a compiler warning.
svn path=/trunk/; revision=12238
2004-10-08 16:40:36 +00:00
Anders Broman 1bac620377 Add sigcomp Universal Decompressor Virtual Machine (UDVM) and state handler, for decompression of
sigcomp messages. Currently states are or not saved so only messages with bytecode can be decompressed.

svn path=/trunk/; revision=12237
2004-10-08 15:55:06 +00:00
Anders Broman 136da6ad35 Add sigcomp Universal Decompressor Virtual Machine (UDVM) and state handler, for decompression of
sigcomp messages. Currently states are or not saved so only messages with bytecode can be decompressed.

svn path=/trunk/; revision=12236
2004-10-08 15:54:06 +00:00
Anders Broman 249ebcbfc1 From: "Jacques, Olivier :
- Added new RFC 3588 header format support (vendor-Id is replaced by
application-Id) and command code has its own separated name space. The
Draft v16 behaviour is maintained (through Preferences menu).
- Added 3GPP IMS Cx/Dx interface decoding (new imscxdx.xml)
- Fixed some issues in dictionary.xml
- Refreshed Diameter applications in embedded AVPs (that do not rely on
XML dictionary)

svn path=/trunk/; revision=12235
2004-10-08 09:35:56 +00:00
Gerald Combs 628bde2034 Add support for the PacketCable Multimedia Specification (PKT-SP-MM-
I02-040930).  The code had to be integrated with the existing D-QoS code,
and has not been extensively tested.  Add ports for PacketCable D-QoS
(2126) and Multimedia (3918).  Code contributed by CableLabs.


svn path=/trunk/; revision=12232
2004-10-07 19:22:54 +00:00
Anders Broman d680ab149c Get rid of h248-package-bcp, as it is no longer needed.
svn path=/trunk/; revision=12229
2004-10-07 09:28:28 +00:00
Anders Broman f7a201530c Added dissection of some packages Property ID:s
svn path=/trunk/; revision=12228
2004-10-07 09:25:21 +00:00
Anders Broman 17190c4cd0 Export some value strings and a function, some minor bug fixes.
svn path=/trunk/; revision=12226
2004-10-07 09:04:51 +00:00
Guy Harris 8b8e67ccbe "tvb_reported_length_remaining()" returns a "gint", so assign its return
value to a "gint".

svn path=/trunk/; revision=12223
2004-10-06 17:37:47 +00:00
Ulf Lamping 871ada80d8 remove MSVC compiler warning
svn path=/trunk/; revision=12221
2004-10-06 17:08:25 +00:00
Ulf Lamping 9fd6789da8 bring MSVC generation back to live, as elipses in macros are not alowed. May need some more rework.
svn path=/trunk/; revision=12220
2004-10-06 17:06:12 +00:00
Guy Harris 69e4cb6a93 We now do reassembly.
Use "tvb_reported_length_remaining()", not "tvb_length_remaining()", to
find out how much encapsulated data there is, so we properly handle
short frames (reporting how much was really there, not how much was
captured).

svn path=/trunk/; revision=12219
2004-10-06 10:14:56 +00:00
Guy Harris 1e47d6557f Add support for reassembly.
The reason why you need to turn on "Try heuristic sub-dissector first"
is that the traffic might be port 10000 traffic, and the NDMP dissector
gets that but doesn't properly reject it if it doesn't look like NDMP -
that's been fixed.

svn path=/trunk/; revision=12217
2004-10-06 10:01:36 +00:00
Guy Harris 776280fa0d Properly reject packets that don't look like NDMP packets.
svn path=/trunk/; revision=12216
2004-10-06 09:59:50 +00:00
Guy Harris fdd1b1dba5 From Francesco Fondelli: ICE protocol support.
svn path=/trunk/; revision=12215
2004-10-06 09:03:42 +00:00