Commit graph

9531 commits

Author SHA1 Message Date
Ulf Lamping
4c047130c8 removed two MSVC warnings (GTK2 related)
svn path=/trunk/; revision=9628
2004-01-10 12:43:04 +00:00
Guy Harris
73d7a8e202 Move header files for stuff used by dissectors, and source files
containing helper routines, to DISSECTOR_HELPER_SRC.  Include
DISSECTOR_HELPER_SRC in ETHEREAL_COMMON_SRC, and include BUILT_SOURCES
in ETHEREAL_COMMON_SRC rather than repeating those headers directly.  Do
similar things with ETHEREAL_COMMON_OBJECTS and DISSECTOR_COMMON_OBJECTS
in Makefile.nmake.

Add "packet-x11-keysymdef.h" to "noinst_Headers", so it's built as part
of the tarball.

svn path=/trunk/; revision=9627
2004-01-10 04:09:14 +00:00
Olivier Biot
86b33ae36b Get rid of an unused variable.
NOTE: the HTTP dissecotr does not remove content and transfer coding from
the entity yet. This may look a little weird, but it is not unsafe :)
Anyway, we now know what to do next ;^p

svn path=/trunk/; revision=9626
2004-01-10 02:54:50 +00:00
Guy Harris
550a238a0f Eliminate "alignment.h" header - the stuff in it is no longer used.
svn path=/trunk/; revision=9625
2004-01-10 02:43:29 +00:00
Olivier Biot
b4f33e056a Generic line-based text data dissector.
svn path=/trunk/; revision=9624
2004-01-10 02:40:23 +00:00
Olivier Biot
f86edbffa1 Add support for a generic line-based text data dissector.
svn path=/trunk/; revision=9623
2004-01-10 02:38:39 +00:00
Guy Harris
5c8a909e06 From Martin Regner:
temporary hack added to check for packets that look like RTPv2
	packets and to dissect them as such (the right fix is to support
	starting and ending frames in conversations and to have H.245
	close UDP conversations when appropriate and start new ones);

	add preferences for the UDP and TCP port numbers;

	add a preference to specify whether to use pre-corrigendum T.38
	or post-corrigendum T.38;

	give a summary in the Info column.

svn path=/trunk/; revision=9622
2004-01-09 23:24:54 +00:00
Guy Harris
fed9be8a9c From Yuriy Sidelnikov:
fixed up the problem with short SPDU (dissector didn't recognize
	short SPDU);

	added support for presentation dissector.  Presentation as well
	as ASCE dissectors have to know type of session primitives.

svn path=/trunk/; revision=9621
2004-01-09 23:18:17 +00:00
Guy Harris
1591028c8e Have a common "process_specified_packets()" routine for processing
packets in a loop; it handles reading the packet from the capture file,
creating and updating the progress bar, handling the stop button,
and handling range specifications.

Use that for printing and saving packets.  (There might be other loops
that should use it as well.)

svn path=/trunk/; revision=9620
2004-01-09 22:56:59 +00:00
Olivier Biot
e09c8850a6 Decode HEAD, OPTIONS, TRACE, DELETE as GET.
Decode PUT as POST.

Note: It looks like the WAP specs are not publicly available anymore.

svn path=/trunk/; revision=9619
2004-01-09 22:10:02 +00:00
Olivier Biot
8073ac93cd Dissector for message/http media type defined in HTTP.
svn path=/trunk/; revision=9618
2004-01-09 21:49:06 +00:00
Olivier Biot
36e48a3322 Add support for the message/http media type defined in HTTP.
TODO: the HTTP dissector does not deal yet with chunked coding.

svn path=/trunk/; revision=9617
2004-01-09 21:45:29 +00:00
Guy Harris
84dcd53b03 We don't need to keep the progress bar quantum or next step in the
capture_file structure - just make it local to the routine scanning
through the packets.

svn path=/trunk/; revision=9616
2004-01-09 21:38:21 +00:00
Guy Harris
3f75fe3291 Export "remove_color_filter()", as it's used in "color_dlg.c".
svn path=/trunk/; revision=9615
2004-01-09 20:39:26 +00:00
Guy Harris
6b61f72a9d Include <string.h> to declare "strcmp()".
svn path=/trunk/; revision=9614
2004-01-09 20:36:47 +00:00
Olivier Biot
d82c95c87a Part 2 of the "unmarking a packet matching a color filter does not apply
the color filter's colors" bug: keep a list of removed color filters, so
there's no problem if we delete a color filter for which there are one or
more packets that have its colors. Only get rid of the lists when they
ar no longer needed.

