Commit Graph

10768 Commits

Author SHA1 Message Date
Ronnie Sahlberg cac1790782 isns standard is unclear here but some servers do respond with a 0 length
PGT in DevAttrRegRsp if the DevAttrReg contained it.

Allow DevAttrRegRsp to contain 0 length PGTs.

svn path=/trunk/; revision=10868
2004-05-13 13:39:47 +00:00
Ronnie Sahlberg debabfd04b update to isns:
make it handle PGT with length 0 properly
only try to dissect the attributes if this is the first PDU in a sequence.

svn path=/trunk/; revision=10867
2004-05-13 13:28:38 +00:00
Ulf Lamping ad495101de fixed httpstat_reset, so reloading a capture file won't increase statistic values more and more
svn path=/trunk/; revision=10866
2004-05-13 12:19:24 +00:00
Ulf Lamping b0dd8e1e49 use sed to create a temporary doxygen config file,
to get the version number from ..\config.nmake

svn path=/trunk/; revision=10865
2004-05-13 10:10:28 +00:00
Ulf Lamping 11451cd89f we now have export dialogs,
and we can change the main windows layout

svn path=/trunk/; revision=10864
2004-05-13 09:04:14 +00:00
Gerald Combs fa3bc245fd Bump the version up to 0.10.4. Preliminary updates to the NEWS file. Updates
welcome.

svn path=/trunk/; revision=10863
2004-05-13 03:34:14 +00:00
Guy Harris cf08840415 From Carlos M. Pignataro: MPLS PW Control Channel Header support.
svn path=/trunk/; revision=10862
2004-05-12 20:20:49 +00:00
Guy Harris 90076e900f Make the calls to build the protocol tree regardless of whether we're
building one or not - we have to do some of that work anyway, so we know
the offset of the payload and so that we call sub-dissectors, and the
easiest way to do that is to do all the work (you make more procedure
calls that way than you'd like, but the procedures at least return
quickly when they find they've been passed a null pointer; hopefully
that won't add too much CPU time to dissection of BACNET traces on the
first pass).

Don't use "proto_tree_add_uint_format()" in a case where it's not
necessary - and fix the field being used not to have a bitmask, as it's
not a bitfield.

svn path=/trunk/; revision=10861
2004-05-12 19:55:14 +00:00
Guy Harris b76e5f897e From Thomas Anders: display the time in time protocol packets as a date
and time rather than as a raw seconds-since-1900-01-01-00:00:00 GMT.

