Commit graph

13374 commits

Author SHA1 Message Date
Guy Harris
e074470278 Handle the new signature for "dissect_per_restricted_character_string()".
svn path=/trunk/; revision=13547
2005-02-28 08:22:02 +00:00
Luis Ontanon
6e0186da12 - 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"


svn path=/trunk/; revision=13546
2005-02-28 01:20:52 +00:00
Luis Ontanon
5319cabe88 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


svn path=/trunk/; revision=13545
2005-02-28 00:55:49 +00:00
Luis Ontanon
693f9f3838 Add register_all_plugin_tap_listeners() to libethereal.def
svn path=/trunk/; revision=13544
2005-02-27 23:43:12 +00:00
Guy Harris
dd4b0b718b 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.

svn path=/trunk/; revision=13543
2005-02-27 22:04:48 +00:00
Anders Broman
e18e3db225 Avoid trying to display a time before 00:00:00 UTC, January 1, 1970 as it currently will be displayed wrongly.
svn path=/trunk/; revision=13542
2005-02-27 21:33:32 +00:00
Guy Harris
343810d95a 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".

svn path=/trunk/; revision=13541
2005-02-27 21:15:30 +00:00
Luis Ontanon
36833b76d8 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.



svn path=/trunk/; revision=13540
2005-02-27 20:26:55 +00:00
Luis Ontanon
c81ca733db the last commit broke windows compilation.
minor changes in typing variables
 exclude a GTK2 call from being called while using GTK1


svn path=/trunk/; revision=13539
2005-02-27 20:17:06 +00:00
Ulf Lamping
972ca3c8c9 some more cleanup of the capturing code (e.g. split up of the code reading in the "normal mode" captured data)
svn path=/trunk/; revision=13538
2005-02-27 19:59:03 +00:00
Ulf Lamping
8011f18835 bugfix to bring up correct error message if capture file couldn't be openened.
some code cleanup

svn path=/trunk/; revision=13537
2005-02-27 18:52:05 +00:00
Ulf Lamping
fed921bff9 add missing reinit_stats_tree symbol, so MSVC can compile again
svn path=/trunk/; revision=13536
2005-02-27 18:27:30 +00:00
Ulf Lamping
e7fafa28c6 some clarification of the capture child thing
svn path=/trunk/; revision=13535
2005-02-27 17:30:33 +00:00
Luis Ontanon
93c46dde91 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


svn path=/trunk/; revision=13534
2005-02-27 16:55:24 +00:00
Ulf Lamping
f2375c3127 minor comment additions
svn path=/trunk/; revision=13533
2005-02-27 16:54:52 +00:00
Luis Ontanon
624d86fe0d abort early in main_filter_packets() if dftext is NULL
svn path=/trunk/; revision=13532
2005-02-27 14:01:12 +00:00
Luis Ontanon
a33f8ebbad few fixes to The SCTP associations dialog
- do not call main_filter_packets() with a null dfilter string
- fix two leaks


svn path=/trunk/; revision=13531
2005-02-27 13:57:45 +00:00
Luis Ontanon
b8ba4f9180 From Martin Mathielson
- from the "Capture Options" dialog, if you select the Capture Filter(s)
file browser, Cancel doesn't work.


svn path=/trunk/; revision=13530
2005-02-27 13:00:22 +00:00
Luis Ontanon
6180287d82 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.



svn path=/trunk/; revision=13529
2005-02-27 12:45:07 +00:00
Guy Harris
5639b87daf 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.

svn path=/trunk/; revision=13528
2005-02-26 00:14:22 +00:00
Guy Harris
c68bde2e82 The Kerberos 4 dissector is now a dissector that can reject packets, so
register it with "new_register_dissector".

svn path=/trunk/; revision=13527
2005-02-25 23:47:21 +00:00
Guy Harris
9105f362c2 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".

svn path=/trunk/; revision=13526
2005-02-25 23:44:44 +00:00
Lars Roland
b9325102e6 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.

svn path=/trunk/; revision=13525
2005-02-25 23:37:14 +00:00
Lars Roland
b62cc7c598 add agentx plugin to the clean target and update the old plugin api
svn path=/trunk/; revision=13524
2005-02-25 23:08:53 +00:00
Ronnie Sahlberg
9087bf8e45 start dissecting serviceactionin16
svn path=/trunk/; revision=13523
2005-02-25 23:03:24 +00:00
Luis Ontanon
8802528974 - undo disabling the GTK2 version
- do not declare a variable after the first statement or else windows compilation fails