svn path=/trunk/; revision=9613
2004-01-09 20:20:42 +00:00
Ulf Lamping
ba776f0e0f use the same packet range things for "Print" dialog, as already implemented
in the "Save As" dialog and some other minor changes

svn path=/trunk/; revision=9612
2004-01-09 19:02:18 +00:00
Richard Sharpe
5bff5db487 There seems to be a missing #include ... there are still errors, though.
svn path=/trunk/; revision=9611
2004-01-09 18:49:31 +00:00
Ulf Lamping
ea0a32e92f use the same packet range things for "Print" dialog, as already implemented
in the "Save As" dialog and some other minor changes

svn path=/trunk/; revision=9610
2004-01-09 18:11:21 +00:00
Ulf Lamping
7e20ddc9f6 some code cleanup in range.c
svn path=/trunk/; revision=9609
2004-01-09 14:05:20 +00:00
Guy Harris
563f423d76 Turn the GTK+ 1.2.10 clist code into our own widget; that lets us modify it
to add functionality or improve performance, although, until we make it
work on GTK+ 1.3[.x] and 2.x, we shouldn't count on the performance
improvements, or make its API different from that of the GtkClist API
(other than names).

Move all the code that knows about the packet list into
gtk/packet_list.c, so that the GtkClist vs. EthClist stuff is
encapsulated inside it.

svn path=/trunk/; revision=9608
2004-01-09 08:36:23 +00:00
Olivier Biot
f5f60f1ba3 Fix the "unmarking a packet matching a color filter does not apply the color
filter's colors" bug, by storing the pointer to the matching color_filter_t
structure in the frame_data structure.

Replace "frame" and "frames" by "packet" and "packets" in many places.

svn path=/trunk/; revision=9607
2004-01-09 02:57:54 +00:00
Guy Harris
eff17e272d Fix a typo.
svn path=/trunk/; revision=9606
2004-01-09 01:02:10 +00:00
Guy Harris
32a44690cd Fix a comment.
svn path=/trunk/; revision=9605
2004-01-09 00:57:48 +00:00
Guy Harris
9758b3928d "conversation_new()" takes flags NO_ADDR2 and NO_PORT2, not NO_ADDR_B
and NO_PORT_B - the corresponding flags have the same values, but they
don't have the same semantics (a "find_conversation()" call with a
missing address or port B will do a wildcard match on *both* addresses
or ports, not just the second one).

svn path=/trunk/; revision=9604
2004-01-09 00:56:04 +00:00
Guy Harris
2357e3c90c The extra flags that "net-snmp-config --cflags" might emit might cause
problems with compilation, so, if they do, the "net-snmp-config" in
question would need to be fixed; back out the previous change.

svn path=/trunk/; revision=9603
2004-01-09 00:34:20 +00:00
Guy Harris
e1b4e5d968 Cope with "net-snmp-config --cflags" emitting flags that the C compiler
can use but cpp can't.

svn path=/trunk/; revision=9602
2004-01-08 22:52:22 +00:00
Guy Harris
c0b33a22f9 If building without libpcap, exclude some stuff that builds only if
you're building with libpcap or that's not necessary if you're not
building with libpcap.

svn path=/trunk/; revision=9601
2004-01-08 20:39:51 +00:00
Guy Harris
8227fb1077 From Jari Mustajarvi: fix handling of PDUs with 2-byte-long variable and
optional pointers.

svn path=/trunk/; revision=9600
2004-01-08 20:19:04 +00:00
Guy Harris
5d404aff76 Update the comment about the length issue to reflect mail from somebody
on the stds-802-1@ieee.org list.

svn path=/trunk/; revision=9599
2004-01-08 20:05:20 +00:00
Ulf Lamping
e8232af246 Save As and range: don't use global vars in range.c,
as this will be also used for the print dialog later.
Calculate packet count for user specified ranges

