obnox/wireshark/wip.git
14 years agoeven if unharmful, this was simply ugly.
lego [Mon, 28 Feb 2005 22:39:03 +0000 (22:39 +0000)]
even if unharmful, this was simply ugly.
change

do {
 if (i == 0) break;
 ...
} while (i);

for a propper

while(i) {
 ...
}

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

14 years agoadd the http_stats_tree,
lego [Mon, 28 Feb 2005 22:32:16 +0000 (22:32 +0000)]
add the http_stats_tree,
a replacement for the current http tap listeners and a tree for requested hosts/uris

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

14 years agofew changes to http
lego [Mon, 28 Feb 2005 22:27:24 +0000 (22:27 +0000)]
few changes to http
- stat_infos are mantained in a GPtrArray to avoid leaking and overwriting them
- added http_host and request_uri to http_info_value_t

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

14 years agoChange the RADIUS ATTRIBUTES for some 3GPP AVP:s to display them as (UTF8)Strings...
etxrab [Mon, 28 Feb 2005 20:51:23 +0000 (20:51 +0000)]
Change the RADIUS ATTRIBUTES for some 3GPP AVP:s to display them as (UTF8)Strings, also
added some more AVP:s from a later spec.

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

14 years agoUndo change of return (addVendor(atoi(id), code, name)); as it wasn't correct.
etxrab [Mon, 28 Feb 2005 20:49:34 +0000 (20:49 +0000)]
Undo change of return (addVendor(atoi(id), code, name)); as it wasn't correct.

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

14 years agoCorrect presentation of IMSI digits and highlight correct bytes.
etxrab [Mon, 28 Feb 2005 20:48:23 +0000 (20:48 +0000)]
Correct presentation of IMSI digits and highlight correct bytes.

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

14 years agoAdd a link to an RX spec, and ask whether the Epoch really should be
guy [Mon, 28 Feb 2005 19:47:46 +0000 (19:47 +0000)]
Add a link to an RX spec, and ask whether the Epoch really should be
dissected as a UN*X time.

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

14 years agoAdapt the stats_tree example plugin to the last changes
lego [Mon, 28 Feb 2005 11:10:49 +0000 (11:10 +0000)]
Adapt the stats_tree example plugin to the last changes

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

14 years agoFix capitalization.
guy [Mon, 28 Feb 2005 09:21:59 +0000 (09:21 +0000)]
Fix capitalization.

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

14 years agoMap "llcgprs.ignore_cipher_bit" to "llcgprs.autodetect_cipher_bit".
guy [Mon, 28 Feb 2005 09:21:19 +0000 (09:21 +0000)]
Map "llcgprs.ignore_cipher_bit" to "llcgprs.autodetect_cipher_bit".

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

14 years agoHandle the new signature for "dissect_per_restricted_character_string()".
guy [Mon, 28 Feb 2005 08:22:02 +0000 (08:22 +0000)]
Handle the new signature for "dissect_per_restricted_character_string()".

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

14 years ago- do not free the string passed to register_ethereal_tap()
lego [Mon, 28 Feb 2005 01:20:52 +0000 (01:20 +0000)]
- do not free the string passed to register_ethereal_tap()
it caused the taps to have "funny" names.

- rename the window as "$name Stats Tree"

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

14 years agoMake sure that plugin tap listeners get registered before the non-plugin tap listeners
lego [Mon, 28 Feb 2005 00:55:49 +0000 (00:55 +0000)]
Make sure that plugin tap listeners get registered before the non-plugin tap listeners
that's because stat trees are registered as tap listeners by either
gtk/stats_tree_stat.c or tap-stats_tree.c

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

14 years agoAdd register_all_plugin_tap_listeners() to libethereal.def
lego [Sun, 27 Feb 2005 23:43:12 +0000 (23:43 +0000)]
Add register_all_plugin_tap_listeners() to libethereal.def

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