svn path=/trunk/; revision=13522
2005-02-25 22:57:43 +00:00
Luis Ontanon
d971fa0062 Temporarily disable the gtk2 version that causes a compilation error on windows.
svn path=/trunk/; revision=13521
2005-02-25 22:30:58 +00:00
Lars Roland
f4f37d0fdf Add another function from epan/stats_tree.c to the list of exported functions in libethereal.def
svn path=/trunk/; revision=13520
2005-02-25 22:06:00 +00:00
Lars Roland
13e4abf336 Add some functions from epan/stats_tree.c to the list of exported functions in libethereal.def
svn path=/trunk/; revision=13519
2005-02-25 21:51:29 +00:00
Michael Tüxen
a88d115a38 Show prot numbers in protocol tree, if wanted. Suggested by Jeff Morris.
svn path=/trunk/; revision=13518
2005-02-25 21:03:48 +00:00
Michael Tüxen
22012f92d0 Add higher SI values.
svn path=/trunk/; revision=13517
2005-02-25 20:33:28 +00:00
Ronnie Sahlberg
7f86cffa58 add support to call krb4 for suspected krb4 stuff soming in on udp port 88
weirdo krb4 implementations apparently do this.


svn path=/trunk/; revision=13516
2005-02-25 11:38:56 +00:00
Ronnie Sahlberg
4a338216da pinfo->private_data was a quite subptimal idea
change the decodeas for dcerpc so that it actually works again for dcerpc over smb



svn path=/trunk/; revision=13515
2005-02-25 10:30:21 +00:00
Guy Harris
955dd3ea82 "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.

svn path=/trunk/; revision=13514
2005-02-25 09:58:50 +00:00
Guy Harris
76ed6a51e1 There's no "tick_range_with_parent_name()" routine.
svn path=/trunk/; revision=13513
2005-02-25 09:56:04 +00:00
Guy Harris
1199ef4690 Fix the declaration of "dissect_ber_boolean()" to match the current
version.

svn path=/trunk/; revision=13512
2005-02-25 08:32:33 +00:00
Guy Harris
626a91d524 Fix the declaration of "dissect_ber_boolean()" to match the current
version.

svn path=/trunk/; revision=13511
2005-02-25 08:31:51 +00:00
Guy Harris
35bba3db57 Add the stats tree routines.
Alphabetize, in dictionary order (case-insensitive).

svn path=/trunk/; revision=13510
2005-02-25 07:48:51 +00:00
Luis Ontanon
445e030088 added a tree example
svn path=/trunk/; revision=13509
2005-02-25 05:15:18 +00:00
Luis Ontanon
8d189d27cc change to int the return type of manip_stat_node() so that it can be used as a parent
svn path=/trunk/; revision=13508
2005-02-25 05:14:38 +00:00
Luis Ontanon
51913513e2 Get stats_tree compiled
svn path=/trunk/; revision=13507
2005-02-25 04:02:00 +00:00
Luis Ontanon
ca67abe524 some more work for
- beautify the text output
- make gtk1 textbox implementation usable (I hope)


svn path=/trunk/; revision=13506
2005-02-25 03:56:12 +00:00
Anders Broman
3d0fbb8c63 Dissect MTP3 with service indicator 14 as H248.
svn path=/trunk/; revision=13505
2005-02-24 22:36:26 +00:00
Anders Broman
58c8e8a720 From Ben Turner:
Vendors were not being parsed properly from the XML diameter dictionary.

svn path=/trunk/; revision=13504
2005-02-24 22:35:10 +00:00
Luis Ontanon
dfa295919c Change the plugin to be something useful.
Adds more taps,
tests range nodes
tests pivot nodes


svn path=/trunk/; revision=13503
2005-02-24 22:04:34 +00:00
Luis Ontanon
00435bf390 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


svn path=/trunk/; revision=13502
2005-02-24 22:02:31 +00:00
Lars Roland
2ed9ca813b By Francisco Alcoba:
Support for name resolution and IPv6 in VoIP Call Analysis

svn path=/trunk/; revision=13501
2005-02-24 21:31:20 +00:00
Luis Ontanon
c348bbdf91 avoid capture stopping after just 1 packet in tethereal,
- in capture_opts_init() set capture_opts->autostop_packets to 0 instead of one.


svn path=/trunk/; revision=13500
2005-02-24 21:22:51 +00:00
Jörg Mayer
79c7325373 Search for fop, not fop.sh
svn path=/trunk/; revision=13499
2005-02-24 19:46:15 +00:00
Jörg Mayer
d31c2badda Minor fixes
svn path=/trunk/; revision=13498
2005-02-24 19:45:08 +00:00