Commit Graph

1675 Commits

Author SHA1 Message Date
Guy Harris dc8fa8baf3 Note that the "-T" flag doesn't cause "editcap" to translate link-layer
headers, it just causes it to force the encapsulation type of the output
file to the specified type.

svn path=/trunk/; revision=1702
2000-03-07 23:50:32 +00:00
Guy Harris dea2bdaa28 Fix some "proto_tree_add_text()" calls.
svn path=/trunk/; revision=1701
2000-03-07 06:32:37 +00:00
Guy Harris ce6c1928f3 Make "name_length" and "value_length" universally "int"s - the values
they get from the packets are 16-bit unsigned quantities, which fit
comfortable within an "int" on all platforms we support.  That
eliminates the some additional format/argument mismatches.

svn path=/trunk/; revision=1700
2000-03-07 06:28:47 +00:00
Guy Harris 092121af5f Fix some "proto_tree_add_text()" calls.
Use "proto_tree_add_notext()" and "proto_tree_set_text()" for some
resource records.

svn path=/trunk/; revision=1699
2000-03-07 05:57:13 +00:00
Guy Harris 82b9cf83f3 Declare "proto_item_set_text()" in such a fashion as to make GCC 2.x and
later check the format string against the arguments.

svn path=/trunk/; revision=1698
2000-03-07 05:54:52 +00:00
Guy Harris 3b9f205621 Fix some "proto_tree_add_text()" calls.
Reorganize "icqv5_cmd_send_text_code()" a bit so that it only puts an
item into the tree if it's present in the packet.

svn path=/trunk/; revision=1697
2000-03-07 05:30:37 +00:00
Guy Harris f249c7f2dc Fix some "proto_tree_add_text()" calls.
svn path=/trunk/; revision=1696
2000-03-07 05:28:39 +00:00
Guy Harris 8c200212c7 Fix some "proto_tree_add_text()" calls.
svn path=/trunk/; revision=1695
2000-03-06 20:04:53 +00:00
Guy Harris 0e2751238c Correctly dissect integer values, using the correct offset.
svn path=/trunk/; revision=1694
2000-03-06 19:53:44 +00:00
Guy Harris 25686cfa45 Fix a call to "proto_tree_add_text()", and declare "name_length" in such
a fashion as not to cause GCC to whine about format/argument mismatches
if "proto.h" is tweaked to declare "proto_tree_add_text()" with an
"__attribute__((format (printf, ...))" clause.

svn path=/trunk/; revision=1693
2000-03-06 19:41:06 +00:00
Gilbert Ramirez 9bcac07751 Fix for reading toshiba trace files that were created by using the
"save session" feature in many Windows-based telnet apps. CRT, by VanDyke,
in particular, will put in newlines at 80 columns.

svn path=/trunk/; revision=1692
2000-03-04 14:22:29 +00:00
Gilbert Ramirez a3256bd288 Add config.nmake and two Makefile.nmake's to the list of deliverables.
svn path=/trunk/; revision=1690
2000-03-03 12:01:22 +00:00
Guy Harris ff35509887 Fix a typo.
svn path=/trunk/; revision=1689
2000-03-03 07:06:13 +00:00
Guy Harris bcb954c51d Document "proto_tree_add_notext()", "proto_item_set_len()", and
"proto_item_set_text()".

svn path=/trunk/; revision=1688
2000-03-03 06:58:28 +00:00
Guy Harris 9490a8ead6 Put in a discussion of "check_col()", "col_add_[f]str()", and
"col_append_[f]str()".

svn path=/trunk/; revision=1687
2000-03-03 06:39:10 +00:00
Guy Harris 57ea2d36ab The developer's README now includes the stuff in Gilbert's "proto_tree"
document.