Put it into the protocol tree as a named field (the named field was
there but wasn't being used).

Give the RFC number for the protocol in a comment.

svn path=/trunk/; revision=10860
2004-05-12 19:23:08 +00:00
Guy Harris 8b9bddeb56 You can hand a string to "col_add_str()" as an argument - or to
"col_set_str()", for that matter.

Eliminate a compiler warning by initializing a variable.

Don't use "match_strval()" on values you don't know for certain are in
the value_string table - use "val_to_str()", so that you don't get a
null pointer if the value isn't in that table.  ("Know for certain"
meaning "the code has made sure it's a value that's in the table", not
"the protocol spec says the field must have one of the values in the
table".)

svn path=/trunk/; revision=10859
2004-05-12 09:40:57 +00:00
Guy Harris 4436e72f77 From Ryuji Somegawa: fix some typos.
svn path=/trunk/; revision=10858
2004-05-12 09:29:34 +00:00
Gerald Combs b17c24f450 From Dominic B�chaz: IEEE 1588 (Precision Time Protocol) support.
svn path=/trunk/; revision=10857
2004-05-12 03:37:28 +00:00
Jörg Mayer 9950e82677 Update manuf and FAQ to current master files
svn path=/trunk/; revision=10856
2004-05-11 22:07:14 +00:00
Nathan Neulinger c7a64bbc34 add initial support for newer opcodes
svn path=/trunk/; revision=10855
2004-05-11 14:21:48 +00:00
Guy Harris facf14cefe From metatech:
- Reassembly of MQ messages spanning several PDU
- RESET message

svn path=/trunk/; revision=10854
2004-05-11 11:27:20 +00:00
Guy Harris 6eaf4ec1f2 From Carlos M. Pignataro: interface parameter and VC type updates from
the following internet drafts:
o PWE updates:
  - draft-ietf-pwe3-control-protocol-06.txt
  - draft-ietf-pwe3-sonet-05.txt
  - draft-ietf-pwe3-fragmentation-05.txt
  - draft-ietf-pwe3-fcs-retention-00.txt
  - draft-vainshtein-pwe3-tdm-control-protocol-extensi-00.txt
  - draft-ietf-pwe3-vccv-02.txt
  - draft-ietf-pwe3-iana-allocation-04.txt

svn path=/trunk/; revision=10853
2004-05-11 11:20:34 +00:00
Guy Harris 1b6c7006d7 From Lars Roland: add the libethereal .def file to the list of files
included in the distribution.

svn path=/trunk/; revision=10852
2004-05-11 11:19:26 +00:00
Guy Harris 38a66b2157 From Lars Roland: ignore the libethereal DLL and export file in CVS.
svn path=/trunk/; revision=10851
2004-05-11 11:04:39 +00:00
Guy Harris 2d673629b5 Add a colon to the top-level item for a sequence or set, to separate the
name for the sequence or set from any summary items added as the members
of the sequence or set are dissected.

svn path=/trunk/; revision=10850
2004-05-11 10:57:14 +00:00
Guy Harris cdc8657d43 A line is an RTSP request merely because it begins with a string that's
an RTSP request name - either the line has to end after the request name
or there has to be a whitespace character after the request name.

svn path=/trunk/; revision=10849
2004-05-11 10:55:42 +00:00
Guy Harris 05ce3fd4ac Kerberos encryption types are ASN.1 integers, meaning signed values, and
at least one mail message:

	http://mailman.mit.edu/pipermail/kerberos/2004-February/004653.html

shows some of the weird Microsoft encryption type values logged by some
KDC implementation as negative integers.  Also, show them as decimal in
the top-level line for encryption types, just as we do in the lines for
each encryption type.

svn path=/trunk/; revision=10848
2004-05-11 07:30:33 +00:00
Guy Harris c4168122eb In the top-level summary item for a bitstring, show the names of the
bits as a parenthesized, comma-separated lists - using only blanks as
separators doesn't work well if the names themselves have blanks in
them, as some of them do.

Note that "dissect_ber_integer()" won't work well if the length of the
item isn't appropriate for the field, e.g. a length > 4 for an FT_INTn
or FT_UINTn field.

svn path=/trunk/; revision=10847
2004-05-11 07:26:45 +00:00
Gerald Combs 305e427429 Make sure next_level_value isn't NULL before trying to access one of its
members.

svn path=/trunk/; revision=10846
2004-05-11 02:02:44 +00:00
Ulf Lamping 904982df8e add "configurable" path to doxygen.exe
svn path=/trunk/; revision=10845
2004-05-11 01:05:13 +00:00
Ulf Lamping e045c4a596 add the new doxygen.cfg file to the EXTRA_DIST files
svn path=/trunk/; revision=10844
2004-05-11 01:00:51 +00:00
Ulf Lamping 5ee3261e79 experimental doxygen support
svn path=/trunk/; revision=10843
2004-05-11 00:56:52 +00:00
Ulf Lamping 576c374213 adding a doxygen target
svn path=/trunk/; revision=10842
2004-05-11 00:53:12 +00:00
Ulf Lamping 8228cd1b79 prepared for generate documentation using doxygen,
added lot's of new (hopefully correct) comments

svn path=/trunk/; revision=10841
2004-05-10 23:13:55 +00:00
Olivier Biot 4ee7c7faf6 As noted by Thomas Anders, the Heimdal libroken library has a base64_decode()
function with a different signature than the one defined in util.c/util.h.
For this reason, we need to rename our base64_decode() routine.

The routine is now called epan_base64_decode().

svn path=/trunk/; revision=10840
2004-05-10 22:20:24 +00:00
Olivier Biot 687f3af0f2 From Jerry Talkington: speed up tvb_uncompress() by increasing the minimal
and default uncompression buffer.

svn path=/trunk/; revision=10839
2004-05-10 22:14:07 +00:00
Ulf Lamping b3dc21eb5f use GNUC_FORMAT_CHECK in every appropriate function
svn path=/trunk/; revision=10838
2004-05-10 14:02:17 +00:00
Ulf Lamping 685195c073 first try to get rid of annoying double definition of the proto_tree_add_xy_fromat functions,
because of GNUC printf format checks

svn path=/trunk/; revision=10837
2004-05-10 08:29:18 +00:00
Gerald Combs 63eb447d7e Add ps.c to BUILT_SOURCES, so that "make distcheck" doesn't burst into flames.
svn path=/trunk/; revision=10836
2004-05-10 03:30:24 +00:00
Guy Harris cb6f40213b From Lars Roland: fix some MSVC build problems.
svn path=/trunk/; revision=10835
2004-05-09 18:54:00 +00:00
Guy Harris 15af0f656f From Lars Roland: add support for building a libethereal.dll with MSVC:
add a config.nmake option to control whether to build
	libethereal.dll or not;

	remove "./wiretap" from PATH to prevent problems due to
	wrongly-loaded files;

	build dissector.lib with MSVC;

	move "print.c" and "ps.c" to the dissector helpers, as "print.c"
	imports variables from packet-frame.c and packet-data.c, which
	are in libethereal;

	move "g711.c" out of the dissector helpers, as they're used only
	by Ethereal in a tap, not in Tethereal or in any dissector;

	add a .def file for libethereal;

	arrange to declare global variables exported from libethereal
	with "__declspec(dllimport)" when building programs that import
	those variables;

	update the NSIS installer.

Make the "configure" script define ETH_VAR_IMPORT as "extern".

svn path=/trunk/; revision=10834
2004-05-09 10:03:41 +00:00
Ulf Lamping b964421aec added changed some comments to better reflect current "behaviour"
svn path=/trunk/; revision=10833
2004-05-09 09:26:31 +00:00
Olivier Biot 72388f6dfd Move the creation of the de-chunked data source to the place where the data
is being dechunked; this will highlight the correct bytes when selecting the
compressed data from the protocol tree.

Add comments for explaining what happens where.

Strip trailing white space.

svn path=/trunk/; revision=10832
2004-05-09 09:07:33 +00:00
Guy Harris 62f5077dc3 From Graeme Hewson:
Fix off-by-one errors in slice_func

svn path=/trunk/; revision=10831
2004-05-09 08:29:48 +00:00
Guy Harris 35cf424c08 From Graeme Hewson:
"aim.fnac.ssi.buddyname==ab" caused segmentation fault.  Fix
     handling of unparsed value as byte string.

svn path=/trunk/; revision=10830
2004-05-09 08:25:52 +00:00
Guy Harris af3885bcf1 From Graeme Hewson:
Error if protocol specified on RHS of display filter comparison.
     If user specified "fc", they probably intended a byte value rather than
     the fibre channel protocol; fix makes mistake clear.

     Fix assertion failure with range on LHS of display filter comparison
     and field on RHS.

svn path=/trunk/; revision=10829
2004-05-09 08:17:32 +00:00
Ulf Lamping 09962ebb64 make notebook tabs scrollable, if not all fits into the pane,
enable a popup menu on the notebook tabs, with the tab labels

svn path=/trunk/; revision=10828
2004-05-09 07:01:07 +00:00
Guy Harris 4befb390d1 From Graeme Hewson: get rid of unnecessary check (it's necessary for
octal, as the maximum of 3 octal digits can be more than 0377, but not
necessary for hex, as the maximum of 2 hex digits can't be more than
0xff).

svn path=/trunk/; revision=10827
2004-05-08 22:03:43 +00:00
Gerald Combs ca78495f89 Don't try to include epan/config.h.win32 in the distribution.
svn path=/trunk/; revision=10826
2004-05-08 21:43:38 +00:00
Olivier Biot e0a8f5e492 From Richard Coe: only create a conversation on the first packet of a DICOM
conversation.

svn path=/trunk/; revision=10825
2004-05-08 21:31:52 +00:00
Michael Tüxen e8a1272aff Fixed problems of handling PkTDRP chunks.
svn path=/trunk/; revision=10824
2004-05-08 17:54:54 +00:00
Olivier Biot 04aec13970 The DICOM dissector assumed that any existing conversation was a DICOM
conversation. Fix this by checking whether there is conversation data for
the DICOM dissector. If not, the conversatioj is not a DICOM conversation,
and we do not attempt at dissecting it as DICOM.

svn path=/trunk/; revision=10823
2004-05-08 13:39:36 +00:00
Olivier Biot 51aebd3ba7 D'oh - remove leading '+' marks from manually applying a patch.
svn path=/trunk/; revision=10822
2004-05-08 12:59:02 +00:00
Olivier Biot 9cce7b3e27 From Jerry Talkington:
* Add comments on why we may not use tvb_free() at some places.

* Add a new data source for a reassembled chunked entity.

svn path=/trunk/; revision=10821
2004-05-08 12:54:24 +00:00
Olivier Biot 9ee716dfb5 Add the valuable input from Gilbert Ramirez in reply to questions I had when
thinking at implemeting an "in" display filter operation.

svn path=/trunk/; revision=10820
2004-05-08 11:40:29 +00:00
Olivier Biot 538fdc83b5 Fix a tvb_free() of a tvbuffer created as a tvb_new_subset(), which caused
double freeing of memory. Add a comment at the tvb_new_subset() call so
future developers will be warned.

Always add the compressed entity as an item in the protocol tree, so it can
be exported by selecting the packet bytes.

svn path=/trunk/; revision=10819
2004-05-08 10:28:47 +00:00