Commit graph

540 commits

Author SHA1 Message Date
Guy Harris
f6881b345f From Yaniv Kaul: name some more interface calls.
svn path=/trunk/; revision=12381
2004-10-24 01:29:03 +00:00
Guy Harris
cbbdf75b4d Remove the include of <epan/prefs.h> from files that don't call any
preference routines.

svn path=/trunk/; revision=12380
2004-10-23 09:20:39 +00:00
Guy Harris
02c9bf57f4 Put the name, as well as the value, of the family and subfamily fields
into the protocol tree item that contains them.

svn path=/trunk/; revision=12379
2004-10-23 08:37:21 +00:00
Guy Harris
7e0170ffbf From Josh Bailey: fix the fetch of the IPDC payload length, it's only 10
bits long.

svn path=/trunk/; revision=12378
2004-10-22 18:03:21 +00:00
Guy Harris
bd23f6f1a8 From Alejandro Vaquero: start T.38 conversations for SDP sessions.
"T38" -> "T.38" in the T.38 dissector.

svn path=/trunk/; revision=12374
2004-10-22 06:19:00 +00:00
Guy Harris
1a4033c65e From Francisco Alcoba: declare the tap data as static, so it's still
there when the tap is called (which happens after dissection is
complete).

svn path=/trunk/; revision=12373
2004-10-22 06:05:03 +00:00
Guy Harris
21a7962e28 Include "Makefile.common" in the list of files to put into the
distribution.

Don't use ":=" - not all versions of make necessarily support it, and,
even for those that do, it doesn't mean the same thing in all versions
(it means something different in Solaris make than in GNU make, for
example).

svn path=/trunk/; revision=12371
2004-10-22 02:05:53 +00:00
Guy Harris
a87394e71e At least some versions of the OS X NFS client (and possibly some if not
all other BSD NFS clients) retransmit on different ports from the port
on which the original request was set, so have the RPC "conversation"
for connectionless protocols use only the source address and destination
port.

Use NO_ADDR_B and NO_PORT_B when looking up the conversation in those
cases, and use NO_ADDR2 and NO_PORT2 when creating the conversation in
those cases, to make it clearer that we're only using one address and
port.

svn path=/trunk/; revision=12362
2004-10-20 23:38:31 +00:00
Anders Broman
ff755ba49c From Jacques, Olivier: - Fixing enums recognition when an XML dictionary is used (was OK with fixed dictionaries)
svn path=/trunk/; revision=12350
2004-10-19 19:29:08 +00:00
Guy Harris
8995a7ab6b Squelch a compiler warning.
svn path=/trunk/; revision=12343
2004-10-18 17:21:31 +00:00
Guy Harris
915fe77f75 From Laurent Constantin: fix a (presumed) cut-and-pasteo.
svn path=/trunk/; revision=12342
2004-10-18 17:17:38 +00:00
Gerald Combs
d7d9c6be54 From Olivier Jacques: Add #defines to disable XML validation.
svn path=/trunk/; revision=12340
2004-10-18 14:58:32 +00:00
Gerald Combs
d6a2182535 Fix some include problems and compiler warnings pointed out by Thomas Anders.
svn path=/trunk/; revision=12339
2004-10-18 14:37:43 +00:00
Gerald Combs
7e6c4fec40 From Thomas Anders:
- change DHCP option 122 dissection to use official RFC 3495/3594 wording
  (if bootp.pkt.ccc.protocol_version preference setting is 2 or 3)
- update CableLabs specification references
- some minor cleanup (option 43 also) 

svn path=/trunk/; revision=12338
2004-10-18 14:24:25 +00:00
Gerald Combs
fa01ccd18c One more item from CableLabs: Add conversation support to the Kerberos
UDP dissector.

svn path=/trunk/; revision=12337
2004-10-18 13:58:20 +00:00
Guy Harris
ee26f8b9bb From Alejandro Vaquero: in the RTP analysis code, don't analyze packets
that have an RTP version other than 2.

svn path=/trunk/; revision=12332
2004-10-17 22:14:47 +00:00
Anders Broman
8df4148db6 Update some SIP headers from http://www.iana.org/assignments/sip-parameters.
svn path=/trunk/; revision=12331
2004-10-17 21:57:04 +00:00
Guy Harris
5dbaf6c29e From Rene Pilz: make DTAP be dissected for a GPRS LLC SAPI of 1.
svn path=/trunk/; revision=12330
2004-10-17 11:10:08 +00:00
Guy Harris
8566564c59 From Rene Pilz: add a preference to ignore the cipher bit, in case
captures have unciphered data with the cipher bit set.

svn path=/trunk/; revision=12329
2004-10-17 11:04:28 +00:00
Guy Harris
236123a94b From Thomas Anders: DHCP option 6 enhancements:
- add full support for upcoming PacketCable 1.5
- fix bug regarding MTA/CM Device Capabilities Length
- PacketCable MTA: fix bug regarding RSVP and UGS-AD options
- make presentation more compact (similar to other TLV data dissectors)
- change some descriptions and variables to (hopefully) make more sense
  to DOCSIS/PacketCable users

svn path=/trunk/; revision=12325
2004-10-17 02:36:32 +00:00
Guy Harris
6d53294988 "ssn_range" needs to be a copy of "global_ssn_range", so that it's not
freed if "global_ssn_range" is changed because the preference was
changed.

svn path=/trunk/; revision=12321
2004-10-17 00:48:37 +00:00
Guy Harris
727ad67453 Remove the fixed maximum number of subranges in a range_t; dynamically
allocate them to be large enough.

Add checks that the numbers in the range fit in a guint32.

Check the validity of a range before saving or printing, and report
errors in an alert box.

Clean up white space.

svn path=/trunk/; revision=12320
2004-10-16 23:32:24 +00:00
Ronnie Sahlberg
de1bcd5d88 make the SEQUENCE dissection helper understand and handle Indefinite Length
svn path=/trunk/; revision=12319
2004-10-16 12:53:09 +00:00
Guy Harris
64394fdef2 Fix a typo.
svn path=/trunk/; revision=12312
2004-10-16 07:39:37 +00:00
Guy Harris
cde0733be8 Clena up a few things.
Squelch a compiler warning.

