Commit Graph

1315 Commits

Author SHA1 Message Date
Guy Harris 93fdf81217 It appears that our "Makefile.in" won't work with the scripts generated
by pre-2.13 "autoconf", and there may be other problems with pre-2.12
"autoconf" as well; require "autoconf" 2.13 or later.

svn path=/trunk/; revision=1187
1999-12-03 07:04:54 +00:00
Gerald Combs d2ebea8481 Add description of TCP stream prefs.
svn path=/trunk/; revision=1186
1999-12-03 03:56:35 +00:00
Gilbert Ramirez 0537fdd8b6 Fix infinite loop on short packets or bad data in radius dissector.
Problem reported by Arni Raghu <arni@caip.rutgers.edu>.

svn path=/trunk/; revision=1185
1999-12-02 23:25:29 +00:00
Uwe Girlich 024948f3a6 prototype for dissect_rpc_data()
svn path=/trunk/; revision=1184
1999-12-02 11:46:12 +00:00
Uwe Girlich 5734ebe43c many new dissectors in the NVF v2 area
svn path=/trunk/; revision=1183
1999-12-02 10:24:02 +00:00
Uwe Girlich ce8fff09ff new dissect_rpc_opaque_data() for RPC data with length and fill-bytes
svn path=/trunk/; revision=1182
1999-12-02 10:20:42 +00:00
Guy Harris 9f755766f0 Explain *why* you have to "g_strdup()" the argument to "-r" before
assigning it to "cf_name", so somebody else doesn't make the same
mistake I did.

svn path=/trunk/; revision=1181
1999-12-02 08:28:34 +00:00
Gilbert Ramirez 123d10e6a9 Fix bug which occurs when running ethereal with "-r" to load a file, then
loading a new file from within ethereal.

In main(), cf_name was being set to optarg, without g_strdup()'ing it.
Later, in file_open_cmd_cb(), we try to g_free last_open_dir, which is
cf_name, so blammo! We try to g_free something that we can't.

So, in main(), be sure to set cf_name to a g_strdup() of optarg, not
just optarg.

(At home I'm using debug/development versions of glib/gtk, so maybe
that's why I saw the problem only now. I could have sworn that I
have done this sequence of events successfully before).

svn path=/trunk/; revision=1180
1999-12-02 05:25:59 +00:00
Gerald Combs ee51e6534a Add stream window color preferences. We don't (yet) use cmaps, so this
may not work with pseudocolor systems.

svn path=/trunk/; revision=1179
1999-12-02 04:30:15 +00:00
Gerald Combs 2478a404c8 Remove the check for cs->dlen > 0. We want to log the first (zero length)
packet, since that tells us the direction of the connection.

svn path=/trunk/; revision=1178
1999-12-02 04:27:46 +00:00
Guy Harris 6492ea79ee Christopher McAvaney's fix to "format_text()" to make it not stomp on
the "..." added if a string is too long.

svn path=/trunk/; revision=1177
1999-12-02 01:33:55 +00:00
Guy Harris 27f7e065e4 Fix the "proto_tree_add_item_format()" call for CMD_STATUS_CHANGE.
svn path=/trunk/; revision=1176
1999-12-01 23:58:44 +00:00
Gilbert Ramirez 99ae96e58c Add a TODO file.
svn path=/trunk/; revision=1175
1999-12-01 20:58:49 +00:00
Gilbert Ramirez 8816a59216 Added Florian Lohoff's <flo@rfc822.org> patch to enable Follow TCP
menu item only if a TCP packet is selected.

svn path=/trunk/; revision=1174
1999-12-01 20:12:32 +00:00
Gilbert Ramirez 3fa90ff0cf Add IPX to packet stats during capture.
svn path=/trunk/; revision=1173
1999-11-30 23:56:37 +00:00
Gilbert Ramirez ada449cf1b Fixed output in AC_ETHEREAL_UCDSNMP_CHECK. AC_MSG_CHECKING should
not be called with d is xNONE, and if called, it should always be followed
by an AC_MSG_RESULT() in order to get a newline printed.

svn path=/trunk/; revision=1172
1999-11-30 22:45:09 +00:00
Guy Harris 5d25bd8275 There's no need to put a "Could not save to" message in the status bar
if a "File:Save" or "File:Save As" fails - the message box it pops up
when that happens tells you that, it didn't do so before the change to
add the ability to save only the packets currently being displayed, and
putting that message in the status bar hides the normal message telling
you what the current file is (and it's still the current file, if the
save failed).

svn path=/trunk/; revision=1171
1999-11-30 21:30:43 +00:00
Guy Harris dc548e7458 Allow the user to save either all of the current capture, or only the
packets that are currently being displayed from that capture.

Centralize the code to control whether "File:Save" and "File:Save As"
are enabled (and *always* have "File:Save As" enabled if you have a
capture; "File:Save" is enabled only if you have a live capture you've
not yet saved, although it does the same thing as "File:Save As").