14 years agoThe stats tree stuff should ultimately allow us to have plugin taps, so
guy [Sun, 27 Feb 2005 22:04:48 +0000 (22:04 +0000)]
The stats tree stuff should ultimately allow us to have plugin taps, so
add infrastructure for them, and display the plugin type (which could be
both dissector *and* tap) in the list of plugins.

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

14 years agoAvoid trying to display a time before 00:00:00 UTC, January 1, 1970 as it currently...
etxrab [Sun, 27 Feb 2005 21:33:32 +0000 (21:33 +0000)]
Avoid trying to display a time before 00:00:00 UTC, January 1, 1970 as it currently will be displayed wrongly.

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

14 years agoMove "get_natural_int()" and "get_positive_int()" from "capture_opts.c"
guy [Sun, 27 Feb 2005 21:15:30 +0000 (21:15 +0000)]
Move "get_natural_int()" and "get_positive_int()" from "capture_opts.c"
to "clopts_common.c", make them not static, and use them in "gtk/main.c".

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

14 years agoFrom Stefano Pettini
lego [Sun, 27 Feb 2005 20:26:55 +0000 (20:26 +0000)]
From Stefano Pettini

1) added _U_ tags in RMT dissectors to suppress "unused parameter" warnings.

2) added a dissector_add_handle("ip.udp", ip_handle) to IP dissector, to
allow the following chain of protocols: IP over UDP over IP. It seems
uncommon, but it's used by implementations of experimental protocols
(e.g. TCP-XM) that run a userspace IP stack (e.g. lwIP) over UDP. The
dissector of IP over UDP must be enabled explicitly using the "decode
as..." window.

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

14 years agothe last commit broke windows compilation.
lego [Sun, 27 Feb 2005 20:17:06 +0000 (20:17 +0000)]
the last commit broke windows compilation.
 minor changes in typing variables
 exclude a GTK2 call from being called while using GTK1

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

