obnox/wireshark/wip.git
20 years agoAdd a missing line.
gerald [Tue, 24 Feb 2004 02:45:44 +0000 (02:45 +0000)]
Add a missing line.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10215 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFinal updates for 0.10.2.
gerald [Tue, 24 Feb 2004 02:38:22 +0000 (02:38 +0000)]
Final updates for 0.10.2.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10214 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoIn get_if_name(), return immediately once we've found our interface name
gerald [Tue, 24 Feb 2004 02:19:16 +0000 (02:19 +0000)]
In get_if_name(), return immediately once we've found our interface name
under Windows.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10213 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoPut a period at the end of the "Running with" stuff.
guy [Tue, 24 Feb 2004 01:14:27 +0000 (01:14 +0000)]
Put a period at the end of the "Running with" stuff.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10212 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoSquelch a compiler warning.
guy [Tue, 24 Feb 2004 01:11:27 +0000 (01:11 +0000)]
Squelch a compiler warning.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10211 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoSigh. On Windows OT, device names don't have "\Device\" in front of
guy [Mon, 23 Feb 2004 23:13:36 +0000 (23:13 +0000)]
Sigh.  On Windows OT, device names don't have "\Device\" in front of
them, so we can't look for "\Device\" as the beginning of the interface
name.  Instead, on Windows, scan backwards for a colon and then skip the
colon and any subsequent blanks.  (I don't *think* interface names have
colons in them in Windows, even on NT 5.x with the GUID crapola in the
name.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10210 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoAdd a "force" argument to "filter_packets()" and
guy [Mon, 23 Feb 2004 22:48:52 +0000 (22:48 +0000)]
Add a "force" argument to "filter_packets()" and
"main_filter_packets()", to force the filtering to be done even if the
filter is the same as the current one; this is necessary in order to
make sure "Follow TCP Stream" gets the packets processed even if you're
filtering the stream that's currently filtered in.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10209 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoMSVC doesn't like having header files in .c=.obj targets.
gerald [Mon, 23 Feb 2004 22:45:24 +0000 (22:45 +0000)]
MSVC doesn't like having header files in .c=.obj targets.
Fix dftest compiling under Windows.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10208 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agochanged title and menu registering to "IO Graphs"
ulfl [Mon, 23 Feb 2004 22:26:07 +0000 (22:26 +0000)]
changed title and menu registering to "IO Graphs"
and changed some of the labels to be more intuitive

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10207 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agominor change
ulfl [Mon, 23 Feb 2004 22:23:46 +0000 (22:23 +0000)]
minor change

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10206 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoBump the version to 0.10.2
gerald [Mon, 23 Feb 2004 21:53:05 +0000 (21:53 +0000)]
Bump the version to 0.10.2

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10205 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoMove x11-declarations.h and x11-register-info.h back into BUILT_SOURCES,
gerald [Mon, 23 Feb 2004 21:14:25 +0000 (21:14 +0000)]
Move x11-declarations.h and x11-register-info.h back into BUILT_SOURCES,
so that we can build after a "make distclean".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10204 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoChanged all items to "Endpoint List" and get rid of the "Host List" group.
ulfl [Mon, 23 Feb 2004 20:28:31 +0000 (20:28 +0000)]
Changed all items to "Endpoint List" and get rid of the "Host List" group.
called "IO stats" now "Throughput Graph" as this might be somewhat more descriptive IMHO.
Same applies to the "TCP Stream Analysis" -> "TCP Stream Graphs"

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10203 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agostatistics menu redesigned, now looking more like the former menu,
ulfl [Mon, 23 Feb 2004 19:19:39 +0000 (19:19 +0000)]
statistics menu redesigned, now looking more like the former menu,
items now again grouped by function, not by ISO layer

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10202 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoUse a pale variant of the foreground color for the background color of the
obiot [Mon, 23 Feb 2004 17:38:07 +0000 (17:38 +0000)]
Use a pale variant of the foreground color for the background color of the
follow TCP stream data display. As a result, we can now make the distinction
between real data and whitespace wrapping by the UI.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10201 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoChange Email address of Giles Scott
jmayer [Mon, 23 Feb 2004 16:33:14 +0000 (16:33 +0000)]
Change Email address of Giles Scott

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10200 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoMove cvsversion.h from BUILT_INCLUDES to BUILT_SOURCES. This tells automake
gerald [Mon, 23 Feb 2004 16:12:52 +0000 (16:12 +0000)]
Move cvsversion.h from BUILT_INCLUDES to BUILT_SOURCES.  This tells automake
to create cvsversion.h before any "all" or "check" targets are built.

Clean up a few CVS version strings that I missed last week.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10199 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoRemove a comma at end of enum
jmayer [Mon, 23 Feb 2004 14:37:59 +0000 (14:37 +0000)]
Remove a comma at end of enum

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10198 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoupdate to kerberos. now also decrypting the KRB_PRIB blobs
sahlberg [Mon, 23 Feb 2004 08:39:42 +0000 (08:39 +0000)]
update to kerberos.   now also decrypting the KRB_PRIB blobs
(application 21) of kerberos v5.
there are commonly found in Kpasswd packets.

Not too interesting yet until we start supporting decryption of kerberos
blobs using mit/heimdal kerveros shared libraries.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10197 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoAnother small closing bracket fixup.
sharpe [Mon, 23 Feb 2004 05:44:34 +0000 (05:44 +0000)]
Another small closing bracket fixup.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10196 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoMake the tap names for host statistics use "hosts" instead of "conv",
guy [Mon, 23 Feb 2004 05:35:47 +0000 (05:35 +0000)]
Make the tap names for host statistics use "hosts" instead of "conv",
and make the tap names for endpoint statistics use "endpoints" instead
of "conv".

Similarly, make the titles for their windows say "Hosts" or "Endpoints"
rather than "Conversations".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10195 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoSmall fix to usage text to add a trailing closed square bracket (]).
sharpe [Mon, 23 Feb 2004 04:16:37 +0000 (04:16 +0000)]
Small fix to usage text to add a trailing closed square bracket (]).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10194 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoPut in a comment noting a problem with dialog boxes popped up before the
guy [Mon, 23 Feb 2004 00:05:50 +0000 (00:05 +0000)]
Put in a comment noting a problem with dialog boxes popped up before the
main window is popped up.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10193 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoMake the default ASN.1 file be "no file", not {Ethereal install
guy [Sun, 22 Feb 2004 23:53:57 +0000 (23:53 +0000)]
Make the default ASN.1 file be "no file", not {Ethereal install
directory}/asn1/default.tt.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10192 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agochange menu item names from "Host List" to "Endpoint List"
ulfl [Sun, 22 Feb 2004 23:42:51 +0000 (23:42 +0000)]
change menu item names from "Host List" to "Endpoint List"

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10191 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoTETHEREAL_TAP_SRC contains the names of source files for taps for
guy [Sun, 22 Feb 2004 23:40:28 +0000 (23:40 +0000)]
TETHEREAL_TAP_SRC contains the names of source files for taps for
Tethereal.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10190 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agosome changes to the dialog layout and added some tooltips
ulfl [Sun, 22 Feb 2004 23:39:07 +0000 (23:39 +0000)]
some changes to the dialog layout and added some tooltips

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10189 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agominor bugfix
ulfl [Sun, 22 Feb 2004 23:31:36 +0000 (23:31 +0000)]
minor bugfix

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10188 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrom Peter J. Creath: add a convenience macro for value_string tables
guy [Sun, 22 Feb 2004 22:45:21 +0000 (22:45 +0000)]
From Peter J. Creath: add a convenience macro for value_string tables
where the values all have #defines or enum values and the corresponding
strings are just the #define or enum value names.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10187 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoSquelch a compiler warning.
guy [Sun, 22 Feb 2004 22:42:17 +0000 (22:42 +0000)]
Squelch a compiler warning.

Get rid of C++ comments.

Clean up indentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10186 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoMake the message a bit more detailed (modeled after the one from the
guy [Sun, 22 Feb 2004 22:33:59 +0000 (22:33 +0000)]
Make the message a bit more detailed (modeled after the one from the
UNIX version of Acrobat Reader 4.0).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10185 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrom Greg Morris: if a search reaches the end or beginning of the list,
guy [Sun, 22 Feb 2004 22:22:47 +0000 (22:22 +0000)]
From Greg Morris: if a search reaches the end or beginning of the list,
pop up an alert box letting the user know, and asking whether they want
to continue the search.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10184 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agostatistics menu structure proposal:
ulfl [Sun, 22 Feb 2004 21:35:58 +0000 (21:35 +0000)]
statistics menu structure proposal:
renamed "Watch Protocol" to "Statistics",
Made two new toplevel menu items "Transport" and "Application"

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10183 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agotcp_graph.h is no longer needed, as the tap mechanism is now used
ulfl [Sun, 22 Feb 2004 19:48:10 +0000 (19:48 +0000)]
tcp_graph.h is no longer needed, as the tap mechanism is now used

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10182 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoWIDGET_SET_SIZE(-2) is asserted by current GTK2 libs, so don't use it
ulfl [Sun, 22 Feb 2004 18:58:35 +0000 (18:58 +0000)]
WIDGET_SET_SIZE(-2) is asserted by current GTK2 libs, so don't use it

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10181 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoRedesigned the menu structure of the former statistics stuff,
ulfl [Sun, 22 Feb 2004 18:47:04 +0000 (18:47 +0000)]
Redesigned the menu structure of the former statistics stuff,
now sorted by ISO-layer, than alphabetically (now longer by functionality).
Seperated the tap registering from the actual menu making stuff,
so the seperate step of registering the tap and the menu is no longer needed.
Removed all things related to this double registering.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10180 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agogtkclist.c is called ethclist.c now
ulfl [Sun, 22 Feb 2004 16:28:47 +0000 (16:28 +0000)]
gtkclist.c is called ethclist.c now

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10179 f5534014-38df-0310-8fa8-9805f1628bb7

20 years ago_HEADERS has special automake meaning. Rename to _INCLUDES where no magic is required...
jmayer [Sun, 22 Feb 2004 09:07:38 +0000 (09:07 +0000)]
_HEADERS has special automake meaning. Rename to _INCLUDES where no magic is required (and see what breaks this time)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10178 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agobuild randpkt similar to dftest
jmayer [Sun, 22 Feb 2004 08:58:19 +0000 (08:58 +0000)]
build randpkt similar to dftest

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10177 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agomake the Makefile.common really common between automake and nmake,
ulfl [Sun, 22 Feb 2004 08:30:41 +0000 (08:30 +0000)]
make the Makefile.common really common between automake and nmake,
as lot's of definitions were used in the automake process only

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10176 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoIf the LHS is a STRING or UNPARSED string, and the RHS is a FIELD,
gram [Sun, 22 Feb 2004 03:04:41 +0000 (03:04 +0000)]
If the LHS is a STRING or UNPARSED string, and the RHS is a FIELD,
then make sure that the FIELD can participate in the relation that
is expressed in the display filter.

Note that tvbuff's *should* be able to participate in == comparisons, etc.,
but those functions need to be added to ftype-tvbuff.c first.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10175 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoadded a help button
ulfl [Sat, 21 Feb 2004 22:54:50 +0000 (22:54 +0000)]
added a help button

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10174 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agonew somewhat improved layout of the capture options dialog
ulfl [Sat, 21 Feb 2004 22:52:54 +0000 (22:52 +0000)]
new somewhat improved layout of the capture options dialog

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10173 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agonew somewhat improved layout of the capture options dialog
ulfl [Sat, 21 Feb 2004 22:28:59 +0000 (22:28 +0000)]
new somewhat improved layout of the capture options dialog

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10172 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoGet rid of some "#if 0"ed out #includes.
guy [Sat, 21 Feb 2004 22:00:46 +0000 (22:00 +0000)]
Get rid of some "#if 0"ed out #includes.

Define "report_open_failure()" and "report_read_failure()", so that
dissectors can report file open and read errors.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10171 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agobugfix from previous check in
ulfl [Sat, 21 Feb 2004 14:04:17 +0000 (14:04 +0000)]
bugfix from previous check in

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10170 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoquit_after_cap should be a gboolean, not an int, and it should be initialized
ulfl [Sat, 21 Feb 2004 13:40:06 +0000 (13:40 +0000)]
quit_after_cap should be a gboolean, not an int, and it should be initialized

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10169 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agorework of capture.c: better seperation of sync and capture pipe by using
ulfl [Sat, 21 Feb 2004 12:58:42 +0000 (12:58 +0000)]
rework of capture.c: better seperation of sync and capture pipe by using
explicit names and seperated functionality of do_capture(),
but no functional change!

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10168 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoInclude "report_err.h" to declare "report_open_failure()" and
guy [Sat, 21 Feb 2004 11:38:45 +0000 (11:38 +0000)]
Include "report_err.h" to declare "report_open_failure()" and
"report_read_failure()".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10167 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoInclude "report_err.h" to declare "report_open_failure()" and
guy [Sat, 21 Feb 2004 11:13:54 +0000 (11:13 +0000)]
Include "report_err.h" to declare "report_open_failure()" and
"report_read_failure()".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10166 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoMake both the Diameter-over-TCP and Diameter-over-SCTP dissectors
guy [Sat, 21 Feb 2004 10:29:52 +0000 (10:29 +0000)]
Make both the Diameter-over-TCP and Diameter-over-SCTP dissectors
"new-style" dissectors, and have them reject packets that don't start
with a version number of 1, in the hopes that it'll be less likely to
try to dissect non-Diameter packets to/from port 1812 as Diameter and
thus less likely to spew out a bunch of warnings that cause users to ask
the Ethereal mailing lists what the problem is.

Use "tcp_dissect_pdus()" to handle Diameter-over-TCP.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10165 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoRe-do fix for Jaime Fournier's e-mail address.
guy [Sat, 21 Feb 2004 10:03:15 +0000 (10:03 +0000)]
Re-do fix for Jaime Fournier's e-mail address.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10164 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrom Jaime Fournier:
guy [Sat, 21 Feb 2004 09:57:15 +0000 (09:57 +0000)]
From Jaime Fournier:

The UNKUUID col_info update was only working as
dcerpc_try_handoff() would fail to find the subdissector, and
thus did not clobber it with col_add_str().  It is now in the
right place to determine a UUID that was either not found, or is
disabled.  The boolean dcerpc.unknown_if_id is now only set on
cases where the handoff fails.  This has been tested, and the
boolean now works as it should, and is not set for ALL packets
as it was in the old location.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10163 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoUpdate from Jaime Fournier.
guy [Sat, 21 Feb 2004 09:49:35 +0000 (09:49 +0000)]
Update from Jaime Fournier.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10162 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoWhen constructing a tvbuff for an RPL packet, arrange that both the
guy [Sat, 21 Feb 2004 08:21:43 +0000 (08:21 +0000)]
When constructing a tvbuff for an RPL packet, arrange that both the
length and the reported length be set based both on the actual lengths
remaining in the packet and on the length field.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10161 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFix a typo.
guy [Sat, 21 Feb 2004 07:59:48 +0000 (07:59 +0000)]
Fix a typo.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10160 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoSave the current_proto value before calling subdissectors, and restore
guy [Sat, 21 Feb 2004 05:12:45 +0000 (05:12 +0000)]
Save the current_proto value before calling subdissectors, and restore
it if we catch an exception (after showing the exception), so that
subsequent exceptions will have the right protocol.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10159 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrom Jaime Fournier:
guy [Sat, 21 Feb 2004 04:55:42 +0000 (04:55 +0000)]
From Jaime Fournier:

properly handle the name string in a KerbPrin in a getSiteInfo
response;

dispaly name sizes in decimal rather than hex.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10158 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoInclude <errno.h> to declare "errno".
guy [Sat, 21 Feb 2004 04:26:29 +0000 (04:26 +0000)]
Include <errno.h> to declare "errno".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10157 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFix a typo.
guy [Sat, 21 Feb 2004 04:19:12 +0000 (04:19 +0000)]
Fix a typo.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10156 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoReport a failure to open the XML disctionary file with
guy [Sat, 21 Feb 2004 02:59:53 +0000 (02:59 +0000)]
Report a failure to open the XML disctionary file with
"report_open_failure()".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10155 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoRegenerate the files from the latest list of exported functions.
guy [Sat, 21 Feb 2004 02:21:36 +0000 (02:21 +0000)]
Regenerate the files from the latest list of exported functions.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10154 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoMove "dissect_per_bit_string()" to the end, to preserve the order of
guy [Sat, 21 Feb 2004 02:20:44 +0000 (02:20 +0000)]
Move "dissect_per_bit_string()" to the end, to preserve the order of
earlier entries in the table of exported functions.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10153 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoAdd routines that can be called from dissectors to report file open and
guy [Sat, 21 Feb 2004 02:15:07 +0000 (02:15 +0000)]
Add routines that can be called from dissectors to report file open and
read errors; there are separate implementations for Ethereal (pops up an
alert box) and Tethereal (prints an error message).

Use those routines in the ASN.1 dissector.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10152 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoGet the Content-Encoding and Transfer-Encoding headers and, for now,
guy [Sat, 21 Feb 2004 01:31:56 +0000 (01:31 +0000)]
Get the Content-Encoding and Transfer-Encoding headers and, for now,
don't try to dissect the body if there's any special encoding.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10151 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoHandle exceptions the same way we handle them in the DCE RPC dissector -
guy [Sat, 21 Feb 2004 00:33:31 +0000 (00:33 +0000)]
Handle exceptions the same way we handle them in the DCE RPC dissector -
rethrow BoundsError, call "show_exception()" for all other errors, and
then fall through to dissect the trailer outside the TRY/CATCH/ENDRY
construct.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10150 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoHandle exceptions the same way we handle them in the DCE RPC dissector -
guy [Sat, 21 Feb 2004 00:22:16 +0000 (00:22 +0000)]
Handle exceptions the same way we handle them in the DCE RPC dissector -
rethrow BoundsError, call "show_exception()" for all other errors, and
then fall through to dissect the trailer outside the TRY/CATCH/ENDRY
construct.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10149 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoRemove unused variables, make count unsigned to avoid s/u warning
jmayer [Fri, 20 Feb 2004 23:09:51 +0000 (23:09 +0000)]
Remove unused variables, make count unsigned to avoid s/u warning

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10148 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoRevert to the previous scheme, wherein we always save the geometry
guy [Fri, 20 Feb 2004 23:04:50 +0000 (23:04 +0000)]
Revert to the previous scheme, wherein we always save the geometry
information - there's really no reason not to do so (it turned out not
to be the cause of the problem I saw wherein recent versions of Ethereal
were popping up the main window in an inconvenient place - the problem
wasn't that it was remembering the inconvenient place, it's something
else).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10147 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoChange //-comments into /* comments
jmayer [Fri, 20 Feb 2004 23:03:16 +0000 (23:03 +0000)]
Change //-comments into /* comments

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10146 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoDon't clobber the concurrent DNS resolution flag each time we start a
gerald [Fri, 20 Feb 2004 22:56:00 +0000 (22:56 +0000)]
Don't clobber the concurrent DNS resolution flag each time we start a
capture.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10145 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoGive it an RCS ID.
guy [Fri, 20 Feb 2004 22:38:44 +0000 (22:38 +0000)]
Give it an RCS ID.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10144 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoAdd an RCS ID.
guy [Fri, 20 Feb 2004 22:34:59 +0000 (22:34 +0000)]
Add an RCS ID.

Get rid of unused variables (probably left over from cutting-and-pasting
stuff from the Skinny Client Control Protocol dissector).

Don't use C++style comments.

Clean up indentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10143 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoSquelch some compiler warnings.
guy [Fri, 20 Feb 2004 22:32:36 +0000 (22:32 +0000)]
Squelch some compiler warnings.

Format the definitions of the segment-reassembly fields the same way the
other field definitions are formatted.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10142 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFix a typo.
guy [Fri, 20 Feb 2004 22:14:12 +0000 (22:14 +0000)]
Fix a typo.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10141 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrom Rowan McFarlane: Update Skinny to support Cisco CallManager 4.x,
gerald [Fri, 20 Feb 2004 21:25:16 +0000 (21:25 +0000)]
From Rowan McFarlane: Update Skinny to support Cisco CallManager 4.x,
add support for Cast Client Control Protocol.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10140 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoAdd support for a "version.conf" file in the main directory which can
gerald [Fri, 20 Feb 2004 20:36:14 +0000 (20:36 +0000)]
Add support for a "version.conf" file in the main directory which can
be used to adjust version preferences.  It understands two configuration
directives: "enable", which can be 0 or 1, and "format", which can be any
strftime()-compatible string, e.g. "V12-powered on %A %Y-%m-%d %H:%M:%S".

If no configuration file is present, the configuration defaults to

enable: 1
format: CVS %Y%m%d%H%M%S

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10139 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agowin32 only: when adding to the recent file list, prevent duplicates by:
ulfl [Fri, 20 Feb 2004 18:43:59 +0000 (18:43 +0000)]
win32 only: when adding to the recent file list, prevent duplicates by:
a) convert all slashes to backslashes b) do an insensitive filename compare

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10138 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agominor bugfix from recent check in
ulfl [Fri, 20 Feb 2004 18:37:00 +0000 (18:37 +0000)]
minor bugfix from recent check in

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10137 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agobugfix: resizing (values from recent) must be done, before the
ulfl [Fri, 20 Feb 2004 17:43:50 +0000 (17:43 +0000)]
bugfix: resizing (values from recent) must be done, before the
top_level window is shown, otherwise it has no effect!

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10136 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agowin32 drag-n-drop: corrected handling of UNC filenames "\\host\share\dir..."
ulfl [Fri, 20 Feb 2004 17:36:37 +0000 (17:36 +0000)]
win32 drag-n-drop: corrected handling of UNC filenames "\\host\share\dir..."

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10135 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agobugfix for export selected data: win32 needs O_BINARY flag for open call,
ulfl [Fri, 20 Feb 2004 17:31:00 +0000 (17:31 +0000)]
bugfix for export selected data: win32 needs O_BINARY flag for open call,
otherwise it will do text mode translations (CRNL things) which isn't desired here

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10134 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agocomment changed
ulfl [Fri, 20 Feb 2004 17:27:16 +0000 (17:27 +0000)]
comment changed

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10133 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrederic Peters: handle ulong and ushort
jmayer [Fri, 20 Feb 2004 13:51:30 +0000 (13:51 +0000)]
Frederic Peters: handle ulong and ushort

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10132 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrederic Peters: Make Ethereal appear in Gnome Menu
jmayer [Fri, 20 Feb 2004 13:50:06 +0000 (13:50 +0000)]
Frederic Peters: Make Ethereal appear in Gnome Menu

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10131 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoAdd a few more new toolbar icons.
guy [Fri, 20 Feb 2004 11:06:20 +0000 (11:06 +0000)]
Add a few more new toolbar icons.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10130 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrom Tomas Kukosa: support calling tunneled protocols subdissectors from
guy [Fri, 20 Feb 2004 10:56:29 +0000 (10:56 +0000)]
From Tomas Kukosa: support calling tunneled protocols subdissectors from
an H.225 dissector.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10129 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoChanges required to match GSM SMS dissector changes.
guy [Fri, 20 Feb 2004 10:50:13 +0000 (10:50 +0000)]
Changes required to match GSM SMS dissector changes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10128 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoChanged to allow GSM MAP to push up TPDUs.
guy [Fri, 20 Feb 2004 10:49:39 +0000 (10:49 +0000)]
Changed to allow GSM MAP to push up TPDUs.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10127 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrom Michael Lum:
guy [Fri, 20 Feb 2004 10:49:12 +0000 (10:49 +0000)]
From Michael Lum:

