Commit Graph

6124 Commits

Author SHA1 Message Date
Jörg Mayer 0a749ca6b4 Include wtap.h to declare wtap_pseudo_header
svn path=/trunk/; revision=6208
2002-09-07 00:41:26 +00:00
Jörg Mayer 546a605e75 Declare dissect_Ticket in packet-kerberos.h and include that into packet-spnego.c
svn path=/trunk/; revision=6207
2002-09-07 00:29:29 +00:00
Jörg Mayer 67a9ecc9b4 Use g_ntohXXX instead of ntohXXX
svn path=/trunk/; revision=6206
2002-09-07 00:08:02 +00:00
Jörg Mayer 2e0595ad63 Add back more string.h includes
svn path=/trunk/; revision=6205
2002-09-07 00:02:24 +00:00
Ronnie Sahlberg 8e876bf574 Forgot to add two files
svn path=/trunk/; revision=6204
2002-09-06 23:14:04 +00:00
Ronnie Sahlberg 4bf8ffa040 Patch from Oliver Abad to reduce CPU used by the redraw thread. Use g_sleep()
instead of a crude busy-wait loop.

svn path=/trunk/; revision=6203
2002-09-06 22:53:19 +00:00
Ronnie Sahlberg 429b24827b From Vassilii Khachaturov, cleanup of redundant code.
svn path=/trunk/; revision=6202
2002-09-06 22:45:44 +00:00
Guy Harris ce6eb43912 Put needed include back in (<string.h>, to declare "memset()").
svn path=/trunk/; revision=6201
2002-09-06 21:27:57 +00:00
Guy Harris 73e1310d82 From Hannes Gredler: decode the sample rate factor in cflowd5 headers.
svn path=/trunk/; revision=6200
2002-09-06 21:22:37 +00:00
Jörg Mayer f8c12c2520 Remove unused include
svn path=/trunk/; revision=6199
2002-09-06 18:29:41 +00:00
Ronnie Sahlberg 207cca1ce5 Forgot to point to tap.c for more documentation.
svn path=/trunk/; revision=6198
2002-09-06 14:05:59 +00:00
Ronnie Sahlberg 19433dcc4b A better than nothing doc for tapping.
svn path=/trunk/; revision=6197
2002-09-06 14:04:25 +00:00
Ronnie Sahlberg a8fd6b2fae Moved two other functions from gtk2-rpc[stat|progs].c into main.c so it
will be easier to reuse these functions on non-threaded gtk1-ethereal.

svn path=/trunk/; revision=6196
2002-09-06 13:24:45 +00:00
Ronnie Sahlberg 694eba5dbd Gtk2 port of RPCPROGS
svn path=/trunk/; revision=6195
2002-09-06 10:14:14 +00:00
Ronnie Sahlberg 6ccf93089e Gtk2 port of RPCPROGS statistics
svn path=/trunk/; revision=6194
2002-09-06 10:13:17 +00:00
Ronnie Sahlberg e318b2ff8a Moved access of the mutex protecting the critical region into gtk2/main.c
so that it would be possible to share an unmodified gtk2-rpcstat.c with
any future gtk1-ethereal support for the tap system.

Anyone reading this cvs entry:
Perhaps someone could just try to add a draw_all_listeners() to the place in
file.c where it has finished reading or rescanning all packets.
That might work though it wouldnt update in semi-real time but would
be simple and better than nothing.

svn path=/trunk/; revision=6193
2002-09-06 08:58:20 +00:00
Richard Sharpe 232db679b5 Properly dissect the innerContextToken for Kerberos in GSSAPI.
Now, all I have to do is to modularize the Kerberos dissector :-)

svn path=/trunk/; revision=6192
2002-09-06 05:41:17 +00:00
Jörg Mayer e4a2e2cefe Include cleanups in gtk and gtk2:
Remove unneded includes
Add include wrappers where missing

svn path=/trunk/; revision=6191
2002-09-05 18:48:52 +00:00
Ronnie Sahlberg e20ea63dd4 New type of onc-rpc statistics.
try: -z rpc,programs