14 years agosome more cleanup of the capturing code (e.g. split up of the code reading in the...
ulfl [Sun, 27 Feb 2005 19:59:03 +0000 (19:59 +0000)]
some more cleanup of the capturing code (e.g. split up of the code reading in the "normal mode" captured data)

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

14 years agobugfix to bring up correct error message if capture file couldn't be openened.
ulfl [Sun, 27 Feb 2005 18:52:05 +0000 (18:52 +0000)]
bugfix to bring up correct error message if capture file couldn't be openened.

some code cleanup

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

14 years agoadd missing reinit_stats_tree symbol, so MSVC can compile again
ulfl [Sun, 27 Feb 2005 18:27:30 +0000 (18:27 +0000)]
add missing reinit_stats_tree symbol, so MSVC can compile again

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

14 years agosome clarification of the capture child thing
ulfl [Sun, 27 Feb 2005 17:30:33 +0000 (17:30 +0000)]
some clarification of the capture child thing

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

14 years agoSeveral fixes to the stats_tree
lego [Sun, 27 Feb 2005 16:55:24 +0000 (16:55 +0000)]
Several fixes to the stats_tree
 - Avoid creating a copy of every branch at reinitialization
       this used to cause some GTK warnings and a leakage of tree nodes

- propperly check the optarg to avoid getting junk in the filter text
       this caused a crash

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

14 years agominor comment additions
ulfl [Sun, 27 Feb 2005 16:54:52 +0000 (16:54 +0000)]
minor comment additions

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

14 years agoabort early in main_filter_packets() if dftext is NULL
lego [Sun, 27 Feb 2005 14:01:12 +0000 (14:01 +0000)]
abort early in main_filter_packets() if dftext is NULL

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

14 years agofew fixes to The SCTP associations dialog
lego [Sun, 27 Feb 2005 13:57:45 +0000 (13:57 +0000)]
few fixes to The SCTP associations dialog
- do not call main_filter_packets() with a null dfilter string
- fix two leaks

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

14 years agoFrom Martin Mathielson
lego [Sun, 27 Feb 2005 13:00:22 +0000 (13:00 +0000)]
From Martin Mathielson

- from the "Capture Options" dialog, if you select the Capture Filter(s)
file browser, Cancel doesn't work.

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

14 years agoFrom Martin Mathielson
lego [Sun, 27 Feb 2005 12:45:07 +0000 (12:45 +0000)]
From Martin Mathielson
- from the "RTP streams" dialog, pressing 'Analyze' with no stream selected
would throw up an 'invalid filter' error.  This patch avoids anything if no
steam(s) are selected.

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

14 years agoThe Kerberos-over-UDP dissector can decide not to dissect packets, so it
guy [Sat, 26 Feb 2005 00:14:22 +0000 (00:14 +0000)]
The Kerberos-over-UDP dissector can decide not to dissect packets, so it
needs to be a new-style dissector and explicitly reject them so that
other dissectors can pick them up.

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

14 years agoThe Kerberos 4 dissector is now a dissector that can reject packets, so
guy [Fri, 25 Feb 2005 23:47:21 +0000 (23:47 +0000)]
The Kerberos 4 dissector is now a dissector that can reject packets, so
register it with "new_register_dissector".

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

14 years agoMake the DCE transport type an "int" so that -1 is a valid value and the
guy [Fri, 25 Feb 2005 23:44:44 +0000 (23:44 +0000)]
Make the DCE transport type an "int" so that -1 is a valid value and the
compiler doesn't say "that's unsigned, it can't possibly be equal to -1".

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

14 years agoAdd another function from epan/stats_tree.c to the list of exported functions in...
lroland [Fri, 25 Feb 2005 23:37:14 +0000 (23:37 +0000)]
Add another function from epan/stats_tree.c to the list of exported functions in libethereal.def

Finally ethereal can be built again on windows.

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

14 years agoadd agentx plugin to the clean target and update the old plugin api
lroland [Fri, 25 Feb 2005 23:08:53 +0000 (23:08 +0000)]
add agentx plugin to the clean target and update the old plugin api

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

14 years agostart dissecting serviceactionin16
sahlberg [Fri, 25 Feb 2005 23:03:24 +0000 (23:03 +0000)]
start dissecting serviceactionin16

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

14 years ago- undo disabling the GTK2 version
lego [Fri, 25 Feb 2005 22:57:43 +0000 (22:57 +0000)]
- undo disabling the GTK2 version
- do not declare a variable after the first statement or else windows compilation fails

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

14 years agoTemporarily disable the gtk2 version that causes a compilation error on windows.
lego [Fri, 25 Feb 2005 22:30:58 +0000 (22:30 +0000)]
Temporarily disable the gtk2 version that causes a compilation error on windows.

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

14 years agoAdd another function from epan/stats_tree.c to the list of exported functions in...
lroland [Fri, 25 Feb 2005 22:06:00 +0000 (22:06 +0000)]
Add another function from epan/stats_tree.c to the list of exported functions in libethereal.def

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

14 years agoAdd some functions from epan/stats_tree.c to the list of exported functions in libeth...
lroland [Fri, 25 Feb 2005 21:51:29 +0000 (21:51 +0000)]
Add some functions from epan/stats_tree.c to the list of exported functions in libethereal.def

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

14 years agoShow prot numbers in protocol tree, if wanted. Suggested by Jeff Morris.
tuexen [Fri, 25 Feb 2005 21:03:48 +0000 (21:03 +0000)]
Show prot numbers in protocol tree, if wanted. Suggested by Jeff Morris.

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

14 years agoAdd higher SI values.
tuexen [Fri, 25 Feb 2005 20:33:28 +0000 (20:33 +0000)]
Add higher SI values.

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

14 years agoadd support to call krb4 for suspected krb4 stuff soming in on udp port 88
sahlberg [Fri, 25 Feb 2005 11:38:56 +0000 (11:38 +0000)]
add support to call krb4 for suspected krb4 stuff soming in on udp port 88

weirdo krb4 implementations apparently do this.

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

14 years agopinfo->private_data was a quite subptimal idea
sahlberg [Fri, 25 Feb 2005 10:30:21 +0000 (10:30 +0000)]
pinfo->private_data was a quite subptimal idea

change the decodeas for dcerpc so that it actually works again for dcerpc over smb

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

14 years ago"docboook/Makefile.auto.in" is presumably generated from
guy [Fri, 25 Feb 2005 09:58:50 +0000 (09:58 +0000)]
"docboook/Makefile.auto.in" is presumably generated from
"docbook/Makefile.auto.am", so it shouldn't need to be included in
EXTRA_DIST - and including it causes "make distcheck" to fail very early
with

make: *** No rule to make target `docbook/Makefile.auto.in',
    needed by `distdir'.  Stop.

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

14 years agoThere's no "tick_range_with_parent_name()" routine.
guy [Fri, 25 Feb 2005 09:56:04 +0000 (09:56 +0000)]
There's no "tick_range_with_parent_name()" routine.

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

14 years agoFix the declaration of "dissect_ber_boolean()" to match the current
guy [Fri, 25 Feb 2005 08:32:33 +0000 (08:32 +0000)]
Fix the declaration of "dissect_ber_boolean()" to match the current
version.

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

14 years agoFix the declaration of "dissect_ber_boolean()" to match the current
guy [Fri, 25 Feb 2005 08:31:51 +0000 (08:31 +0000)]
Fix the declaration of "dissect_ber_boolean()" to match the current
version.

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

14 years agoAdd the stats tree routines.
guy [Fri, 25 Feb 2005 07:48:51 +0000 (07:48 +0000)]
Add the stats tree routines.

Alphabetize, in dictionary order (case-insensitive).

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

14 years agoadded a tree example
lego [Fri, 25 Feb 2005 05:15:18 +0000 (05:15 +0000)]
added a tree example

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

14 years agochange to int the return type of manip_stat_node() so that it can be used as a parent
lego [Fri, 25 Feb 2005 05:14:38 +0000 (05:14 +0000)]
change to int the return type of manip_stat_node() so that it can be used as a parent

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

14 years agoGet stats_tree compiled
lego [Fri, 25 Feb 2005 04:02:00 +0000 (04:02 +0000)]
Get stats_tree compiled

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

14 years agosome more work for
lego [Fri, 25 Feb 2005 03:56:12 +0000 (03:56 +0000)]
some more work for

- beautify the text output
- make gtk1 textbox implementation usable (I hope)

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

14 years agoDissect MTP3 with service indicator 14 as H248.
etxrab [Thu, 24 Feb 2005 22:36:26 +0000 (22:36 +0000)]
Dissect  MTP3 with service indicator 14 as H248.

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

14 years agoFrom Ben Turner:
etxrab [Thu, 24 Feb 2005 22:35:10 +0000 (22:35 +0000)]
From Ben Turner:
Vendors were not being parsed properly from the XML diameter dictionary.

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

14 years agoChange the plugin to be something useful.
lego [Thu, 24 Feb 2005 22:04:34 +0000 (22:04 +0000)]
Change the plugin to be something useful.

Adds more taps,
tests range nodes
tests pivot nodes

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

14 years agoUpdate to the stats_tree tapping API
lego [Thu, 24 Feb 2005 22:02:31 +0000 (22:02 +0000)]
Update to the stats_tree tapping API

- change the tap init_string to %s,tree instead of %s,stat
- change the registration key (it used to be tapname, that disallowed to register more than one tap per protocol)
- add a "pivot" node for convenience

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

14 years agoBy Francisco Alcoba:
lroland [Thu, 24 Feb 2005 21:31:20 +0000 (21:31 +0000)]
By Francisco Alcoba:

Support for name resolution and IPv6 in VoIP Call Analysis

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

14 years agoavoid capture stopping after just 1 packet in tethereal,
lego [Thu, 24 Feb 2005 21:22:51 +0000 (21:22 +0000)]
avoid capture stopping after just 1 packet in tethereal,

- in capture_opts_init() set capture_opts->autostop_packets to 0 instead of one.

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

14 years agoSearch for fop, not fop.sh
jmayer [Thu, 24 Feb 2005 19:46:15 +0000 (19:46 +0000)]
Search for fop, not fop.sh

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

14 years agoMinor fixes
jmayer [Thu, 24 Feb 2005 19:45:08 +0000 (19:45 +0000)]
Minor fixes

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

14 years agoDidier Gautheron: Fix out of tree compilation
jmayer [Thu, 24 Feb 2005 09:08:20 +0000 (09:08 +0000)]
Didier Gautheron: Fix out of tree compilation

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

14 years agoPreliminary cleanup of static plugin linking
jmayer [Thu, 24 Feb 2005 07:23:18 +0000 (07:23 +0000)]
Preliminary cleanup of static plugin linking

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

14 years agoAdd some minor Cisco proprietary stuff (hostname, network-eap)
jmayer [Thu, 24 Feb 2005 07:19:42 +0000 (07:19 +0000)]
Add some minor Cisco proprietary stuff (hostname, network-eap)

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

14 years agoClean up white space.
guy [Thu, 24 Feb 2005 05:45:15 +0000 (05:45 +0000)]
Clean up white space.

"decode_boolean_bitfield()" returns a "const char *" - don't cast it to
a "gchar *" and modify what it points to.  Instead, just use
"other_decode_bitfield_value()".

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

14 years agoNot everything that uses "capture_eth()" includes "capture.h" (the ATM
guy [Thu, 24 Feb 2005 05:42:51 +0000 (05:42 +0000)]
Not everything that uses "capture_eth()" includes "capture.h" (the ATM
dissector, for one).

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

14 years agoMallocate the strings to be put into the columns, rather than filling in
guy [Thu, 24 Feb 2005 05:42:03 +0000 (05:42 +0000)]
Mallocate the strings to be put into the columns, rather than filling in
fixed-length buffers.

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

14 years agoDon't include "../image/eicon3d64.xpm", as we're not using it for now.
guy [Thu, 24 Feb 2005 05:40:55 +0000 (05:40 +0000)]
Don't include "../image/eicon3d64.xpm", as we're not using it for now.

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

14 years agoInclude <string.h> and <ctype.h> to get the appropriate functions
guy [Thu, 24 Feb 2005 05:39:59 +0000 (05:39 +0000)]
Include <string.h> and <ctype.h> to get the appropriate functions
declared and macros defined.

Pass all the necessary arguments to "get_natural_int()".

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

14 years agoFrom Alejandro Vaquero
lego [Thu, 24 Feb 2005 04:15:40 +0000 (04:15 +0000)]
From Alejandro Vaquero
voip_calls_dlg.c
    Change the "prepare filter" function to be protocol independent. Now it uses the
    "frame_num"s  from the Graph structure to create the filter. This also add support
    to MGCP and H323 LRQ/LCF filters that were not supported before.

graph_analysis.c:
    Change the mouse scroll wheel implementation to make a 3 line step change instead of 1 line.

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

14 years ago- fix a crash in new_avpl_strict_match when the operator avpl was empty
lego [Thu, 24 Feb 2005 04:11:31 +0000 (04:11 +0000)]
- fix a crash in new_avpl_strict_match when the operator avpl was empty
- change the name of the preference mate.config_filename: into mate.config:

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

14 years agoif capture filename passed to parent, save it. Will currently take no effect.
ulfl [Thu, 24 Feb 2005 00:30:32 +0000 (00:30 +0000)]
if capture filename passed to parent, save it. Will currently take no effect.

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

14 years agofix some asn2eth warnings
etxrab [Wed, 23 Feb 2005 23:14:42 +0000 (23:14 +0000)]
fix some asn2eth warnings

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

14 years agoFix some asn2eth warnings.
etxrab [Wed, 23 Feb 2005 23:13:57 +0000 (23:13 +0000)]
Fix some asn2eth warnings.

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

14 years agoAdd dissection of packet tdmc
etxrab [Wed, 23 Feb 2005 23:12:48 +0000 (23:12 +0000)]
Add dissection of packet tdmc

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

14 years agoAdd dissection of packet tdmc
etxrab [Wed, 23 Feb 2005 23:12:07 +0000 (23:12 +0000)]
Add dissection of packet tdmc

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

14 years agopass child capture filename to parent process (name currently unused) and some fork_c...
ulfl [Wed, 23 Feb 2005 22:04:31 +0000 (22:04 +0000)]
pass child capture filename to parent process (name currently unused) and some fork_child cleanup

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

14 years agoCHILD_NAME is only used #ifdef HAVE_LIBPCAP
ulfl [Wed, 23 Feb 2005 21:04:19 +0000 (21:04 +0000)]
CHILD_NAME is only used #ifdef HAVE_LIBPCAP

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

14 years agoin tethereal
lego [Wed, 23 Feb 2005 17:05:32 +0000 (17:05 +0000)]
in tethereal
list_link_layer_types was not being initialized causing the "-r" option to fail

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

14 years agoupdate asn2eth and all generated dissectors to new dissect_ber_boolean that takes...
sahlberg [Wed, 23 Feb 2005 08:57:47 +0000 (08:57 +0000)]
update asn2eth and all generated dissectors to new dissect_ber_boolean that takes a implicit_tag parameter

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

14 years agofix printout of length of ndmp pdu
sahlberg [Wed, 23 Feb 2005 08:38:18 +0000 (08:38 +0000)]
fix printout of length of ndmp pdu

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

14 years agog_strrstr does not exist in gtk 1
sahlberg [Wed, 23 Feb 2005 08:37:30 +0000 (08:37 +0000)]
g_strrstr does not exist in gtk 1
replace it with strstr

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

14 years agouse the applications name (currently "ethereal" or "tethereal") in capture_opts,...
ulfl [Wed, 23 Feb 2005 08:34:12 +0000 (08:34 +0000)]
use the applications name (currently "ethereal" or "tethereal") in capture_opts, instead of hardcoded "ethereal" for both.

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

14 years agoAdd request URI and Version fields. Add a question about fixing a memory leak.
gerald [Wed, 23 Feb 2005 05:47:17 +0000 (05:47 +0000)]
Add request URI and Version fields.  Add a question about fixing a memory leak.

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

14 years agomove capture_opts related things (init, command line, ...) from capture.c to a new...
ulfl [Wed, 23 Feb 2005 01:01:19 +0000 (01:01 +0000)]
move capture_opts related things (init, command line, ...) from capture.c to a new file capture_opts.c and let both ethereal and tethereal use it.

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

14 years agoadd the number of autostop files to the command line parameters, e.g.:
ulfl [Tue, 22 Feb 2005 23:46:54 +0000 (23:46 +0000)]
add the number of autostop files to the command line parameters, e.g.:

-a files:20

also added this to the manpage, the user's guide will follow later

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

14 years agoThere seems to be some disagreement about if and how the welcome screen feature shoul...
ulfl [Tue, 22 Feb 2005 21:22:56 +0000 (21:22 +0000)]
There seems to be some disagreement about if and how the welcome screen feature should be implemented.
As I currently don't have the time to continue this, I've temporarily disabled it.

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

14 years agofix usage of "if(tree) {" to display the right things, even if no coloring rule is set
ulfl [Tue, 22 Feb 2005 20:25:23 +0000 (20:25 +0000)]
fix usage of "if(tree) {" to display the right things, even if no coloring rule is set

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

14 years agoFrom Alejandro Vaquero:
lego [Tue, 22 Feb 2005 19:37:46 +0000 (19:37 +0000)]
From Alejandro Vaquero:
  replace the code that used g_strsplit_set and was broken by me
  changing it to g_strsplit with something that works

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

14 years agoDo not call the tap's initialization as soon as the -z option is read,
lego [Tue, 22 Feb 2005 19:17:28 +0000 (19:17 +0000)]
Do not call the tap's initialization as soon as the -z option is read,
postpone it after the preferences callback has being called.

That way mate's fields, which are registered by the preferences callback
can be used as part of the tap's filter.

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

14 years agoprevent messages like "Couldn't load font x, falling back to y", see comment for...
ulfl [Tue, 22 Feb 2005 07:53:54 +0000 (07:53 +0000)]
prevent messages like "Couldn't load font x, falling back to y", see comment for details

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

14 years agosome changes to the dialog's button behaviour
ulfl [Tue, 22 Feb 2005 07:31:19 +0000 (07:31 +0000)]
some changes to the dialog's button behaviour

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

14 years agobugfix: using the "rtp_example.raw.gz" from the wiki, the dialog runs into an endless...
ulfl [Tue, 22 Feb 2005 07:25:16 +0000 (07:25 +0000)]
bugfix: using the "rtp_example.raw.gz" from the wiki, the dialog runs into an endless loop, as a g_list_next() was missing in a while loop

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

14 years agobuttons should use "Header capitalization" see GNOME HIG http://developer.gnome.org...
ulfl [Tue, 22 Feb 2005 07:22:51 +0000 (07:22 +0000)]
buttons should use "Header capitalization" see GNOME HIG developer.gnome.org/projects/gup/hig/1.0/layout.html#layout-capitalization

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

14 years agoavoid crashing when Debug_Cfg is set and no Payload is given for a Pdu
lego [Tue, 22 Feb 2005 02:16:35 +0000 (02:16 +0000)]
avoid crashing when Debug_Cfg is set and no Payload is given for a Pdu

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

14 years agoFrom Francisco Alcoba:
lego [Tue, 22 Feb 2005 01:55:04 +0000 (01:55 +0000)]
From Francisco Alcoba:
changed the behaviour of get_addr_name:
 - resolve to a name if the address supports it
 - call address_to_str if it does not, but the address is valid
 - return "NONE" if it is AT_NONE

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

14 years agoooops,I forgot this one with the last checkin
lego [Mon, 21 Feb 2005 23:29:49 +0000 (23:29 +0000)]
ooops,I forgot this one with the last checkin

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

14 years agofrom Alejandro Vaquero
lego [Mon, 21 Feb 2005 22:53:01 +0000 (22:53 +0000)]
from Alejandro Vaquero
 - fix the thinks I broken removing warnings in the last commit

other than that I removed calls to glib2 that broke
compilation on solaris' buiddbot

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

14 years agoadded IEEE 802.1 Link Layer Discovery Protocol (LLDP) to the ethertypes, but sorry...
ulfl [Mon, 21 Feb 2005 20:19:15 +0000 (20:19 +0000)]
added IEEE 802.1 Link Layer Discovery Protocol (LLDP) to the ethertypes, but sorry, no dissector (yet?)

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

14 years agoWe've "just reached" 2005, extend the copyright notice by the "new" year ...
ulfl [Mon, 21 Feb 2005 19:51:13 +0000 (19:51 +0000)]
We've "just reached" 2005, extend the copyright notice by the "new" year ...

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

14 years agoAs we have a (two) WishList(s) in the Wiki now, this to do list doesn't make any...
ulfl [Mon, 21 Feb 2005 19:49:38 +0000 (19:49 +0000)]
As we have a (two) WishList(s) in the Wiki now, this to do list doesn't make any sense

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