Commit graph

10209 commits

Author SHA1 Message Date
Guy Harris
dc883b3bc7 Include <errno.h> to declare "errno".
svn path=/trunk/; revision=10157
2004-02-21 04:26:29 +00:00
Guy Harris
b312ba697d Fix a typo.
svn path=/trunk/; revision=10156
2004-02-21 04:19:12 +00:00
Guy Harris
2789dccd2c Report a failure to open the XML disctionary file with
"report_open_failure()".

svn path=/trunk/; revision=10155
2004-02-21 02:59:53 +00:00
Guy Harris
711a7cbfa3 Regenerate the files from the latest list of exported functions.
svn path=/trunk/; revision=10154
2004-02-21 02:21:36 +00:00
Guy Harris
091108fb80 Move "dissect_per_bit_string()" to the end, to preserve the order of
earlier entries in the table of exported functions.

svn path=/trunk/; revision=10153
2004-02-21 02:20:44 +00:00
Guy Harris
83634f54c7 Add routines that can be called from dissectors to report file open and
read errors; there are separate implementations for Ethereal (pops up an
alert box) and Tethereal (prints an error message).

Use those routines in the ASN.1 dissector.

svn path=/trunk/; revision=10152
2004-02-21 02:15:07 +00:00
Guy Harris
58df4b6f4a Get the Content-Encoding and Transfer-Encoding headers and, for now,
don't try to dissect the body if there's any special encoding.

svn path=/trunk/; revision=10151
2004-02-21 01:31:56 +00:00
Guy Harris
d9a7364184 Handle exceptions the same way we handle them in the DCE RPC dissector -
rethrow BoundsError, call "show_exception()" for all other errors, and
then fall through to dissect the trailer outside the TRY/CATCH/ENDRY
construct.

svn path=/trunk/; revision=10150
2004-02-21 00:33:31 +00:00
Guy Harris
ea26e0b4cf Handle exceptions the same way we handle them in the DCE RPC dissector -
rethrow BoundsError, call "show_exception()" for all other errors, and
then fall through to dissect the trailer outside the TRY/CATCH/ENDRY
construct.

svn path=/trunk/; revision=10149
2004-02-21 00:22:16 +00:00
Jörg Mayer
83dd0267a3 Remove unused variables, make count unsigned to avoid s/u warning
svn path=/trunk/; revision=10148
2004-02-20 23:09:51 +00:00
Guy Harris
5321ccb6c6 Revert to the previous scheme, wherein we always save the geometry
information - there's really no reason not to do so (it turned out not
to be the cause of the problem I saw wherein recent versions of Ethereal
were popping up the main window in an inconvenient place - the problem
wasn't that it was remembering the inconvenient place, it's something
else).

svn path=/trunk/; revision=10147
2004-02-20 23:04:50 +00:00
Jörg Mayer
988347c707 Change //-comments into /* comments
svn path=/trunk/; revision=10146
2004-02-20 23:03:16 +00:00
Gerald Combs
18d3d9ee71 Don't clobber the concurrent DNS resolution flag each time we start a
capture.

svn path=/trunk/; revision=10145
2004-02-20 22:56:00 +00:00
Guy Harris
dbd422ecc4 Give it an RCS ID.
svn path=/trunk/; revision=10144
2004-02-20 22:38:44 +00:00
Guy Harris
b2f839c152 Add an RCS ID.
Get rid of unused variables (probably left over from cutting-and-pasting
stuff from the Skinny Client Control Protocol dissector).

Don't use C++style comments.

Clean up indentation.

svn path=/trunk/; revision=10143
2004-02-20 22:34:59 +00:00
Guy Harris
082091a7d5 Squelch some compiler warnings.
Format the definitions of the segment-reassembly fields the same way the
other field definitions are formatted.

svn path=/trunk/; revision=10142
2004-02-20 22:32:36 +00:00
Guy Harris
0a8db3ba32 Fix a typo.
svn path=/trunk/; revision=10141
2004-02-20 22:14:12 +00:00
Gerald Combs
e6b04d59f4 From Rowan McFarlane: Update Skinny to support Cisco CallManager 4.x,
add support for Cast Client Control Protocol.

svn path=/trunk/; revision=10140
2004-02-20 21:25:16 +00:00
Gerald Combs
058dbba4b9 Add support for a "version.conf" file in the main directory which can
be used to adjust version preferences.  It understands two configuration
directives: "enable", which can be 0 or 1, and "format", which can be any
strftime()-compatible string, e.g. "V12-powered on %A %Y-%m-%d %H:%M:%S".

If no configuration file is present, the configuration defaults to

enable: 1
format: CVS %Y%m%d%H%M%S

svn path=/trunk/; revision=10139
2004-02-20 20:36:14 +00:00
Ulf Lamping
0a6078c1a2 win32 only: when adding to the recent file list, prevent duplicates by:
a) convert all slashes to backslashes b) do an insensitive filename compare

svn path=/trunk/; revision=10138
2004-02-20 18:43:59 +00:00
Ulf Lamping
6b03887732 minor bugfix from recent check in
svn path=/trunk/; revision=10137
2004-02-20 18:37:00 +00:00
Ulf Lamping
ec03b28e12 bugfix: resizing (values from recent) must be done, before the
top_level window is shown, otherwise it has no effect!

svn path=/trunk/; revision=10136
2004-02-20 17:43:50 +00:00
Ulf Lamping
fed61823c6 win32 drag-n-drop: corrected handling of UNC filenames "\\host\share\dir..."
svn path=/trunk/; revision=10135
2004-02-20 17:36:37 +00:00
Ulf Lamping
b083ba1ed4 bugfix for export selected data: win32 needs O_BINARY flag for open call,
otherwise it will do text mode translations (CRNL things) which isn't desired here