svn path=/trunk/; revision=6190
2002-09-05 09:27:56 +00:00
Ronnie Sahlberg a26f9d5107 Added a mutex to protect a critical region in Gtk2 where the list can be
modified while the draw thread is walking it.

Changed the cmdline switch to -z so the same one can be used both for
ethereal and tethereal.

Updated man pages to reflect the RPCSTAT feature.

(Try this with Tools/Statistics/ONC-RPC/RTT and load a capture containing
onc-rpc. )

svn path=/trunk/; revision=6189
2002-09-05 06:46:38 +00:00
Richard Sharpe 14c0a66cc8 Fix up compiler warning problems ...
svn path=/trunk/; revision=6188
2002-09-05 04:19:31 +00:00
Richard Sharpe 97a92267db Commit my changes to handle KRB5 in SPNEGO ...
Turns out it is a KRB5 AP-REQ ASN1 encoded, and the Kerberos dissector is
going to need to be re-architected to deal with this.

svn path=/trunk/; revision=6187
2002-09-05 03:49:03 +00:00
Tim Potter 559b6aa26e The error codes returned by srvsvc rpcs are actually DOS error codes, not NT codes.
svn path=/trunk/; revision=6186
2002-09-05 00:17:05 +00:00
Richard Sharpe f982b27fae Remove a debugging printf ...
svn path=/trunk/; revision=6185
2002-09-04 22:20:57 +00:00
Ronnie Sahlberg b08f943ac6 Enable rpcstat in the gtk2 gui
svn path=/trunk/; revision=6184
2002-09-04 22:19:42 +00:00
Ronnie Sahlberg 77e51f9b1c Functions for the gtk2 based version of rpcstat
svn path=/trunk/; revision=6183
2002-09-04 22:18:12 +00:00
Ronnie Sahlberg 756b43584a Enable the tap feature for ethereal as well. (will only update in real time for the gtk2 port though)
svn path=/trunk/; revision=6182
2002-09-04 22:15:39 +00:00
Ronnie Sahlberg 159eb51139 When compiling for Gtk2, make sure we link with gthread as well.
svn path=/trunk/; revision=6181
2002-09-04 22:12:30 +00:00
Richard Sharpe 174fb49854 Add some level of OID naming etc ...
svn path=/trunk/; revision=6180
2002-09-04 21:34:38 +00:00
Jörg Mayer 070a9a3b11 Add packet-netflow.h to noinst_HEADERS
svn path=/trunk/; revision=6179
2002-09-04 20:38:00 +00:00
Guy Harris 6f25d0da7c From Matthew Smart: Cisco NetFlow protocol support.
svn path=/trunk/; revision=6178
2002-09-04 20:23:55 +00:00
Guy Harris 4d56a350bd Clean up white space, and fix a pod2man warning.
svn path=/trunk/; revision=6177
2002-09-04 19:33:05 +00:00
Guy Harris 7a973edb96 Update some comments.
svn path=/trunk/; revision=6176
2002-09-04 19:29:59 +00:00
Ronnie Sahlberg 93a649db6f Tap api. tap is a simple api that can be used for arbitrary extensions.
One example extension is rpcstat.

Try -Z rpc,rtt,100003,3 as argument to tethereal when reading a capture
containing NFSv3 packets.

tap-rpcstat.[ch] is intended to demonstrate the api and can be used to
base other extensions on.

svn path=/trunk/; revision=6175
2002-09-04 09:40:29 +00:00
Richard Sharpe 7876ca4fe0 Fix up warnings by implementing the stuff that was left out.
svn path=/trunk/; revision=6174
2002-09-04 06:54:45 +00:00
Richard Sharpe 6605085126 Fix the handling of the NTLMSSP blobs in the case when the server asks
for RAW NTLMSSP, but the client actually sends SPNEGO encapsulated NTLMSSP.