svn path=/trunk/; revision=12311
2004-10-16 05:59:24 +00:00
Jörg Mayer
429ede32f8 Add support for draft-ietf-dhc-fqdn-option-07.txt
svn path=/trunk/; revision=12309
2004-10-16 02:04:08 +00:00
Jörg Mayer
db564c5096 Change Client Identifier display a bit to better handle non-hw identifiers of length 7
svn path=/trunk/; revision=12308
2004-10-16 00:19:07 +00:00
Gerald Combs
536cfec083 Fix a cut-and-paste error.
svn path=/trunk/; revision=12306
2004-10-15 19:02:47 +00:00
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
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
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
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
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
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
Guy Harris
96fb567289 Use "tvb_format_text()" for string items, so non-printable characters
don't get stuck into protocol tree item representations (and so that
they can be more easily found if, as, and when we get around to handling
different character encodings).

Clean up white space.

Get rid of another sprintf() on top of a string constant.

svn path=/trunk/; revision=12211
2004-10-05 23:22:36 +00:00
Guy Harris
9b9223d710 Fix a bunch of compiler warnings (and some code that was bogusly
attempting to overwrite a string constant - possibly with a longer
string!).

svn path=/trunk/; revision=12210
2004-10-05 23:02:09 +00:00
Gerald Combs
853fad671b Decode cable modem and MTA device capabilities. Make the CableLabs
Client Configuration option number configurable.  Add an option to switch
between the CCC versions defined in PKT-SP-PROV-I05-021127, IETF draft 5,
and RFC 3495.  Code contributed by CableLabs.

Remove an unneeded macro.

svn path=/trunk/; revision=12208
2004-10-05 17:44:53 +00:00
Gerald Combs
d2de064046 Actually use radius_vendor_packetcable_policy_decision_status_vals.
svn path=/trunk/; revision=12207
2004-10-05 17:44:03 +00:00
Ronnie Sahlberg
eaf5cc19c3 Add example template for how to add h248 extension packages to the megaco dissector
svn path=/trunk/; revision=12206
2004-10-05 11:20:43 +00:00
Ronnie Sahlberg
fd08163595 minor update preparations to have a dissector table for property identifiers
svn path=/trunk/; revision=12205
2004-10-05 09:50:19 +00:00
Guy Harris
b38eae3c6b Set svn:keywords to Id to expand RCS IDs, and set svn:eol-style to
native to canonicalize line endings.  Then fix the line endings....

svn path=/trunk/; revision=12204
2004-10-05 09:20:30 +00:00
Guy Harris
f92d96db93 Add checks in "rd_add_field_to_tree()" for the length of the field.
Fix a compiler warning.

Clean up white space.

svn path=/trunk/; revision=12200
2004-10-05 08:27:21 +00:00
Guy Harris
85859a2aac Put in the radius-types URL but don't list it as a reference.
svn path=/trunk/; revision=12199
2004-10-05 08:09:58 +00:00
Anders Broman
c6953df14b Regenerated with new template file
svn path=/trunk/; revision=12198
2004-10-04 20:33:39 +00:00
Gerald Combs
4e1906787f De-@-ify email addresses.
svn path=/trunk/; revision=12196
2004-10-04 20:15:38 +00:00
Gerald Combs
cb6193c1e9 Add support for the PacketCable Event Message Specification
(PKT-SP-EM-I09-040402).  Code contributed by CableLabs.


svn path=/trunk/; revision=12195
2004-10-04 20:13:35 +00:00
Ronnie Sahlberg
67c3a1084c stub prettification of PackageName
to be filled in by telco people


svn path=/trunk/; revision=12193
2004-10-03 22:04:37 +00:00
Ronnie Sahlberg
246052fa74 minor kerberos4 update handle app-req properly
svn path=/trunk/; revision=12189
2004-10-03 11:50:25 +00:00
Ronnie Sahlberg
0b5f6e439d prettify mtpAddress
svn path=/trunk/; revision=12188
2004-10-03 09:21:35 +00:00
Ronnie Sahlberg
7d0a3784ef new protocol : H.248 MEGACO v 2
this dissector implements the binary encoding of megaco v2



svn path=/trunk/; revision=12187
2004-10-03 07:57:15 +00:00
Jörg Mayer
8c788146a0 initializing unsigned variables to -1 is considered interesting
svn path=/trunk/; revision=12173
2004-10-01 12:35:55 +00:00
Guy Harris
d6a9e37c97 From Jouni Malinen:
adds support for dissecting EAP-FAST packets;

	add version field displaying for EAP-TTLS since the latest TTLS
	draft defines a new version mechanism (which matches with both
	EAP-PEAP and EAP-FAST in design).

svn path=/trunk/; revision=12167
2004-10-01 07:29:22 +00:00
Guy Harris
6d36dda70b From Carlos Pignataro:
o Fix EXTENDED_COMMUNITIES output that was appending the Carried
  Extended communities; fix BGP_EXT_COM_L2INFO was not appending to the
  bgpext_com_type
o Update various text with the specific afi/safi
o Decode fields in MP Reach NLRI for labeled VPNv4 and labeled IPv4
  (and small offset fix for the latter)
o Decode unknown address family in MP Reach NLRI

svn path=/trunk/; revision=12165
2004-10-01 07:07:03 +00:00
Guy Harris
8d24ff694a From Kestutis Kupciunas: add new vendor enterprise codes for Gemtek
Systems and the Wi-Fi Alliance, and add Radius vendor-specific
attributes for them.

