Commit Graph

7241 Commits

Author SHA1 Message Date
Richard Sharpe 043ef892af Make sure we don't obliterate the UNICODE flag ...
svn path=/trunk/; revision=7278
2003-03-04 23:09:59 +00:00
Guy Harris 53f465a984 From Todd Sabin: allocate the buffer for the decrypted payload, rather
than using a fixed-size 1500-byte buffer.

Use memory chunks for ntlmssp_info and ntlmssp_packet_info structures,
and free up the chunks when we re-initialize the dissector.

svn path=/trunk/; revision=7277
2003-03-04 20:52:33 +00:00
Guy Harris a0ff4bd8fa From Laurent Meyer: reassemble fragmented X.25 packets, and fix up a
test.

svn path=/trunk/; revision=7276
2003-03-04 19:50:23 +00:00
Guy Harris e82ac3fc46 There might well be more than 40 bytes of padding in an AAL5 frame - it
doesn't always appear to be the case that the minimum number of cells is
used for an AAL5 packet.  Instead, do the sanity check on the AAL5
length field - require it to be non-zero and to be less than or equal to
the amount of space left over in the packet after the trailer is removed.

svn path=/trunk/; revision=7275
2003-03-04 08:20:36 +00:00
Guy Harris 9db95664d1 When deciding whether we have enough data in a lower-level packet to
attempt reassembly of a higher-level packet that includes the
lower-level packet, use "tvb_bytes_exist()" to check whether all the
data that's to be included in the reassembly is available, rather than
by checking whether the packet is short.

Add some checks of that sort that were missing.

Use the reported length of the packet when doing reassembly.

Make the "iphdrlen" field of a "packet_info" structure be the length of
the IP header in bytes, not in 4-byte words.

svn path=/trunk/; revision=7274
2003-03-04 06:47:10 +00:00
Richard Sharpe 9a57223add Pretty up the handling of SACK. Have tested now, looks OK.
svn path=/trunk/; revision=7273
2003-03-04 04:36:44 +00:00
Gerald Combs f98f162689 Place configuration files (manuf and diameter) in
$(prefix)/share/ethereal, as suggested by Jakob Schlyter.

svn path=/trunk/; revision=7272
2003-03-04 04:11:44 +00:00
Gerald Combs fbd2efeccc Bump the version to 0.9.10.
svn path=/trunk/; revision=7271
2003-03-04 03:56:33 +00:00
Guy Harris 82f7e126ec From Matthew Smart:
1. Make NetFlow UDP port user configurable

        2. Cache v9 templates

        3. Decode v9 data