svn path=/trunk/; revision=10134
2004-02-20 17:31:00 +00:00
Ulf Lamping
e79d6d725e comment changed
svn path=/trunk/; revision=10133
2004-02-20 17:27:16 +00:00
Jörg Mayer
6d421d36dd Frederic Peters: handle ulong and ushort
svn path=/trunk/; revision=10132
2004-02-20 13:51:30 +00:00
Jörg Mayer
339e52c355 Frederic Peters: Make Ethereal appear in Gnome Menu
svn path=/trunk/; revision=10131
2004-02-20 13:50:06 +00:00
Guy Harris
b30269de64 Add a few more new toolbar icons.
svn path=/trunk/; revision=10130
2004-02-20 11:06:20 +00:00
Guy Harris
9ed7cdfb2d From Tomas Kukosa: support calling tunneled protocols subdissectors from
an H.225 dissector.

svn path=/trunk/; revision=10129
2004-02-20 10:56:29 +00:00
Guy Harris
b65925e278 Changes required to match GSM SMS dissector changes.
svn path=/trunk/; revision=10128
2004-02-20 10:50:13 +00:00
Guy Harris
6cc2617dfb Changed to allow GSM MAP to push up TPDUs.
svn path=/trunk/; revision=10127
2004-02-20 10:49:39 +00:00
Guy Harris
c3ad21e9fc From Michael Lum:
Lots of changes paralleling TCAP for nested sequences and
	multiple component support.

	Modified for partial parameter identification in selected
	messages.

	Added support for identifying embedded SMS and passing to GSM
	SMS dissector.

svn path=/trunk/; revision=10126
2004-02-20 10:49:12 +00:00
Guy Harris
8b29cc684b From Michael Lum:
Corrected many miscellaneous problems with nested indefinite
	length parameters.

	Now supports multiple Components.

svn path=/trunk/; revision=10125
2004-02-20 10:43:12 +00:00
Guy Harris
cea8bc3801 From Tomas Kukosa: reassemble segmented Q.931 messages.
svn path=/trunk/; revision=10124
2004-02-20 10:34:42 +00:00
Guy Harris
257a117d11 Handle the case where, after an exception is thrown dissecting the body
of the 802.3 packet, we get *another* exception when dissecting the
trailer (consider a truncated frame with a malformed body).

svn path=/trunk/; revision=10123
2004-02-20 10:21:46 +00:00
Ronnie Sahlberg
dce73d4e1f Update to Kerberos.
Split kerberos prototype into two halves:
helpers to dissect ASN.1 BER in packet-ber.c
and kerberos stuff using those helpers in packet-kerberos.c

This new kerberos thing places filterable items for every single field
and also dissects the bitstring Option fields.

It is hoped that this will make it easier to extend kerberos to do decryption of service tickets.

svn path=/trunk/; revision=10122
2004-02-20 10:04:10 +00:00
Guy Harris
e333d94262 FN_{SRC,DST}_ADDRESS and FN_{SRC,DST}_PORT aren't used - get rid of
them.

Add support for "Find Frame" and "Colorize Host Traffic" menus, similar
to what the endpoint table has.

svn path=/trunk/; revision=10121
2004-02-20 09:27:24 +00:00
Guy Harris
9c7c10744a From Ian Schorr: taps to keep statistics of traffic by host.
svn path=/trunk/; revision=10120
2004-02-20 09:09:12 +00:00
Guy Harris
0f1b525563 In the columns list in a results token, columns with a type of 106
appear to have 3 extra bytes of stuff before the column name.

svn path=/trunk/; revision=10119
2004-02-20 08:40:30 +00:00
Guy Harris
3b1a2d094f On Win32, don't treat "file not found" as an error when trying to load
the ASN.1 file if the pathname is the old default file pathname, with
the last component preceded by "/" rather than "\", to suppress
complaints if you have a preferences file saved under the old regime.

svn path=/trunk/; revision=10118
2004-02-20 02:57:08 +00:00
Olivier Biot
491cc1372a Add support for dissection over HTTP.
svn path=/trunk/; revision=10117
2004-02-19 20:27:43 +00:00
Gerald Combs
26d098a070 Remove redundant GTK2 entries.
svn path=/trunk/; revision=10116
2004-02-19 15:08:38 +00:00
Jörg Mayer
fe1279ed9a Remove a comment on ancient Ethereal
svn path=/trunk/; revision=10115
2004-02-19 11:45:02 +00:00
Guy Harris
98a225ac08 Don't save the geometry items unless the user asked to have them saved.
svn path=/trunk/; revision=10114
2004-02-19 10:48:28 +00:00
Guy Harris
3624f8c3ba Give the official URLs on www.postgresql.org for various versions of the
protocol.

svn path=/trunk/; revision=10113
2004-02-19 08:56:50 +00:00
Guy Harris
4351fd1ab3 Put in a comment with a URL for the protocol description.
svn path=/trunk/; revision=10112
2004-02-19 08:53:07 +00:00
Guy Harris
52c0dccb43 From Edwin Calo: fix a bug in the way the bitone is obtained.
Put the strings under the top-level protocol tree item.

svn path=/trunk/; revision=10111
2004-02-19 08:25:48 +00:00
Ulf Lamping
8588506f32 added missing distribution files
svn path=/trunk/; revision=10110
2004-02-19 08:24:44 +00:00
Guy Harris
d7ea5b23cf A DLT_ value of 13, in a Nokia-format capture, appears to be an ATM
capture of some sort.

svn path=/trunk/; revision=10109
2004-02-19 08:02:06 +00:00
Guy Harris
54d3a14f04 From Didier Gautheron: initialize "ett_asp_utf8_name".
svn path=/trunk/; revision=10108
2004-02-19 07:12:26 +00:00