Have the "save_file" member of a "capture_file" structure represent
*only* the file currently being *written* to by a capture, and, if there
is no capture currently in progress, have it be NULL; the name of the
file currently being *displayed" is in the "filename" member, and an
"is_tempfile" member indicates whether it's a temporary file for a live
capture or not.

Have "close_cap_file()" delete the current capture file if it's a
temporary capture file that hasn't been saved (in its entirety - saving
selected frames doesn't count).  Do the same (if there *is* a current
capture file) when exiting.

The "Ready to load or capture" message is the only statusbar message in
the "main" context; "close_cap_file()" should never pop it, it should
only pop whatever message exists in the "file" context, and thus has no
need to take, as an argument, the context for the message it should pop.

Update the man page to reflect the new behavior of "File:Save" and
"File:Save As", and to reflect recent changes to "Display:Match Selected".

svn path=/trunk/; revision=1170
1999-11-30 20:50:15 +00:00
Nathan Neulinger 191f4cd467 additions to tns dissector - sns and connect started
svn path=/trunk/; revision=1169
1999-11-30 17:58:32 +00:00
Guy Harris 4457d99d2e Squelch a GCC complaint. (I really wish GCC's dataflow analysis were
better....)

svn path=/trunk/; revision=1168
1999-11-30 09:48:31 +00:00
Guy Harris 8e36c6f5cd Some additional IPX packet types.
svn path=/trunk/; revision=1167
1999-11-30 09:01:55 +00:00
Guy Harris 4059d29fb4 IPX packet type 1 is apparently NetWare RIP (Routing Information
Protocol), and packet type 4 is apparently the Packet Exchange Protocol,
at least according to some Web pages.

svn path=/trunk/; revision=1166
1999-11-30 08:45:39 +00:00
Guy Harris 7d35e30ca6 Make the NetBIOS dissecting routines all take a pointer to the beginning
of the frame, plus at most one offset from the beginning of the frame,
to make it clearer what the offset is.

Then use that offset in at least some places to do bounds checking.

If a packet has no payload, don't hand it to the SMB dissector.

svn path=/trunk/; revision=1165
1999-11-30 07:45:42 +00:00
Guy Harris 9a3791699c In "Go To Frame", distinguish between "there is no frame with that frame
number" and "there is a frame with that frame number, but it didn't pass
the current display filter".

svn path=/trunk/; revision=1164
1999-11-30 07:27:37 +00:00
Guy Harris 350ea4308c Make the field indices in the sample code for registering fields static.
Add information about registering "ett_" values.

svn path=/trunk/; revision=1163
1999-11-30 05:49:14 +00:00
Guy Harris e0597caf79 Stuff in "colors.c" largely need work only on a "colfilter", not on a
"capture_file" - when handed a "capture_file *", it only cared about the
"colors" entry.  The only time it cares about a "capture_file" is when
it's actually filtering the packets, as it needs to hand the
"capture_file *" to "colorize_packets()".

Make the stuff exported by "colors.c" in "colors.h" take "colfilter *"
arguments (or return a "colfilter *" to be stuffed into a
"capture_file").

svn path=/trunk/; revision=1162
1999-11-30 05:33:05 +00:00
Guy Harris bbf5cddcd5 Make a whole pile of routines private to "colors.c" static, and remove
their declarations from "colors.h".  Do the same with some variables -
and remove the ones that aren't used any more.

Make some name changes suggested in the comments in "colors.c".

Make "color_delete_cb()" take, as the user-supplied argument,
"cf->colors", just as "color_new_cb()" does, and make it use its
argument to find the color filter, just as "color_new_cb()" does, rather
than using "cf.colors".

When there are no colors in the list, make the "Edit" button
insensitive; make it sensitive if there are any colors in the list, so
that we don't crash if you press "Edit" when there are no colors in the
list.

Make "remember_selected_row()" take, as the user-supplied argument,
"cf->colors", rather than "cf" - it needs only the color filter, not the
entire "capture_file" structure.

When using "gtk_clist_select_row()" to forcibly select a row, pass -1 as
the column number, to indicate that we don't care which column is
selected.

Fix some typos in function names.

svn path=/trunk/; revision=1161
1999-11-30 04:23:06 +00:00
Gilbert Ramirez de6c24bdb6 Check sanity of EntCount in lanman decode before going off and
marking 26 * EntCount bytes as Server entries.

svn path=/trunk/; revision=1160
1999-11-30 03:46:46 +00:00
Guy Harris ced3198a2b Add a "README.hpux" file, giving notes about the Software Porting And
Archive Centre for HP-UX, who have (perhaps not the latest version of)
Ethereal in their archives, and the HP-UX C compiler options they used
when building their version.

Also note in the "README.hpux" file that there are, in the "INSTALL"
file for "libpcap", several comments about HP-UX that should be read if
you're going to use Ethereal with "libpcap" to capture packets.