svn path=/trunk/; revision=6173
2002-09-04 05:46:02 +00:00
Richard Sharpe a842eb9d8e Who was that fscking idiot who put a \n into the mechListMIC format specifier!
svn path=/trunk/; revision=6172
2002-09-03 16:45:31 +00:00
Ronnie Sahlberg 81e5680712 From Ulf Lamping, support for ieee float/double types in dce-rpc
svn path=/trunk/; revision=6171
2002-09-03 08:41:35 +00:00
Ronnie Sahlberg 957f38e57c From Ulf Lamping, support for ieee float and double types in the dcerpc
dissectors.

svn path=/trunk/; revision=6170
2002-09-03 08:39:16 +00:00
Guy Harris 46ac8aa4bd From Hannes Gredler:
open up a new subtree for dissecting the lsp-entry TLV;

	remove the isis_lsp_decode_lsp_id() routine, as the same
	functionality is better served using print_system_id();

	fix a small bug in print_system_id().

svn path=/trunk/; revision=6169
2002-09-02 22:10:17 +00:00
Olivier Abad da5d4a70f9 New file describing the status of the GTK+ 2.0 port.
svn path=/trunk/; revision=6168
2002-09-02 16:22:31 +00:00
Jörg Mayer 7677924733 Add aclocal-fallback and aclocal-missing to the release tarball.
svn path=/trunk/; revision=6167
2002-09-01 23:54:54 +00:00
Olivier Abad ca3fcebd1c Update my email.
svn path=/trunk/; revision=6166
2002-09-01 14:30:34 +00:00
Olivier Abad 38ff21ecac Fix accelarators/mnemonics in dialogs containing radio or check buttons.
The GTK+ v2 documentation says accelarators should only be used with
menus. For text entries or buttons, we must use mnemonics.

Replace dlg_check_button_new_with_label_with_mnemonic() and
dlg_radio_button_new_with_label_with_mnemonic() with
gtk_check_button_new_with_mnemonic() and
gtk_radio_button_new_with_mnemonic()

For radio buttons, gtk_radio_button_group is deprecated. Use
gtk_radio_button_new_with_mnemonic_from_widget() to create a new button
in an existing group.

svn path=/trunk/; revision=6165
2002-09-01 09:46:54 +00:00
Richard Sharpe 9e310b26b3 Add the OID that MS created for KRB5 in mistake.
svn path=/trunk/; revision=6164
2002-09-01 01:31:55 +00:00
Guy Harris 4e4000a12d Make "gssapi_init_oid()" take a dissector handle rather than a
registered dissector name; that means you don't have to register a
dissector by name to associate it with a GSS-API security mechanism OID.

svn path=/trunk/; revision=6163
2002-08-31 22:22:29 +00:00
Richard Sharpe 9a34291606 Make sure we stop processing GSS-API tokens when we actually have finished
and not try to parse unrelated info in the TVB.

svn path=/trunk/; revision=6162
2002-08-31 20:50:08 +00:00
Guy Harris 8fbf4e59af Catch exceptions thrown while dissecting the NTLMSSP stuff, so that we
don't abort dissection of the entire packet if we get a
ReportedBoundsError while dissecting an authentication blob - the
authentication blob might be in the middle of a packet, and if it's too
short, that doesn't mean that the stuff *after* it shouldn't be
dissected.

A length of "-1" when adding items that have variable-length data
(FT_NONE, FT_PROTOCOL, FT_BYTES, and FT_STRING; this includes stuff
added with "proto_tree_add_text()") means "to the end of the tvbuff"; we
don't need to fetch the length of the tvbuff and use that.

svn path=/trunk/; revision=6161
2002-08-31 20:25:43 +00:00
Guy Harris e9e4881caa Catch exceptions thrown while dissecting the GSS-API stuff, so that we
don't abort dissection of the entire packet if we get a
ReportedBoundsError while dissecting an authentication blob - the
authentication blob might be in the middle of a packet, and if it's too
short, that doesn't mean that the stuff *after* it shouldn't be
dissected.

svn path=/trunk/; revision=6160
2002-08-31 20:09:26 +00:00
Richard Sharpe f9a17c0db3 Make Tokens into subtrees etc ...
svn path=/trunk/; revision=6159
2002-08-31 17:09:45 +00:00