Commit graph

9433 commits

Author SHA1 Message Date
Guy Harris
044e7f9875 Process all the data in the packet, regardless of whether it's captured
or not.

svn path=/trunk/; revision=9530
2004-01-03 03:43:20 +00:00
Guy Harris
348c38a211 Deal with some weird ISMP packets that have 0x42 0x42 0x03 in front of
the payload (are they some kind of weird 802.2 header?  0x42 is the SAP
for IEEE 802.1d Spanning Tree BPDUs).

svn path=/trunk/; revision=9529
2004-01-03 03:37:26 +00:00
Guy Harris
58a591bb00 Fix a comment.
svn path=/trunk/; revision=9528
2004-01-02 23:44:20 +00:00
Ulf Lamping
480cf33874 hide save dialog, while saving
svn path=/trunk/; revision=9527
2004-01-02 21:48:24 +00:00
Ulf Lamping
185b88da79 bugfix: init progbar to NULL at the right place
svn path=/trunk/; revision=9526
2004-01-02 21:47:06 +00:00
Ulf Lamping
7ec5f2a06c added a progressbar, when saving a large capture file
svn path=/trunk/; revision=9525
2004-01-02 21:01:40 +00:00
Ulf Lamping
b81609e779 recent files: make submenu insensitive if empty and
add a menu item to clear the list

svn path=/trunk/; revision=9524
2004-01-02 17:27:00 +00:00
Ulf Lamping
27092126e9 From Didier: don't update the progress bar more often than every 100ms
svn path=/trunk/; revision=9523
2004-01-02 13:38:22 +00:00
Ulf Lamping
976b0a3be3 From Didier: don't update the progress bar more often than every 100ms
svn path=/trunk/; revision=9522
2004-01-02 13:27:00 +00:00
Olivier Biot
5a0a6d9cd1 From Michael Shuldman: enhanced X11 support.
svn path=/trunk/; revision=9521
2004-01-02 12:57:26 +00:00
Olivier Biot
a551259fc2 From Michael Shuldman:
Add support for parsing some X11 replies and events (and
the framework for handling X11 errors it looks like) to the
existing X11 code, which parses X11 requests.

It parses what is the most difficult part of the replies/events,
they Keycode stuff by parsing the Keyboardmapping replies and etc,
and then KeyPress, KeyRelease events and some related stuff (used
for a specific project).

Adding support for parsing the rest of the event/replies should not
be difficult, I think it will mostly consist of going through every
event/reply and add the missing calls for each dataitem i.e.  register
the data, the remaining the eventcodes/replies are pretty
straightforward if I remember correctly.

All events and replies are reported, it's the "detailed" (-V option)
that's missing for most.

The replies, events and errors are listed in the Info column,
and are summarized in the protocol summary line.

Bogus if (tree) { } constructs have also been fixed.