svn path=/trunk/; revision=1159
1999-11-29 23:19:09 +00:00
Gilbert Ramirez f6147bfdd9 Change Olivier's e-mail address.
svn path=/trunk/; revision=1158
1999-11-29 22:45:34 +00:00
Gilbert Ramirez 7e957bf876 Made copyright date read "1998-1999".
svn path=/trunk/; revision=1157
1999-11-29 21:33:36 +00:00
Guy Harris a6d527a70e Add "README.aix", "INSTALL.configure", and "doc/proto_tree" to the
distribution tarballs.

svn path=/trunk/; revision=1156
1999-11-29 20:08:04 +00:00
Nathan Neulinger 117d23c3a1 added start of tns dissector
svn path=/trunk/; revision=1155
1999-11-29 19:43:26 +00:00
Uwe Girlich 172047e2c6 ACCESS call,reply added.
svn path=/trunk/; revision=1154
1999-11-29 13:16:57 +00:00
Uwe Girlich ca3bcfd404 Some more RPC functions dissected.
svn path=/trunk/; revision=1153
1999-11-29 11:52:40 +00:00
Guy Harris 39be2f99be Expand some comments.
svn path=/trunk/; revision=1152
1999-11-29 08:51:11 +00:00
Guy Harris 4d5a749309 Add a comment.
svn path=/trunk/; revision=1151
1999-11-29 08:28:45 +00:00
Guy Harris 5feaeca5f2 Update one more comment.
svn path=/trunk/; revision=1150
1999-11-29 08:00:58 +00:00
Guy Harris 2fcfdf77d7 Update some comments.
svn path=/trunk/; revision=1149
1999-11-29 07:54:40 +00:00
Guy Harris 962977f1cd Note that we can now read files from Sun's "atmsnoop", which is a
version of "snoop" that apparently comes with Sun's ATM software and
that supports ATM.

svn path=/trunk/; revision=1148
1999-11-29 07:33:53 +00:00
Gilbert Ramirez b8f2136ca9 Move to version 0.7.9 and add less than a week's changes to NEWS. We
did a lot in less than a week.

svn path=/trunk/; revision=1146
1999-11-29 05:35:01 +00:00
Guy Harris f60e02335a Duh. If you say you're going to check for "gzgets()", check for
"gzgets()", not "gzseek()"....

svn path=/trunk/; revision=1145
1999-11-29 05:17:56 +00:00
Guy Harris f3c3ed2c03 Of the "zlib" functions we use that aren't in all versions of "zlib",
"gzgets()" is the one most recently added; it was added in 1.0.9.

Check for it, rather than for a list of functions, when checking for
"zlib" support - if you check for N functions, and they're all there,
you get N "-lz"s added to the list of libraries with which to link.

Indicate in the README that "zlib" versions prior to 1.0.9 definitely
won't work.

svn path=/trunk/; revision=1144
1999-11-29 05:10:18 +00:00
Guy Harris c21ec24fbb Fix a typo, and just say that "ethereal -v" indicates the versions of
the libraries with which Ethereal was built, rather than enumerating all
the libraries for which it gives the version.

svn path=/trunk/; revision=1143
1999-11-29 04:38:23 +00:00
Guy Harris 1678a318da Get version number information for CMU SNMP.
svn path=/trunk/; revision=1142
1999-11-29 04:31:05 +00:00
Gilbert Ramirez 548be624ae Update copyright date in About box.
svn path=/trunk/; revision=1141
1999-11-29 03:56:26 +00:00
Guy Harris ef5b3fa9e2 Include, in the version message, information about whether the UCD or
CMU SNMP library was linked in and, if one of them was, information
about the version of the library, if that information is available.

svn path=/trunk/; revision=1140
1999-11-29 03:07:19 +00:00
Guy Harris 4fa99001a8 Include in the version message an indication of whether it was built
with "libz" and, if so, which version.

svn path=/trunk/; revision=1139
1999-11-29 02:45:23 +00:00
Gilbert Ramirez 700115b2b9 Add info about zlib version support.
svn path=/trunk/; revision=1138
1999-11-29 02:40:15 +00:00
Guy Harris 150479490c Move the callback for input available on the sync pipe from "file.c" to
"capture.c", along with the other code that deals with the sync pipe.

Close the sync pipe, and get rid of the temporary capture file, on
errors.

Split "tail_cap_file()" into routines to set up to read from the capture
file, to read a specified number of packets from it when told to do so
by the child process, and to read the rest of the capture file and
finish up the capture, to provide the code in "capture.c" the hooks it
needs.

Have a common routine to set the status bar to report the file name and
number of dropped packets, to use both when reading in a capture file in
its entirety all at once and when done with a "read it while the capture
is writing to it" live capture.

svn path=/trunk/; revision=1137
1999-11-29 01:54:01 +00:00