Commit Graph

229 Commits

Author SHA1 Message Date
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