Lots of changes paralleling TCAP for nested sequences and
multiple component support.

Modified for partial parameter identification in selected
messages.

Added support for identifying embedded SMS and passing to GSM
SMS dissector.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10126 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrom Michael Lum:
guy [Fri, 20 Feb 2004 10:43:12 +0000 (10:43 +0000)]
From Michael Lum:

Corrected many miscellaneous problems with nested indefinite
length parameters.

Now supports multiple Components.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10125 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrom Tomas Kukosa: reassemble segmented Q.931 messages.
guy [Fri, 20 Feb 2004 10:34:42 +0000 (10:34 +0000)]
From Tomas Kukosa: reassemble segmented Q.931 messages.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10124 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoHandle the case where, after an exception is thrown dissecting the body
guy [Fri, 20 Feb 2004 10:21:46 +0000 (10:21 +0000)]
Handle the case where, after an exception is thrown dissecting the body
of the 802.3 packet, we get *another* exception when dissecting the
trailer (consider a truncated frame with a malformed body).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10123 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoUpdate to Kerberos.
sahlberg [Fri, 20 Feb 2004 10:04:10 +0000 (10:04 +0000)]
Update to Kerberos.
Split kerberos prototype into two halves:
helpers to dissect ASN.1 BER in packet-ber.c
and kerberos stuff using those helpers in packet-kerberos.c