svn path=/trunk/; revision=1686
2000-03-03 06:20:49 +00:00
Guy Harris 8f3dee4470 Put in a note on updating "Makefile.am" and "Makefile.nmake".
svn path=/trunk/; revision=1685
2000-03-03 06:19:50 +00:00
Guy Harris d4de088c60 Merge in Gilbert's "proto_tree" document.
svn path=/trunk/; revision=1684
2000-03-03 06:13:23 +00:00
Guy Harris 859bb27222 Assorted fixes to the news items.
svn path=/trunk/; revision=1683
2000-03-03 05:40:15 +00:00
Gilbert Ramirez 8baaf8f8bd Move to version 0.8.4.
svn path=/trunk/; revision=1682
2000-03-03 03:53:08 +00:00
Guy Harris 4784fd0050 GCC doesn't mind
switch (xxx) {

		...

	default:
	}

but Microsoft Visual C++ 6.0 insists that there be a statement following
the "default:" label, and other compilers may do the same - put in a
"break;" statement.

svn path=/trunk/; revision=1681
2000-03-02 08:59:36 +00:00
Guy Harris 0f6d258026 Note that C++-style comments shouldn't be used in dissectors.
svn path=/trunk/; revision=1680
2000-03-02 07:47:20 +00:00
Guy Harris 15b367981a Get rid of C++-style comments, as they peeve some C compilers.
svn path=/trunk/; revision=1679
2000-03-02 07:38:02 +00:00
Guy Harris ed51759ef2 Oops, forgot to include "packet-h1.h".
svn path=/trunk/; revision=1678
2000-03-02 07:27:56 +00:00
Guy Harris fa942a502f Gerrit Gehnen's dissector for the Sinec H1 protocol (Siemens Industrial
Ethernet; used for communication with Siemens S5 PLC's over Ethernet),
and his changes to display OSI COTP TSAPs that consist solely of
printable characters as text rather than as hex data and to decode the
version number resource in COTP.

svn path=/trunk/; revision=1677
2000-03-02 07:27:05 +00:00
Guy Harris 6c2961e447 Use GtkScrolledWindows to add scrollbars to the hex/ASCII panes and to
the "Follow TCP Stream" displays; that means we can use the same GTK+
calls to set the scrollbar placement on them that is used to set it on
other widgets.

Keep a list of all the GtkScrolledWindows whose scrollbar placement we
control with the GUI preference item for that, and change them all when
the GUI preference item is changed (which means that the GUI preference
item now applies to the "Follow TCP Stream" window as well as to the
hex/ASCII panes).

svn path=/trunk/; revision=1676
2000-03-02 07:05:57 +00:00
Olivier Abad f84392ac60 The frame header in HP-UX 11 trace files is 4 octets longer (than HP-UX 9
and 10 files). Add OS version detection to handle this.

svn path=/trunk/; revision=1675
2000-03-01 10:25:14 +00:00
Guy Harris 33afb489e7 Merge in some information from Jeff Foster's developer's notes.
svn path=/trunk/; revision=1674
2000-03-01 08:05:49 +00:00
Guy Harris 4eee1fa7ca James Coe's developer HOWTO.
svn path=/trunk/; revision=1673
2000-03-01 07:48:03 +00:00
Guy Harris f8df32fefa Use the "destroy" signal on a packet popup window to find out when to
destroy the data structure for that window, rather than doing so when
the "tree-unselect-row" signal catcher is unhooked from the tree view.

svn path=/trunk/; revision=1672
2000-03-01 06:50:18 +00:00
Guy Harris 4ae23cdc3a Add "packet-dhis.obj" to the list of things to compile.
svn path=/trunk/; revision=1671
2000-02-29 09:00:36 +00:00
Guy Harris 7c11334000 Jeff Foster's changes, with my additions, to allow the user to pop up a
window showing the protocol tree and hex/ASCII data for the currently
selected packet.

svn path=/trunk/; revision=1670
2000-02-29 06:24:41 +00:00
Guy Harris 25c6518e54 Fred Reimer's patch to put the TCP segment length in the TCP packet
summary.

svn path=/trunk/; revision=1669
2000-02-28 08:17:39 +00:00
Olivier Abad a297712f0a Add an RCS Id.
svn path=/trunk/; revision=1668
2000-02-23 22:41:15 +00:00
Olivier Abad b752f1ee3c New dissector for DHIS (Dynamic Host Information Services) protocol.
This protocol is UDP based and uses ports 58800 and 58801.