svn path=/trunk/; revision=12164
2004-10-01 07:01:53 +00:00
Guy Harris
61fa949789 Constify some more stuff.
svn path=/trunk/; revision=12160
2004-09-30 20:33:10 +00:00
Guy Harris
915ebf2ca3 Move the #defines for SMI Network Management Private Enterprise Codes
for organizations to an <epan/sminmpec.h> header, and add in the ones
that were used (without #defines) in the Diameter dissector.

Merge the value_string tables for them from the Diameter and Radius
dissectors into epan/sminmpec.c and merge them.

Use that value_string table in the Diameter and Radius dissectors.

Constify some stuff in the Diameter dissector.

svn path=/trunk/; revision=12159
2004-09-30 20:27:47 +00:00
Guy Harris
5ffcb6b8a5 Give it an RCS ID.
svn path=/trunk/; revision=12158
2004-09-30 19:54:01 +00:00
Anders Broman
1e20f02ab9 Don't undo the last changes
svn path=/trunk/; revision=12152
2004-09-30 18:26:35 +00:00
Anders Broman
209146e7f6 Add some vendor ID:s
svn path=/trunk/; revision=12151
2004-09-30 18:18:39 +00:00
Guy Harris
a93a3147d9 Reject packets with an unknown version number.
svn path=/trunk/; revision=12148
2004-09-30 08:16:41 +00:00
Guy Harris
5f57d42dac Handle continuation replies to transactions better - try to match them
up with the original request, without matching unrelated replies with
that request.

svn path=/trunk/; revision=12145
2004-09-30 01:04:33 +00:00
Anders Broman
b9f8796c1c From Miha Jemec: I implemented a H323 call decoder. Using the TAP system, it keeps track of each call, number of packets, setting filter and a more detailed analysis of each call.
svn path=/trunk/; revision=12142
2004-09-29 22:23:37 +00:00
Michael Tüxen
28a6169ff7 - Added support for version 08 of the ID (expired).
- Updated support for latest version to RFC 3868.

svn path=/trunk/; revision=12138
2004-09-29 18:08:18 +00:00
Guy Harris
7bc922cf39 If we don't have more than 5 bytes in the message, don't put an entry in
the tree for an optional parameter pointer, as there isn't one.

svn path=/trunk/; revision=12135
2004-09-29 10:09:04 +00:00
Anders Broman
1c79a15e3b Handle ANM message without optional parameter.
svn path=/trunk/; revision=12132
2004-09-29 06:42:28 +00:00
Guy Harris
eaadcc4c62 Move various tables into the epan directory.
svn path=/trunk/; revision=12130
2004-09-29 00:52:45 +00:00
Guy Harris
31158d0d0e Move the request/response header helper routines to the epan directory.
svn path=/trunk/; revision=12129
2004-09-29 00:25:05 +00:00
Guy Harris
6472876ab3 Move the tap infrastructure to the epan directory.
svn path=/trunk/; revision=12128
2004-09-29 00:06:36 +00:00
Guy Harris
53ab91826b Move the xDLC helper routines into epan.
svn path=/trunk/; revision=12127
2004-09-28 23:48:02 +00:00
Guy Harris
3ae1457881 From Carlos Pignataro:
o Add link type string for MPLS Link Type in MPLS Link sub-TLV
	o Decode MPLS Link Color/Resource sub-TLV
	o Add bps for bandwidths in Max BW and Max Reservable BW sub-TLVs
	o Display Type, Length Value for Unknown Link sub-TLV
	o Allow display filter on Link Type and Link Color

svn path=/trunk/; revision=12122
2004-09-28 17:57:56 +00:00
Guy Harris
7c7c04cc84 From Olivier Jacques:
- Add a configuration option for Diameter version. Currently,
	  the choice is between everything before draft-v16 and RFC3588.
	- Fix diameter-ip-address parsing depending on the Diameter
	  version (and showing decoding errors accordingly).
	- Change registration of Diameter from TCP and SCTP port 1812 to
	  TCP and SCTP port 3868 (this is according to RFC3588, section
	  11.5).

svn path=/trunk/; revision=12121
2004-09-28 17:52:36 +00:00
Guy Harris
0591bac4d2 From David Fort: ipseckey DNS RR support.
svn path=/trunk/; revision=12120
2004-09-28 10:28:01 +00:00
Guy Harris
ac98f225a8 Move various checksum routines and headers to epan.
svn path=/trunk/; revision=12117
2004-09-28 00:06:32 +00:00
Guy Harris
d3f5261971 Move the DES, MD4, MD5, and RC4 source files and headers into epan, and
make the source files all include the corresponding header files (so
that the declarations in the headers have to match the definitions in
the source files in order for compilation to succeed).

svn path=/trunk/; revision=12116
2004-09-27 23:29:22 +00:00
Guy Harris
bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Guy Harris
85d6e3905d Fetch the function from the correct offset.
svn path=/trunk/; revision=12101
2004-09-25 10:36:08 +00:00
Guy Harris
477eef9312 What part of "least significant octet first" do you not understand? :-)
(The part I didn't bother to notice.... :-))

svn path=/trunk/; revision=12098
2004-09-25 09:17:12 +00:00
Guy Harris
ffb879cb16 From packet steve: label the GRE key as "GRE Key", so that
post-processing scripts can more easily distinguish it from other keys.

svn path=/trunk/; revision=12096
2004-09-25 08:03:23 +00:00
Guy Harris
2b823afb00 Fetch the handle for the data dissector, as we use it....
svn path=/trunk/; revision=12095
2004-09-25 08:01:00 +00:00
Guy Harris
b39caf4b49 From Tomas Kukosa:
- pass only value (not tag and length) to subdissectors from the
	  snmp.variable_oid table
	- register the SNMP dissector

svn path=/trunk/; revision=12093
2004-09-25 07:41:58 +00:00
Ronnie Sahlberg
53912ffc47 fix bug in handling of offset for integers longer than 4 bytes
svn path=/trunk/; revision=12092
2004-09-25 02:44:45 +00:00
Anders Broman
a729d816f2 Fix Some compiler warnings:
packet-etheric.c:99: warning: `message_type_vals' defined but not used
packet-etheric.c:376: warning: 
`isup_calling_party_nature_of_address_ind_value'
defined but not used
packet-etheric.c:892: warning: 
`dissect_etheric_cause_indicators_parameter' defi
ned but not used

svn path=/trunk/; revision=12085
2004-09-24 16:01:09 +00:00
Guy Harris
b0f0473ee3 From Carlos Pignataro:
updates for 2 PWE3 interface parameters:

	o FCS Retention [draft-ietf-pwe3-fcs-retention-02.txt]
	o VCCV [draft-ietf-pwe3-vccv-03.txt]

svn path=/trunk/; revision=12083
2004-09-24 11:56:17 +00:00
Guy Harris
e40f346a76 From Magnus Hansson: move CIP protocol to own dissector (we forgot to
check in packet-cip.h).

Also, add packet-cip.h to epan/dissectors/Makefile.common, so it gets
included in the release tarballs.

svn path=/trunk/; revision=12081
2004-09-23 22:36:01 +00:00
Guy Harris
1699af0a7c From Carlos Pignataro: append the symbolic name for reserved MPLS labels
to the protocol tree item for the label.

svn path=/trunk/; revision=12080
2004-09-23 20:51:09 +00:00
Guy Harris
360f2d306a Get rid of the CRs and set eol-style to native so that you get CRs on
Windows and don't get them on UN*X.

Set keywords so that RCS IDs are expanded.

Squelch some compiler warnings.

svn path=/trunk/; revision=12078
2004-09-23 19:52:29 +00:00
Anders Broman
971910f099 Add dissector packet-etheric.c
svn path=/trunk/; revision=12077
2004-09-23 19:44:51 +00:00
Anders Broman
60755c100e Add a dissector for an Ericsson protocol named "Etheric"
svn path=/trunk/; revision=12076
2004-09-23 19:41:21 +00:00
Guy Harris
02a7e50f5c Fix the dissection of the Reply function - it has a "receipt number"
field, and the data isn't at a fixed offset of 4.

svn path=/trunk/; revision=12075
2004-09-23 18:54:39 +00:00
Guy Harris
7126c58e56 Add support for the Ethernet Configuration Testing Protocol.
svn path=/trunk/; revision=12074
2004-09-23 18:48:11 +00:00
Guy Harris
285066ac5b From Jelmer Vernooij:
- Dissect ICQ TLV values
- Dissect channel 1 and channel 2 messages correctly in Oscar (required
  for dissecting direct connections)

svn path=/trunk/; revision=12072
2004-09-23 17:40:36 +00:00
Guy Harris
91d4c8135b From Jelmer Vernooij: fix a comment.
svn path=/trunk/; revision=12071
2004-09-23 17:39:13 +00:00
Guy Harris
12d310a458 From Magnus Hansson:
move CIP protocol to own dissector
	clean up code and fix variable names
	add more info to info column
	fixed decoding of embedded messages in Unconnected send and
	    Multiple Service packets
	add more info to path decoding
	add more filter options/clean up
	complete CIP vendor codes

svn path=/trunk/; revision=12070
2004-09-23 17:34:35 +00:00
Guy Harris
c2fbce13fb From packet steve: add a filterable field for the GRE key.
svn path=/trunk/; revision=12069
2004-09-23 17:15:26 +00:00
Guy Harris
f711487961 From Carlos Pignataro:
append MPLS fields and values to the MPLS Header subtree;

	correct the string displayed for MPLS Label;

	don't show non-reserved MPLS label values as "Unknown".

svn path=/trunk/; revision=12065
2004-09-22 16:28:39 +00:00
Guy Harris
8dedbeed1c From Jelmer Vernooij:
- Dissect the DC (Direct Connection) info structure
 - Dissect the complete buddy icon family (you can now save buddy
   icons as .JPG's/.PNG's directly from the capture using the "Export
   selected bytes..." option!)
 - Add a function that dissects a sequence of TLV's instead of having
   while() loops all over the place.

svn path=/trunk/; revision=12063
2004-09-22 08:04:40 +00:00
Guy Harris
94e550fe69 From Jelmer Vernooij:
Remove some code duplication from the Oscar dissector (reduces
	the number of lines by 500) by providing a custom registration
	function for oscar families (aim_init_family).  This also fixes
	a number of issues with column names.

	Add minor updates such as adding support for the Capability Info
	TLV on users.

svn path=/trunk/; revision=12060
2004-09-21 08:01:29 +00:00
Guy Harris
ecd078e68a From Yaniv Kaul:
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-09-21 07:47:14 +00:00
Guy Harris
5225236d4d From Viorel Suman: fields in TALI are little-endian, so in the "get PDU
length" routine, fetch the length field with "tvb_get_letohs()".

svn path=/trunk/; revision=12058
2004-09-21 06:48:31 +00:00
Anders Broman
356e4e9247 From Martin Mathieson: Fix a simple bug, in calculate_roundtrip_delay(), where the conversation is looked up, the port arguments are given in reverse order.
svn path=/trunk/; revision=12055
2004-09-20 19:22:10 +00:00
Anders Broman
6f60bd99c3 Update some RADIUS value strings
svn path=/trunk/; revision=12054
2004-09-20 19:20:05 +00:00
Guy Harris
0893c8cec9 Add to the "radius_attr_info" structure a pointer to an hf_ value, and,
if that pointer is non-null, put the field in question into the protocol
tree under the top-level item for that attribute/value pair, rather than
hardcoding particular fields for particular attribute codes.

Use BASE_NONE, not BASE_DEC, for FT_STRING, FT_BYTES, and FT_IPv4
fields.

svn path=/trunk/; revision=12048
2004-09-19 11:39:48 +00:00
Guy Harris
3cdebd31db From Mark C. Brown: fix support for nettl NETTL_SUBSYS_NS_LS_ICMP and
NETTL_SUBSYS_NS_LS_ICMPV6 - they don't even have IP headers, so we need
to directly call the ICMP and ICMPv6 dissectors.

svn path=/trunk/; revision=12047
2004-09-19 07:13:52 +00:00
Guy Harris
f9a64fcf9d Make the Kerberos 4 dissector a "new-style" dissector, so it can
indicate when it's rejected a packet.

svn path=/trunk/; revision=12046
2004-09-19 03:51:42 +00:00
Anders Broman
a1e74f0b11 Fiax a MSVC Warning
svn path=/trunk/; revision=12044
2004-09-18 21:31:20 +00:00
Guy Harris
af7b483f6c Use FALSE as the byte order argument to "proto_tree_add_item()" when
fetching big-endian IPv4 addresses.

svn path=/trunk/; revision=12042
2004-09-18 09:31:26 +00:00
Guy Harris
a4a221a3c3 Distinguish between the "data offset" field (offset of this burst
within the file) and "burst offset" field (offset of this packet within
the burst).

The burst header is not present if the SYS flag is set in the packet or
if the data offset field is non-zero.

Compute the offset, within a burst packet, of the data, as we advance
through the burst header - and don't advance through the burst header if
it's not present.

Properly display the fields in the "missing fragment list".

svn path=/trunk/; revision=12041
2004-09-18 09:19:33 +00:00
Guy Harris
9a1ec8eb0b From Jelmer Vernooij:
- Support client capabilities list
	- Fix incorrect TLV usage

svn path=/trunk/; revision=12040
2004-09-18 06:42:16 +00:00
Ronnie Sahlberg
efbfdd9b73 add decoding of werido special transac versions of kerberos 4
svn path=/trunk/; revision=12039
2004-09-18 03:20:52 +00:00
Ronnie Sahlberg
524a9eb587 make kerberos able to dissect pkinit/pa-pk-as-rep packets
svn path=/trunk/; revision=12038
2004-09-17 23:45:29 +00:00
Ronnie Sahlberg
c9b8d1e59e add pkinit replies dissection
svn path=/trunk/; revision=12037
2004-09-17 23:33:10 +00:00
Ronnie Sahlberg
a231527e9e get rid of some compiler warnings
svn path=/trunk/; revision=12035
2004-09-17 23:24:17 +00:00
Ronnie Sahlberg
e319fa0348 get rid of a compiler warning for unused function UserNotice
svn path=/trunk/; revision=12033
2004-09-17 23:16:17 +00:00
Guy Harris
431d187367 From Jelmer Vernooij: get rid of some unused tables.
svn path=/trunk/; revision=12030
2004-09-17 09:37:14 +00:00
Guy Harris
6bc5ac3949 from Thomas Boehne: don't put code before a declaration - that's a
GCCism.

De-@ify Marten Svantesson's e-mail address.

svn path=/trunk/; revision=12028
2004-09-17 09:30:41 +00:00
Guy Harris
99c29819b7 IP addresses are always big-endian.
svn path=/trunk/; revision=12027
2004-09-17 09:05:03 +00:00
Ronnie Sahlberg
0c460f1c76 new protocol : Kerberos v4
svn path=/trunk/; revision=12026
2004-09-17 08:43:03 +00:00
Ronnie Sahlberg
e80f94b719 get rid of some compiler warnings
svn path=/trunk/; revision=12025
2004-09-17 08:12:21 +00:00
Guy Harris
8ef40be614 FALSE, not TRUE, means big-endian in a "proto_tree_add_item()" call.
svn path=/trunk/; revision=12023
2004-09-17 08:10:12 +00:00
Guy Harris
b3360018b5 From Jelmer Vernooij:
- Support for more generic TLV's
- Support for two more SNAC families: email and sst
- Support for extended status (as used by iChat)
- Use correct TLV in SSI RightsInfo
- Dissect and handle FNAC flags field correctly

svn path=/trunk/; revision=12022
2004-09-17 02:02:04 +00:00
Guy Harris
842ddea77e "Tali" -> "TALI".
svn path=/trunk/; revision=12017
2004-09-16 19:23:33 +00:00
Guy Harris
fa01d3c0ad From Viorel Suman: TALI (RFC 3094) support.
ATify Luca Deri's e-mail address.

svn path=/trunk/; revision=12016
2004-09-16 19:17:42 +00:00
Guy Harris
57dc6e6c0c Just returning from a dissector without dissecting anything is rude;
make the dissectors "new-style" dissectors and return 0 for packets that
don't look like iSNS.  Do this *before* doing TCP reassembly - once
you've done reassembly, it's too late.

Don't set the columns in the main dissector routines - it's also done in
the PDU dissector, which is sufficient.  Set the protocol column to
"iSNS", not "isns".

svn path=/trunk/; revision=12015
2004-09-16 17:52:16 +00:00
Ronnie Sahlberg
5ef0b5c88d add new dissectors to build process
update Kerberos to call PKINIT (and remove the handwritten incomplete one inside packet-kerberos.c)



svn path=/trunk/; revision=12014
2004-09-16 09:01:20 +00:00
Anders Broman
28476a2a18 From Martin Mathieson:
I've written this patch to use the 'Delay since last SR' (DLSR) field found
in SR reports to calculate and report roundtrip-propagation delays.  This is
described in rfc 3550, section 6.4.1, inside the description of DLSR.

Only the endpoint can compute the end-end roundtrip delay, and only they
know exactly when the report is received and can compare it with the 'Last
SR timestamp' (LSR) that they set.  This patch instead takes the difference
between the capture times of the 2 reports and subtracts the DLSR (the LSR
is checked in case the SR it's referring to wasn't captured).  The time
difference represents a roundtrip network delay between the point of capture
and the sender of the SR containing the DLSR.


svn path=/trunk/; revision=11998
2004-09-15 20:08:30 +00:00
Anders Broman
d3d9e6b2bb From: Luis Ontanon
1. As you said visible fileds are much better.

 2. As they became visible I noticed the length and offset of the fields
    were wrong, I fixed them.

 3. I added few more "essential" fields (as a colleague told me as soon
    as you move away from 3G some fileds like username become the most
    important) 

svn path=/trunk/; revision=11991
2004-09-13 18:21:28 +00:00
Ronnie Sahlberg
fc78561244 update x509af to use machinegenerated _PDU() dissectors
svn path=/trunk/; revision=11989
2004-09-13 12:03:36 +00:00
Ronnie Sahlberg
6db1e35bb3 use autogenerated _PDU callbacks
svn path=/trunk/; revision=11987
2004-09-13 08:33:03 +00:00
Ronnie Sahlberg
eb1994a763 let asn2eth autogenerate the PDU callback wrappers instead of defining them manually
svn path=/trunk/; revision=11985
2004-09-13 08:06:52 +00:00
Guy Harris
8e149c4e97 Get rid of unused variables.
svn path=/trunk/; revision=11983
2004-09-13 07:47:49 +00:00
Guy Harris
9e0405f612 From Nathan Alger: update the JUNOS (Juniper) Radius VSA decodes to
JUNOS 5.3.

svn path=/trunk/; revision=11982
2004-09-13 07:43:22 +00:00
Guy Harris
f23f4ecf04 Use _WIN32 rather than WIN32 to determine if we're compiling on Win32;
according to Gisle Vanem, WIN32 isn't a built-in in MSVC, but _WIN32 is.

svn path=/trunk/; revision=11972
2004-09-11 23:03:36 +00:00
Guy Harris
fe3b7d73ed Move the base-64 routines to "epan/base64.c".
svn path=/trunk/; revision=11960
2004-09-10 23:16:00 +00:00
Guy Harris
d121dc07f1 The EBCDIC-to-ASCII routines are now declared in <epan/charsets.h>.
svn path=/trunk/; revision=11959
2004-09-10 23:07:33 +00:00
Guy Harris
b29c6b6d7d Show ETHERTYPE_IPv6 as "IPv6" in the type field.
svn path=/trunk/; revision=11953
2004-09-09 20:31:52 +00:00
Guy Harris
d614d107cf From Remi Denis-Courmont: heuristic dissector for Teredo.
svn path=/trunk/; revision=11948
2004-09-09 06:50:03 +00:00
Guy Harris
a8d0f1d31f From Luca Deri: NetFlow v9 enhancements.
svn path=/trunk/; revision=11947
2004-09-09 06:27:43 +00:00
Guy Harris
d8eefd6115 Squelch a compiler warning. (We really might want a
"tvb_ensure_reported_length_remaining()" call here.)

svn path=/trunk/; revision=11946
2004-09-08 21:14:40 +00:00
Anders Broman
10816e79c4 Added some valuestring parameters for PoC
svn path=/trunk/; revision=11942
2004-09-08 19:24:32 +00:00
Michael Tüxen
e3ea2351dc Updated the comment at the beginning of the file.
svn path=/trunk/; revision=11941
2004-09-08 13:10:01 +00:00
Michael Tüxen
3e8df5c448 Added support for version 12. So it now supports version 02, 08 and
12 of the internet draft.

svn path=/trunk/; revision=11940
2004-09-08 13:08:02 +00:00
Guy Harris
005aa9f66d From Devin Heitmuller: decode verifiers after stub decryption - for
NTLMSSP, the state of the RC4 stream is dependent on the stub being
decrypted before the verifier.

Correctly set the length and reported length of the tvb for the stub
(the reported length of that tvb should be set based on the *reported*
length of the parent tvbuff, not the captured length).

svn path=/trunk/; revision=11938
2004-09-08 09:35:47 +00:00
Ulf Lamping
26afcbd9cc First working implementation of "Decode As" for DCE-RPC interface bindings. Ethereal needs to capture the DCE-RPC bind sequence, to get a relationsship between the interface UUID and the current conversation. If this binding wasn't captured, one can use "Decode As" and choose the interface from a list corresponding to a specific conversation. Currently "only" implemented for connectionoriented (TCP) DCE-RPC, but connectionless is a work in progress.
svn path=/trunk/; revision=11924
2004-09-07 16:19:56 +00:00
Ulf Lamping
7125550f19 rename add_conv_to_dcerpc_bind_table to dcerpc_add_conv_to_bind_table and don't use packet_info as a parameter
svn path=/trunk/; revision=11916
2004-09-06 19:51:33 +00:00
Michael Tüxen
3ae576310c Add the capability to chose to remap the fist two PPIDS in each SCTP packet to a different dissector.
svn path=/trunk/; revision=11912
2004-09-06 15:04:27 +00:00
Michael Tüxen
9fccc025b6 Renamed the T-Bit in ABORT and SHUTDOWN-COMPLETE chunks as in the upcoming IG.
Initial support of SCTP-AUTH.

svn path=/trunk/; revision=11911
2004-09-06 10:12:51 +00:00
Ronnie Sahlberg
d163bab22e Update x509SAT to export DirectoryString.
Update X509CE to dissect EDIPartyName now that DirectoryString can be dissected


svn path=/trunk/; revision=11910
2004-09-06 09:12:17 +00:00
Ronnie Sahlberg
343025b91f Update to X509 Certificate Extensions. Make it also decode
GeneralName.directoryName 
(since we already implemented the Name type from X509IF already long time ago)



svn path=/trunk/; revision=11909
2004-09-06 08:39:14 +00:00
Guy Harris
13886cbc14 From Mark C. Brown: Cisco Port Aggregation Protoool support.
svn path=/trunk/; revision=11904
2004-09-05 07:06:23 +00:00
Guy Harris
94e6a44cb4 From Jeff Morriss: the code path that's bypassed with the "if (tree)"
and "if (!tree)" checks updates the Info column and calls subdissectors,
so we can't bypass all of it - don't bypass any of it.

svn path=/trunk/; revision=11903
2004-09-04 21:20:08 +00:00
Guy Harris
64a239293d From Matthew Bradley: add the OSI session layer dissector to the
heuristic dissector list for the COTP inactive subset.

svn path=/trunk/; revision=11902
2004-09-04 20:39:00 +00:00
Guy Harris
25e5041fc2 From Jouni Malinen: add a dissector for EAP-AKA, and fix some incorrect
attribute numbers in the EAP-SIM code.

svn path=/trunk/; revision=11899
2004-09-04 20:13:42 +00:00
Ulf Lamping
4777e5ef7b From Eric Wedel: backend things for "Decode As" of DCE-RPC interfaces
svn path=/trunk/; revision=11894
2004-09-04 11:35:26 +00:00
Guy Harris
22c088b8ab We don't need to incldue "globals.h", so don't do so.
svn path=/trunk/; revision=11891
2004-09-04 01:29:22 +00:00
Ronnie Sahlberg
f4f2b80b21 change result code names to be the same as in the LDAP standard
so it is easier to grep between them


svn path=/trunk/; revision=11880
2004-09-02 08:12:41 +00:00
Guy Harris
0d5f2faf2c Use the value for the UNIX epoch from RFC 868 for the difference between
the Time Protocol epoch and the UNIX epoch; that wasn't the value we
were using.

svn path=/trunk/; revision=11876
2004-09-01 18:48:31 +00:00
Guy Harris
365a145c34 Get rid of some unused variables.
Put into the protocol tree for APP1 and APP2 segments not otherwise
handled an item for the remaining segment data.

svn path=/trunk/; revision=11870
2004-09-01 08:12:20 +00:00
Ronnie Sahlberg
477ab2a7cc break out the nt decryption and password handling into a separate function
so we can call it from elsewhere


svn path=/trunk/; revision=11857
2004-08-31 08:30:58 +00:00
Guy Harris
344dddb124 Pass an "address *" to "rtp_add_address()" and "rtcp_add_address()", so
so that they could handle IPv6 addresses.

Clean up white space.

svn path=/trunk/; revision=11854
2004-08-30 10:03:54 +00:00
Ronnie Sahlberg
e74f18ee9b Add a key origin string for kerberos keys
so that IF kerberos succeeds in decrypting a blob it can print a nice
"[Decrypted using: keytab principal foo/bar@REALM]"
or
"[Decrypted using: key learnt from frame xx]"

This makes it much easier to keep track of what keys decrypt what blob
and is very useful for illustrating the sequence of keys that are exchanged and used in kerberos during the AS/TGS/AP exchanges.




svn path=/trunk/; revision=11853
2004-08-30 09:49:08 +00:00
Ronnie Sahlberg
ddf0bdb696 For protocols running atop TCP and PDUs spanning multiple segments
ethereal used to (bug) print in the summary line
"[Continuation to #%d]" where %d was the current frame number.

Fix this bug and let %d print the frame number of the first frame for this multiframe PDU.


(Strange that no one has complained about this one)


svn path=/trunk/; revision=11852
2004-08-30 08:40:08 +00:00
Ronnie Sahlberg
6de3544a52 Reintroduce the three previously removed iscsi header digest preference options as obsolete preferences so that users upgrading to later versions of ethereal will not get the warning output for unknown preferences printed to stdout.
svn path=/trunk/; revision=11851
2004-08-30 08:31:21 +00:00
Ronnie Sahlberg
ccf7ed00b6 remove two preference options related to iscsi header digest
make ethereal attempt to automatically detect wether header digest is used or not for iscsi sessions.

This makes ethereal decode the packets properly EVEN for perfectly normal sessions where
the discovery session is performed with no digest but the normal login session negotiates digest.


the detected headerdigest setting is tcp session wide and thus it
it does not work for such initiators (if such exist) that resuse the same socketpair between the discovery and normal login sessions.



svn path=/trunk/; revision=11850
2004-08-29 04:12:35 +00:00
Ronnie Sahlberg
d15ea23bd3 finalize refactoring of conversation handling.
what remains now is attaching autodetection of header digest to 
the session state structure.


svn path=/trunk/; revision=11849
2004-08-29 02:55:02 +00:00
Ronnie Sahlberg
9812797721 move the conversation find and create into dissect_iscsi() from dissect_iscsi_pdu() so it will be easier to add a session wide state structure to iscsi.
later this soon to be implemented structure (and not the conversation) will 
hold the information we need to track  wether
digests etc are in use or not.

this also allows some minor indentation cleanups as well.



svn path=/trunk/; revision=11848
2004-08-29 01:15:32 +00:00
Ronnie Sahlberg
6ab442bacf indentation change to make dissect_iscsi() easier to read
svn path=/trunk/; revision=11847
2004-08-28 23:54:16 +00:00
Ronnie Sahlberg
b5daad6252 ISCSI Login Request and Login Response never contain any HeaderDigests
svn path=/trunk/; revision=11846
2004-08-28 23:12:16 +00:00
Ronnie Sahlberg
ba7901db6c fix the bug introduced in the window scaling update, dont
try to access the conversation structures unless the
proper preferences are enabled (so that the structs exists iun the first place)



svn path=/trunk/; revision=11845
2004-08-28 21:46:54 +00:00
Guy Harris
463ea07dde Clean up white space.
"dissect_sip()" returns a "gint", so it has to be registered with
"new_register_dissector()".

svn path=/trunk/; revision=11839
2004-08-26 22:03:47 +00:00
Guy Harris
f51d98f87b Update the I-D name.
svn path=/trunk/; revision=11838
2004-08-26 18:34:16 +00:00
Ronnie Sahlberg
58b6e2f49f fix to that long outstanding bug with windowscaling
If window scaling is NOT offered in the SYN+ACK  then window scaling will
not be used at all, so clear it if we saw it offered previously in the SYN packet.

If the window is scaled in a packet,  make ethereal display that by appendign the 
string "  (scaled)" to the end of the tcp.window line in the
decode pane.



svn path=/trunk/; revision=11837
2004-08-26 10:03:40 +00:00
Guy Harris
5d1de30923 From Greg Morris:
1. Fix Fax Number NDS attribute.  This was causing malformed
	   packet message due to improper decoding. 

	2. Do not try to decode packet beyond connection status when
	   return value is non-zero (error condition).

svn path=/trunk/; revision=11836
2004-08-26 07:46:29 +00:00
Ronnie Sahlberg
379ca865e4 Add the optional 13th tag to the KRB_ERR structure.
This tag was part of an early kerberos draft but had dissapeared
when 1510 was published.
this early draft exist in implementations in the wild.

add 4 extra checksum types as well from that draft.



svn path=/trunk/; revision=11834
2004-08-25 11:35:04 +00:00
Ronnie Sahlberg
29a31444b6 Prettify the principal name expansion to make it look more like normal kerberos notation for principals
i.e. display it as "foo/bar"  instead of as "foo bar"




svn path=/trunk/; revision=11833
2004-08-25 10:48:37 +00:00
Guy Harris
46edf2a910 Newer version of Luis Ontanon's patch.
svn path=/trunk/; revision=11832
2004-08-25 05:51:14 +00:00
Anders Broman
ed93214bc5 From Luis Ontanon:
add some fields for filtering on radius attributes. 

svn path=/trunk/; revision=11830
2004-08-25 05:14:17 +00:00
Ronnie Sahlberg
4d1dd8df41 Fix the InfoQueryEASize infolevel for SetPathInfo and QueryPathInfo SMB's
svn path=/trunk/; revision=11821
2004-08-24 09:07:04 +00:00
Guy Harris
9ab4f055db From Remi Denis-Courmon: fix some problems with the decoding of Teredo
authentication headers and decode them more verbosely, and make some
other cleanups.

svn path=/trunk/; revision=11819
2004-08-24 07:48:14 +00:00
Anders Broman
6a1ee3eec0 Register SIP as a dissector to be able to do:
sip_handle = find_dissector("sip");
Which will be used by SigComp.

svn path=/trunk/; revision=11815
2004-08-23 19:23:31 +00:00
Guy Harris
c8834f9a7c Set the parameter item for called party number, calling party number,
and redirecting number to include the number.

Clean up white space.

svn path=/trunk/; revision=11813
2004-08-23 02:00:58 +00:00
Guy Harris
8bf8cd97ce Don't save the decrypted data on the first pass and use it on subsequent
references to a packet - just re-"decrypt" it (not a lot of work, given
the sophisticated encryption MAPI uses).  We don't save decrypted data
for non-trivial encryptions, so there's not much of a reason to save it
here - and the code to save it was at least sometimes not finding it
again, causing crashes.

Set the length and reported length of the decrypted data tvbuff
appropriately.

svn path=/trunk/; revision=11812
2004-08-23 01:04:46 +00:00
Anders Broman
10411e9790 Add the changes promised in the earlier checkin:
From Luis Ontanon:  add some fields for filtering r packet-isup which adds A,B and C numbers to the 
 fields (that is called,calling and redirecting number). Changed the patch to not use hidden fields and some code clean up

svn path=/trunk/; revision=11811
2004-08-22 20:32:20 +00:00
Jörg Mayer
2d3ad182c9 Propset eol-style and keywords
svn path=/trunk/; revision=11805
2004-08-22 09:07:19 +00:00
Guy Harris
2b64897a27 We don't need a variable to hold the sequence number any more - just
directly pass the result of "tvb_get_ntoh64()" to "proto_tree_add_text()".

svn path=/trunk/; revision=11803
2004-08-22 03:16:05 +00:00
Guy Harris
5294957f26 Use "tvb_get_ntoh64()", now that we have it.
svn path=/trunk/; revision=11802
2004-08-22 03:11:43 +00:00
Guy Harris
89de832c93 From Kelly Byrd: DAAP support.
svn path=/trunk/; revision=11801
2004-08-22 03:04:54 +00:00
Guy Harris
c68f62210f Add "tvb_get_ntoh64()" and "tvb_get_letoh64()" routines to fetch 64-bit
integers.

Make FT_INT64 and FT_UINT64 add numerical values, rather than byte-array
values, to the protocol tree, and add routines to add specified 64-bit
integer values to the protocol tree.

Use those routines in the RSVP dissector.

svn path=/trunk/; revision=11796
2004-08-22 00:31:58 +00:00
Jörg Mayer
96d7433ba7 Missed the second case in last change
svn path=/trunk/; revision=11790
2004-08-21 19:47:50 +00:00
Jörg Mayer
7310caf569 The chaddr element is always 16 bytes in size, although only hlen bytes are used
svn path=/trunk/; revision=11789
2004-08-21 19:41:24 +00:00
Ulf Lamping
ddd321c4d4 Replaced the column string [Reassembled TCP] by [TCP segment of a reassembled PDU], to be better understandable. But I'm still not satisfied with this...
svn path=/trunk/; revision=11785
2004-08-21 11:11:13 +00:00
Ulf Lamping
d530bd4e14 Prevent the word "desegmentation" at the GUI, but use reassembling at that places, as we also use "defragmentation" and "reassembling". Use reassembling as the general term for such actions.
I (hopefully) didn't changed any protocol fields or preference file names, but only the GUI labels appearing in the protocol display and the protocol preferences.

Also added a note to the protocol preferences (where appropriate), that you have to enable "Allow subdissectors to reassemble TCP streams" at the corresponding protocol settings for TCP reassembling to take effect.

If you encounter any mistakes I've made here, please let me know...

svn path=/trunk/; revision=11784
2004-08-21 09:02:52 +00:00
Guy Harris
47244f597f From Matthew Bradley: add filterable fields for the COTP TPDU numbers
and for the last-packet/earlier-fragment flag.

svn path=/trunk/; revision=11781
2004-08-20 08:15:11 +00:00
Anders Broman
0b4d5e5f87 From Luis Ontanon: add some fields for filtering r packet-isup which adds A,B and C numbers to the
fields (that is called,calling and redirecting number). Changed the patch to not use hidden fields and some code clean up.

svn path=/trunk/; revision=11780
2004-08-19 20:28:34 +00:00
Guy Harris
329415a52a MSVC++ doesn't understand that "64_bit_integer % 10000000" fits in an
"int", so we throw in a cast to squelch a warning.

svn path=/trunk/; revision=11774
2004-08-19 09:00:20 +00:00
Guy Harris
5fa4e1f01f Use "G_GINT64_CONSTANT()" for 64-bit integral constants, rather than
hardwiring "LL" as the suffix - it's not "LL" in MSVC++.

svn path=/trunk/; revision=11773
2004-08-19 07:55:30 +00:00
Guy Harris
643495f263 Don't assume that if we find a conversation that we've set a dissector
for it, or that we've given it a conversation data item - the
conversation might exist for other reasons. 

svn path=/trunk/; revision=11767
2004-08-18 07:34:15 +00:00
Guy Harris
09f2fe9191 Samba's smbclient doesn't put the extra stuff after the list of names in
the NTLMv2 blob, so don't bother dissecting it for now - perhaps we
should see how much of the NTLMv2 response remains, and, if there is
any, put it into the tree as extra data.

svn path=/trunk/; revision=11765
2004-08-18 06:56:36 +00:00
Guy Harris
9e2658ed78 Don't give up on the entire DHCPv6 packet if we find an error in
encapsulated options, just give up on the option in which they're
encapsulated.

Note that for the Relay Message option, we should perhaps dissect the
option data as a DHCP message, not just a sequence of options.

svn path=/trunk/; revision=11756
2004-08-17 00:21:13 +00:00
Guy Harris
bd2930f29e Don't do the FILETIME->nstime_t conversion in floating point, as it
produces some floating-point noise in the nanoseconds field; we've
required 64-bit integer support for a while, so use that.

svn path=/trunk/; revision=11754
2004-08-16 22:30:04 +00:00
Ulf Lamping
cf22aa8bbc cast define of TIME_T_MIN and TIME_T_MAX to (time_t), as MSVC seems to have problems with this definition and throws a warning "convert negative constant to unsigned integer"
svn path=/trunk/; revision=11753
2004-08-16 17:18:04 +00:00
Guy Harris
7af1c37cae From Ronnie Sahlberg: update the fs attributes to be more complete and
correctly dissected.

svn path=/trunk/; revision=11752
2004-08-16 07:59:18 +00:00
Guy Harris
f574301a2d From Ronnie Sahlberg: add dissection of the Teletext string type to the
DirectoryString choice in SelectedAttributeTypes.

svn path=/trunk/; revision=11751
2004-08-16 07:53:07 +00:00
Guy Harris
8bf903b464 Whenever we call "dhcpv6_option()", check to make sure it didn't set
"at_end" - if it does, the option is sufficiently bad that we can't
continue dissecting the packet, so we give up.

svn path=/trunk/; revision=11750
2004-08-16 07:52:07 +00:00
Guy Harris
97e73c43e9 From Martin Mathieson:
- test for NULL conversation data to avoid a potential crash when
	  looking up stream setup info (as RTP dissector does);

	- adds a heuristic function (like RTP, this is a preference
	  initially set to off).

svn path=/trunk/; revision=11748
2004-08-16 05:54:01 +00:00
Guy Harris
90d05b46d1 According to draft-ietf-dhc-failover-10, the message digest type is 1
byte - and a length of 1 is used to put the message digest into the
protocol tree, which agrees with that.  Therefore, "tvb_get_guint8()"
should be used to fetch it.

svn path=/trunk/; revision=11746
2004-08-16 01:13:11 +00:00
Gerald Combs
85f3fff1ef From Ronnie Sahlberg: Netscape certificate extensions.
svn path=/trunk/; revision=11743
2004-08-15 18:32:24 +00:00
Jörg Mayer
4bd2d5b0be Make message_digest_type a guint16. Removed cast.
Spotted by Ulf Lamping.

svn path=/trunk/; revision=11742
2004-08-15 11:39:13 +00:00
Ulf Lamping
60eb7df5b5 remove MSVC compiler warning (required a type cast)
svn path=/trunk/; revision=11741
2004-08-15 11:25:35 +00:00
Guy Harris
a626d0c168 Dissect the last unknown item at the end of the NTLMv2 blob.
svn path=/trunk/; revision=11740
2004-08-15 03:24:47 +00:00
Guy Harris
984c106564 From Jelmer Vernooij:
OSCAR-ICQ updates;
	DCOM IRemUnknown and IRemUnknown2 support.

svn path=/trunk/; revision=11736
2004-08-13 09:47:23 +00:00
Guy Harris
a2bcd399c8 From Giles Scott: Ethernet MAC Control Frame support.
svn path=/trunk/; revision=11735
2004-08-13 09:35:25 +00:00
Guy Harris
16b5c67a2b Note that the CIFS spec claims that the service name string in Tree
Connect AndX is always ASCII; we don't assume it is - the spec may very
well be wrong.

svn path=/trunk/; revision=11726
2004-08-12 21:32:20 +00:00