This new kerberos thing places filterable items for every single field
and also dissects the bitstring Option fields.

It is hoped that this will make it easier to extend kerberos to do decryption of service tickets.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10122 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFN_{SRC,DST}_ADDRESS and FN_{SRC,DST}_PORT aren't used - get rid of
guy [Fri, 20 Feb 2004 09:27:24 +0000 (09:27 +0000)]
FN_{SRC,DST}_ADDRESS and FN_{SRC,DST}_PORT aren't used - get rid of
them.

Add support for "Find Frame" and "Colorize Host Traffic" menus, similar
to what the endpoint table has.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10121 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoFrom Ian Schorr: taps to keep statistics of traffic by host.
guy [Fri, 20 Feb 2004 09:09:12 +0000 (09:09 +0000)]
From Ian Schorr: taps to keep statistics of traffic by host.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10120 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoIn the columns list in a results token, columns with a type of 106
guy [Fri, 20 Feb 2004 08:40:30 +0000 (08:40 +0000)]
In the columns list in a results token, columns with a type of 106
appear to have 3 extra bytes of stuff before the column name.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10119 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoOn Win32, don't treat "file not found" as an error when trying to load
guy [Fri, 20 Feb 2004 02:57:08 +0000 (02:57 +0000)]
On Win32, don't treat "file not found" as an error when trying to load
the ASN.1 file if the pathname is the old default file pathname, with
the last component preceded by "/" rather than "\", to suppress
complaints if you have a preferences file saved under the old regime.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10118 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoAdd support for dissection over HTTP.
obiot [Thu, 19 Feb 2004 20:27:43 +0000 (20:27 +0000)]
Add support for dissection over HTTP.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10117 f5534014-38df-0310-8fa8-9805f1628bb7

20 years agoRemove redundant GTK2 entries.
gerald [Thu, 19 Feb 2004 15:08:38 +0000 (15:08 +0000)]
Remove redundant GTK2 entries.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10116 f5534014-38df-0310-8fa8-9805f1628bb7