svn path=/trunk/; revision=1667
2000-02-23 22:28:50 +00:00
Guy Harris 690903fef1 "http_tree" doesn't need to be static; make it local to
"dissect_http()".

svn path=/trunk/; revision=1666
2000-02-23 20:55:33 +00:00
Laurent Deniel 83059250d7 Fix HTTP request & response.
svn path=/trunk/; revision=1665
2000-02-23 19:47:14 +00:00
Guy Harris ea443c8965 Make "reinit_x25_hashtable()" static (it's not explicitly called from
outside "packet-x25.c", it's only registered as a protocol init
routine), and explicitly declare it as taking no arguments (GCC doesn't
complain about passing a pointer to a routine with an unspecified
argument list to "register_init_routine()", which expects a pointer to a
routine with no arguments, but Microsoft Visual C{++} 6.0 does complain
about it).

svn path=/trunk/; revision=1664
2000-02-22 07:42:50 +00:00
Guy Harris ca9d89b2ba In Tethereal, allow capture filters and read filters either to be
specifies with "-f" and "-R" flags, respectively, or specified with
non-flag command-line arguments, as tcpdump and snoop allow.

svn path=/trunk/; revision=1663
2000-02-22 07:07:55 +00:00
Richard Sharpe 7dbd7d73f6 Small fix for Jeff Foster
svn path=/trunk/; revision=1662
2000-02-21 23:50:15 +00:00
Richard Sharpe c5e289f46d Fixing the GetDC response handling so it understands the short ones that
are sent in response to Win9X requests as well as the longer ones that
are sent to WinNT and above requests.

svn path=/trunk/; revision=1661
2000-02-21 23:40:33 +00:00
Guy Harris 92e1e36237 Add a bunch of notes from various "comp.sys.hp.hpux" threads about
tweaking HP-UX so that DLPI (and thus Ethereal/Tethereal and tcpdump)
can see, when capturing on a given machine, packets sent by that
machine.

svn path=/trunk/; revision=1660
2000-02-21 20:41:01 +00:00
Guy Harris 1d5f958c02 Don't use a fixed-size line buffer for summary lines in the print code;
mallocate the buffer and grow it as necessary.

svn path=/trunk/; revision=1659
2000-02-21 08:18:00 +00:00
Laurent Deniel e7d574dd39 Add "Resolve Name" item in detailed tree popup.
svn path=/trunk/; revision=1658
2000-02-20 14:52:28 +00:00
Guy Harris cbadb570b2 UCD SNMP 4.1[.x] makes "snmp_set_full_objid()" a macro that calls
"ds_set_boolean()" with the first two arguments being DS_LIBRARY_ID and
DS_LIB_PRINT_FULL_OID; this means that, when building with 4.1[.x]
(which we assume is the case if "snmp_set_full_objid" is defined, we
need to include <ucd-snmp/default_store.h>, to define those two values
and to declare "ds_set_boolean()".

svn path=/trunk/; revision=1657
2000-02-20 03:32:29 +00:00
Guy Harris 8b23b5c2fd Give it an RCS ID.
svn path=/trunk/; revision=1656
2000-02-19 22:01:26 +00:00
Guy Harris 0603ba881d Give some README.<os> files RCS IDs; the other ones already have them.
svn path=/trunk/; revision=1655
2000-02-19 22:00:25 +00:00
Guy Harris eeb1391e91 Add an RCS ID.
Note that the configure-script changes to make GLib buildable on AIX are
in GLib 1.2.7.

svn path=/trunk/; revision=1654
2000-02-19 21:58:39 +00:00
Guy Harris 15b8822697 Add a "README.bsd", which currently only explains how to enable BPF in
your kernel, but which could hold other notes about Ethereal on
{Free,Net,Open}BSD and/or BSD/OS.

svn path=/trunk/; revision=1653
2000-02-19 21:54:07 +00:00
Guy Harris 2ed6a9bb5d Put in a note about enabling the Packet protocol; if it's not enabled on
a Linux kernel, network analysis programs such as tcpdump or
Ethereal/Tethereal won't be able to capture packets.

svn path=/trunk/; revision=1652
2000-02-19 21:44:13 +00:00