List over other misc. stuff added:
 - handle multiple outstanding requests.
 - add AllocNamedColor to list of requests expecting a reply.
 - body for parsing error replies.
 - each packet can be sent to us multiple times, try to handle that.
 - change request_length display to be what the client actually sends
   for x11_request, not what it means (don't multiply by four).
 - add some more opcodes expecting a reply (gone through all listed
   in the ref. now, so should be complete).
 - use hashtable and sequencenumber for matching reply to request.

svn path=/trunk/; revision=9520
2004-01-02 12:52:45 +00:00
Richard Sharpe
507a8e2bbb Revert a small change I made a day or so ago because Guy has captures that
show that the short name can be in ASCII if flags 2 says ASCII.

svn path=/trunk/; revision=9519
2004-01-02 06:35:45 +00:00
Guy Harris
595f0c3aaf From Steven Lass: put the request and status lines into the protocol
tree as filterable fields.

svn path=/trunk/; revision=9518
2004-01-02 02:03:39 +00:00
Richard Sharpe
ee3018cca3 Tweak the name of the Coloring Rules dialog box to be more consistent ...
svn path=/trunk/; revision=9517
2004-01-02 00:19:59 +00:00
Guy Harris
08d8a8d087 Make the RTSP packet handling more like the HTTP packet handling.
svn path=/trunk/; revision=9516
2004-01-01 23:36:50 +00:00
Guy Harris
5eceafcd70 Clean up the blank line handling a bit.
svn path=/trunk/; revision=9515
2004-01-01 23:34:06 +00:00
Guy Harris
31cf9bfadb Don't show empty media formats.
svn path=/trunk/; revision=9514
2004-01-01 21:47:18 +00:00
Guy Harris
e2cb6b3a3b From Chris Waters: fix a typo.
svn path=/trunk/; revision=9513
2004-01-01 21:35:49 +00:00
Olivier Biot
8775850e3b Add support of contains operator in slices.
svn path=/trunk/; revision=9512
2004-01-01 17:02:56 +00:00
Olivier Biot
ef48504769 Add support of contains and matches operators on slices.
svn path=/trunk/; revision=9511
2004-01-01 16:59:20 +00:00
Ulf Lamping
af1096b14c label texts changed (tip from Richard)
svn path=/trunk/; revision=9510
2004-01-01 13:41:09 +00:00
Ulf Lamping
20ae160191 rearranged prefs topics
svn path=/trunk/; revision=9509
2004-01-01 13:29:16 +00:00
Ulf Lamping
864fbca295 moved recent files pref, as it splits corresponding dir entries
svn path=/trunk/; revision=9508
2004-01-01 13:16:40 +00:00
Ulf Lamping
b14477c11c comment fixed
svn path=/trunk/; revision=9507
2004-01-01 13:10:45 +00:00
Guy Harris
ebc4dbdfe9 http://www.ethereal.com/distribution/win32/development/ has GLib 2.2.3
packages, and a gtk+-1.3.0-20030717.zip package; update the version
numbers accordingly.

svn path=/trunk/; revision=9506
2003-12-31 22:17:28 +00:00
Guy Harris
75de95e784 Remove redundant protocol names from preference values.
svn path=/trunk/; revision=9505
2003-12-31 09:58:56 +00:00
Guy Harris
f4e918fa43 Make the tvbuff for SDP lines have the line length as its length and
reported length, so we show the right error if we go past the end of the
tvbuff.

svn path=/trunk/; revision=9504
2003-12-31 09:47:01 +00:00
Guy Harris
78302da55b If a packet has a packet number of 0, it's not a fragment if the status
is "last buffer".

svn path=/trunk/; revision=9503
2003-12-31 01:17:21 +00:00
Guy Harris
c45a2852f0 For WTAP_ENCAP_ETHERNET, you have to fill in the "eth.fcs_len" member of
the pseudo-header; these captures don't appear to have an FCS in them,
so set that member to 0.

svn path=/trunk/; revision=9502
2003-12-31 01:07:09 +00:00
Guy Harris
33709f95b9 In "get_field_data()", check to make sure the field doesn't run past the
end of the tvbuff.

svn path=/trunk/; revision=9501
2003-12-30 23:13:32 +00:00
Guy Harris
1123cca325 Include <string.h> to declare various string manipulation functions.
svn path=/trunk/; revision=9500
2003-12-30 22:48:14 +00:00
Ulf Lamping
dde0264c34 removed compilation of packet-slsk
svn path=/trunk/; revision=9499
2003-12-30 22:18:03 +00:00
Ulf Lamping
36db94961d added dick gooris to the list of contributors
svn path=/trunk/; revision=9498
2003-12-30 21:55:19 +00:00
Jörg Mayer
0e2a3c4ff2 Remove unused variable firmware_rev
svn path=/trunk/; revision=9497
2003-12-30 19:11:30 +00:00
Jörg Mayer
f17f7e2937 New protocol: Enterasys Interswitch Message Protocol (ismp) and
edp (Enterasys Discovery Protocol)

svn path=/trunk/; revision=9496
2003-12-30 17:14:15 +00:00
Olivier Biot
8770bdb794 Header files proto-ABBREV.h must not exist if there are no functions
to export to other dissectors.

Describe the "if (tree)" construct and its sense by introducing 2 operation
modes of Ethereal:
	(a) operational dissection (tree == NULL)
and
	(b) detailed dissection (tree != NULL).

Fix some typos.

svn path=/trunk/; revision=9495
2003-12-30 15:49:12 +00:00
Richard Sharpe
6d24754e6a A small fix from Andrew Bartlett. The Short File Name is always in UNICODE.
svn path=/trunk/; revision=9494
2003-12-30 04:38:20 +00:00
Guy Harris
b1390392a6 Clean up the handling of the code that handles the payload a bit; this
also fixes a case where we'd put the same string into the Info column
twice.

Put the packet sequence number into the Info column for segmented invoke
and result PDUs, even if we don't try to reassemble them.

Don't put an entry into the protocol tree for the payload if there isn't
any payload.

svn path=/trunk/; revision=9493
2003-12-30 01:58:17 +00:00
Ulf Lamping
c8cddf7163 minor changes and a small bugfix
svn path=/trunk/; revision=9492
2003-12-30 01:19:02 +00:00
Guy Harris
e6b204923b Update another URL and other stuff in that comment.
svn path=/trunk/; revision=9491
2003-12-30 00:22:38 +00:00
Guy Harris
c00c1e42f1 Update a URL.
svn path=/trunk/; revision=9490
2003-12-30 00:19:18 +00:00
Guy Harris
ecac21ab7f Export a "dissect_tcp_payload()" routine from the TCP dissector, for use
by pass-through proxying dissectors such as the SOCKS dissector; it does
the work of processing a TCP segment, including desegmentation.  Export
the "next sequence number" value to subdissectors, so they can use it
when calling "dissect_tcp_payload()".

Use that in the SOCKS dissector.

svn path=/trunk/; revision=9489
2003-12-30 00:03:48 +00:00
Guy Harris
354b911d05 Add a "saved_can_desegment" field to the "packet_info" structure, so
that dissectors for pass-through proxying protocols such as SOCKS can
allow the subdissectors they call to ask that desegmentation be done.

svn path=/trunk/; revision=9488
2003-12-29 22:44:50 +00:00
Guy Harris
d177c7d731 Nothing in "range.c" is GTK+-specific, so move it to the top-level
directory.

svn path=/trunk/; revision=9487
2003-12-29 22:43:33 +00:00
Guy Harris
1479458d1b From RFC 2616: "Field names are case-insensitive." Use
"tvb_strncaseeql()", not "tvb_strneql()", to check for
"Content-Length:".

svn path=/trunk/; revision=9486
2003-12-29 22:33:18 +00:00
Jörg Mayer
182b2274a4 Delete the generated files only during maintainerclean
svn path=/trunk/; revision=9485
2003-12-29 21:39:10 +00:00
Jörg Mayer
db3f81b8db range.h moved from gtk to .
svn path=/trunk/; revision=9484
2003-12-29 21:18:12 +00:00
Ulf Lamping
bb2245d366 removed a GTK2 warning
svn path=/trunk/; revision=9483
2003-12-29 21:04:47 +00:00
Ulf Lamping
05b1cc27dd removed a GTK2 warning
svn path=/trunk/; revision=9482
2003-12-29 20:53:39 +00:00
Guy Harris
c4df6e6464 Give it an RCS ID and copyright notice.
svn path=/trunk/; revision=9481
2003-12-29 20:46:12 +00:00