svn path=/trunk/; revision=7270
2003-03-04 03:37:12 +00:00
Guy Harris 6de0605087 Attempt to better handle bogus AAL5 lengths (by assuming that the packet
doesn't have padding and the AAL5 trailer).

svn path=/trunk/; revision=7269
2003-03-04 03:08:42 +00:00
Guy Harris 3cc1053182 A captured length bigger than the actual length makes no sense; clip the
captured length so it's <= the actual length.

svn path=/trunk/; revision=7268
2003-03-04 02:38:02 +00:00
Guy Harris cdfc37b6b6 Handle the direction bit in SDLC and PPP Sniffer files.
svn path=/trunk/; revision=7267
2003-03-04 02:04:00 +00:00
Ronnie Sahlberg 917f568b66 Added tap functionality to UDP
Added top talkers calculation for UDP socketpairs

try -z io,users,udpip

svn path=/trunk/; revision=7266
2003-03-03 23:46:50 +00:00
Guy Harris 15eea3fbb6 Handle packet direction information for SDLC Sniffer captures.
Add a bunch of capture types discovered by stuffing them into Windows
Sniffer captures and seeing what a Sniffer thought they were.  Add
support for writing at least some of them.

svn path=/trunk/; revision=7265
2003-03-03 23:29:59 +00:00
Ronnie Sahlberg 192d29fa4d Update for tethereal -z io,users, top talkers :
"tcpip" added.

-z io,users,tcpip will create a top talkers list of individual tcpip connections

svn path=/trunk/; revision=7264
2003-03-03 23:20:59 +00:00
Laurent Deniel 60c415087a - fix FAQ display (faq_help[] was not initialised before strcat
so random characters at first line display if not worst,
  finally remove this strcat stuff and directly call insert_text
  with each faq_part)

- add missing FAQ redraw in help_redraw

- put FAQ after Capture Filters to restore original order
  (i.e. Display near Capture Filters)

- udpate overview according to manual page

svn path=/trunk/; revision=7263
2003-03-03 21:59:42 +00:00
Jörg Mayer 1e5377c3b6 packet-rmp.c: Jochen Friedrich
Machine type in rmp seems to be an ASCII string
  rmp seems to mean "Remote Maintenance Protocol"

svn path=/trunk/; revision=7262
2003-03-03 14:08:39 +00:00
Gerald Combs d03a84cfb9 Put ps.c back in DISTCLEANFILES.
svn path=/trunk/; revision=7261
2003-03-03 03:54:39 +00:00
Richard Sharpe 8cc3f3f791 Add SACK leftedge and rightedge filtering ... Added them as decimal
values which seemed appropriate, but had the split them into two items
in the option tree.

svn path=/trunk/; revision=7260
2003-03-03 03:16:36 +00:00
Richard Sharpe 49a425956b As suggested by Guy, rather than add_uint_hidden, and then add_text,
do an add_uint_format(...). It was all too easy.

svn path=/trunk/; revision=7259
2003-03-03 02:59:23 +00:00
Guy Harris 55cb7ac8b7 The frame number passed to "goto_frame()" wasn't necessarily explicitly
specified by the user, so if the frame with that frame number isn't
being displayed, just refer to it as "That frame", not "The frame with
that frame number".  (That's even OK if they *did* specify it.)

(If there's no such frame, that "shouldn't happen" in cases where it was
implicitly specified, e.g. by getting it from a list of fragments, or a
"{request,reply} is in frame XXX" field, or clicking on a point in a TCP
graph.)

svn path=/trunk/; revision=7258
2003-03-02 22:37:03 +00:00
Guy Harris 300aa657cc Get rid of unneeded includes of "../ui_util.h".
svn path=/trunk/; revision=7257
2003-03-02 22:31:25 +00:00
Guy Harris f0a746497a Use "goto_frame()" to go to a given frame number, not
"packet_list_set_selected_row()" - frame N isn't necessarily being
displayed as row N-1.

svn path=/trunk/; revision=7256
2003-03-02 22:25:49 +00:00
Jörg Mayer 55291d2c0f Disable simultaneous building of static and shared binaries
svn path=/trunk/; revision=7255
2003-03-02 22:11:26 +00:00
Guy Harris 6c9deead35 Have "goto_frame()" put up error dialog boxes itself, rather than having
its callers put up the same error dialog boxes.  Have it just return a
success vs. failure Boolean.

svn path=/trunk/; revision=7254
2003-03-02 22:07:25 +00:00
Guy Harris 3b37905e24 From Jochen Friedrich: add support for:
HP extended 802.2 LLC

	HP-UX remote management over HP extended 802.2 LLC

	SNMP over HP extended 802.2 LLC.

svn path=/trunk/; revision=7253
2003-03-02 21:52:21 +00:00
Guy Harris e7106a3070 From Jochen Friedrich: fix length checking, and improve XID type 3
dissection (fixes plus additions).

svn path=/trunk/; revision=7252
2003-03-02 21:49:26 +00:00
Jörg Mayer 0a152fbadc Update manuf
svn path=/trunk/; revision=7251
2003-03-02 20:46:42 +00:00
Jörg Mayer adbb66a68c Remove wip comments
svn path=/trunk/; revision=7250
2003-03-02 19:21:31 +00:00
Jörg Mayer 4f8247dc2b Split FAQ into shorter lines before including it into the gtk help dialog.
Ignore tmp files generated by make-faq.
Update FAQ.

svn path=/trunk/; revision=7249
2003-03-02 17:42:37 +00:00
Laurent Deniel a539d5616e Change some plugin window geometry aspects.
svn path=/trunk/; revision=7248
2003-03-02 17:14:08 +00:00
Gerald Combs 6d3aa0ef57 Even though we don't yet dissect Intel ANS (NIC teaming) or Microsoft
Network Load Balancing probes, we can at least recognize them as such.

svn path=/trunk/; revision=7247
2003-03-02 15:50:55 +00:00
Laurent Deniel 3aa593f0d5 Add type of filter in capture/display filter windows.
svn path=/trunk/; revision=7246
2003-03-02 13:46:01 +00:00
Olivier Abad f0f7ae0280 Replace gdk_string_width and gdk_string_height with
pango_layout_get_pixel_size in gtk2 code.

svn path=/trunk/; revision=7245
2003-03-01 17:39:53 +00:00
Laurent Deniel 06c3a3ab5e Fix possible null pointer deference (conversation_data).
svn path=/trunk/; revision=7244
2003-03-01 14:12:38 +00:00
Laurent Deniel 9c27b912d6 Add an "Apply" button to "Decode As" window.
svn path=/trunk/; revision=7243
2003-03-01 13:08:59 +00:00
Guy Harris cc90efa654 The correct way to go to a frame with a given number is to use
"goto_frame()", not to assume that all frames are being displayed and to
go to the row whose number is the frame number - 1.

svn path=/trunk/; revision=7242
2003-03-01 10:18:54 +00:00
Guy Harris cec47aeb6b X.29 call user data in CALL REQUEST packets starts with an SPI and 3
bytes of other information, currently not used; that data is not to be
dissected as X.29 packet data.

svn path=/trunk/; revision=7241
2003-03-01 10:02:35 +00:00
Guy Harris a37b287a50 A "hdr.xxb[20]" value of 2 in a version 2 capture appears to mean that
it's a gigabit Ethernet capture, possibly, with special hardware, and
that time stamps have 1000 times the resolution that they have in other
captures (perhaps due to the special hardware having a higher-resolution
clock?).

svn path=/trunk/; revision=7240
2003-03-01 09:42:44 +00:00
Guy Harris 14b5b9e3a9 Completely initialize all the address fields in a packet_info structure,
setting the length to 0 and the data pointer to a null pointer.

svn path=/trunk/; revision=7239
2003-03-01 09:38:41 +00:00
Guy Harris 367954ea2d Make the dissector static - it's not called from outside packet-bofl.c
Let the tvbuff mechanism check the length of the packet - don't check it
ourselves.

Put each field into the protocol tree and the Info column separately, so
that we at least get a partial dissection - I've seen some packets that
look like breath-of-life packets but that have only the PDU field.

Show the PDU field with all 8 hex digits, and show the sequence number
as an unsigned quantity, in the Info column.

Show the padding size based on the actual length of the frame, not on
the amount of the frame that was captured.

svn path=/trunk/; revision=7238
2003-03-01 09:37:38 +00:00
Guy Harris 8d91fe53a8 Handle the flag bits in SRVLOC V1 as registered fields, just as we do in
SRVLOC V2.

Get rid of trailing dots in the names of SRVLOC V2 flag bit fields.

svn path=/trunk/; revision=7237
2003-03-01 09:03:42 +00:00
Richard Sharpe 7195b02fdf Allow filtering on the window scale value ...
svn path=/trunk/; revision=7236
2003-03-01 08:57:36 +00:00
Richard Sharpe 6efccea066 Adding more options support
svn path=/trunk/; revision=7235
2003-03-01 08:51:12 +00:00
Guy Harris 1f7f3e4178 If *all* you have in the user data portion of a Call Request packet is
an NLPID, don't dissect the user data as a packet for that protocol.

svn path=/trunk/; revision=7234
2003-03-01 08:50:46 +00:00
Richard Sharpe 2af80f5309 Add tcp.options.mss_val to allow filtering on the value of the MSS option
svn path=/trunk/; revision=7233
2003-03-01 08:28:59 +00:00
Richard Sharpe 40e7a4f08f Some more options, cc and time stamp.
svn path=/trunk/; revision=7232
2003-03-01 07:15:04 +00:00
Richard Sharpe 41f3a9df0c More tcp options stuff ...
svn path=/trunk/; revision=7231
2003-03-01 07:07:07 +00:00
Richard Sharpe e8b4840c75 More TCP Options support
svn path=/trunk/; revision=7230
2003-03-01 05:02:53 +00:00
Guy Harris 2c54a22fcc We have some SNMP if we have NET-SNMP *or* UCD SNMP, not just if we have
NET-SNMP *and* UCD SNMP.

svn path=/trunk/; revision=7229
2003-03-01 04:56:48 +00:00