svn path=/trunk/; revision=9598
2004-01-08 10:40:33 +00:00
Jörg Mayer
df49dc9409 Include string.h to import strerror
svn path=/trunk/; revision=9597
2004-01-07 22:16:17 +00:00
Guy Harris
1493331f5f Get rid of "gtk_box_pack_start()" call to put the range table into the
range frame - we already have a "gtk_container_add()" call that does that.

svn path=/trunk/; revision=9596
2004-01-07 21:29:59 +00:00
Guy Harris
0ad957b271 From Alex Rozin: cope with what appears to be an ambiguity in the 802.1s
spec, where different implementations take different interpretations.

svn path=/trunk/; revision=9595
2004-01-07 21:14:51 +00:00
Ulf Lamping
bd37ba81eb added some simple_dialogs, if save of raw data fails for some reasons
svn path=/trunk/; revision=9594
2004-01-07 20:14:17 +00:00
Olivier Biot
5dd65e0fe0 Get rid of a now unused variable.
svn path=/trunk/; revision=9593
2004-01-07 19:52:25 +00:00
Guy Harris
4645bfd999 Update the list of OSes and OS versions on which Ethereal is known to
work (or inferred to work - some lists were changed to "XXX and later",
on the assumption that later releases didn't break anything).

svn path=/trunk/; revision=9592
2004-01-07 19:51:39 +00:00
Olivier Biot
09668847cc Add a preference that controls the way the SIP version is enforced. By default,
strict enforcement of SIP/2.0 will be applied.

Add some comments.

From Anders Broman:

	Fix the length of content_type_parameter_str.

	Fix a typo in a comment.

svn path=/trunk/; revision=9591
2004-01-07 19:49:45 +00:00
Olivier Biot
219940011c Remove extraneous parameters of packet count in case the end-user manually
enters a range of packets. Comment this in the code.

svn path=/trunk/; revision=9590
2004-01-07 19:10:49 +00:00
Ulf Lamping
fa7d90f2c8 minor changes
svn path=/trunk/; revision=9589
2004-01-07 12:12:09 +00:00
Ulf Lamping
d242cc04a4 added current windows versions
svn path=/trunk/; revision=9588
2004-01-07 12:10:36 +00:00
Guy Harris
a772545c4b Fix some typoes.
Give the appropriate locations for libiconv, gettext, and WinPcap.

Note that the WinPcap package is *not* available from ethereal.com.

Explain a bit more about how to unpack the zip files for development
packages.

svn path=/trunk/; revision=9587
2004-01-07 07:17:47 +00:00
Guy Harris
90aa5d1e9e The type values from Net-SNMP are u_chars; make the formal argument for
them u_char.

svn path=/trunk/; revision=9586
2004-01-07 05:24:36 +00:00
Gilbert Ramirez
4f1c2830f1 Don't assert that quoted_string be NULL; it can be non-NULL if
the previous dfilter failed to compile because a closing double-quote
was not provided. Handle that case.

svn path=/trunk/; revision=9585
2004-01-07 05:24:04 +00:00
Guy Harris
349feca55d Don't do anything exotic to get signed integral values - Ethereal's
dissectors assume a two's-complement machine (we offer our apologies to
those trying to run it on sign-magnitude IBM 7090/7094's and one's
complement Univac/Unisys 11xx machines :-)).

svn path=/trunk/; revision=9584
2004-01-07 05:13:29 +00:00
Guy Harris
f497416d24 The year in a LANalyzer capture's trace summary record is a 2-byte year
number.

svn path=/trunk/; revision=9583
2004-01-07 04:50:21 +00:00
Guy Harris
542c89afd4 Use "tvb_get_guint8()", not "tvb_get_ntohs()", to fetch 1-byte numbers.
Use "proto_tree_add_item()" if you don't need the number's value.

svn path=/trunk/; revision=9582
2004-01-07 04:33:21 +00:00
Jörg Mayer
9422e256ef Not that it really matters as the test still alwas evaluates to false:
An array with 256 elements should not be accessed with an index >= 256,
as we do not count as normal people do.

svn path=/trunk/; revision=9581
2004-01-07 01:44:23 +00:00
Ulf Lamping
bba39ed952 save dialog with "Captured" and "Displayed" buttons in packet range
svn path=/trunk/; revision=9580
2004-01-07 00:10:52 +00:00
Jörg Mayer
bcccb3185d GPL.txt -> ../../COPYING
svn path=/trunk/; revision=9579
2004-01-06 22:52:59 +00:00