guy [Fri, 19 Mar 2004 06:23:38 +0000 (06:23 +0000)]
From Tomas Kukosa: add a new "Expand Tree" context menu item, which
expands the selected item and all items below it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10407
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 19 Mar 2004 06:14:03 +0000 (06:14 +0000)]
From Ronnie Sahlberg:
make tcp_dissect_pdus() understand how to skip to the next PDU;
make the skip-to-the-next-PDU code stop attempting to decode
segments that are known to be completely within an already seen
PDU.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10406
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 19 Mar 2004 05:33:34 +0000 (05:33 +0000)]
From Anders Broman: put E.164 numbers into the protocol tree using the
E.164 routines.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10405
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 19 Mar 2004 05:22:41 +0000 (05:22 +0000)]
In the read routine, set the 802.11 pseudo-header for
WTAP_ENCAP_PRISM_HEADER, WTAP_ENCAP_IEEE_802_11_WLAN_BSD, and
WTAP_ENCAP_IEEE_802_11_WLAN_AVS.
In the seek_read routine, set it for all 802.11 types.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10404
f5534014-38df-0310-8fa8-
9805f1628bb7
obiot [Thu, 18 Mar 2004 21:14:37 +0000 (21:14 +0000)]
From Lars Roland: Move timestamp_type into libethereal and provide accessor
methods for getting and setting the timestamp type.
This is a move towards a real libethereal shared library.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10403
f5534014-38df-0310-8fa8-
9805f1628bb7
obiot [Thu, 18 Mar 2004 19:04:33 +0000 (19:04 +0000)]
From Lars Roland: Move timestamp_type into libethereal and provide accessor
methods for getting and setting the timestamp type.
This is a move towards a real libethereal shared library.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10402
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Thu, 18 Mar 2004 15:53:22 +0000 (15:53 +0000)]
Call proto_register_field_array() after proto_register_protocol(), and not
before.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10401
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Thu, 18 Mar 2004 09:00:37 +0000 (09:00 +0000)]
From Tomas Kukosa:
improve the Info column text for reassembled messages;
register subdissectors for dissecting Q.931 IEs and make the
ISUP dissector call the codeset 0 IE subdissector through a
handle.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10400
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Thu, 18 Mar 2004 08:25:09 +0000 (08:25 +0000)]
From Josh Bailey: IPDC support.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10399
f5534014-38df-0310-8fa8-
9805f1628bb7
deniel [Wed, 17 Mar 2004 21:48:15 +0000 (21:48 +0000)]
* Protocol Hierarchy Statistics:
- store times of first and last packets in ph_stats_t
- add bandwidth columns in GUI
- miscellaneous code cleaning
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10398
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Wed, 17 Mar 2004 19:57:28 +0000 (19:57 +0000)]
Correctly spell REAMDE.macos
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10397
f5534014-38df-0310-8fa8-
9805f1628bb7
obiot [Wed, 17 Mar 2004 19:50:05 +0000 (19:50 +0000)]
Enclose WV-CSP 1.2 token mappings in conditional compile comments. Once the
WV-CSP 1.2 specifications will be corrected and in approved state, we can
get rid of those comments (#ifdef ... #endif).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10396
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Wed, 17 Mar 2004 18:20:58 +0000 (18:20 +0000)]
Experimental Heimdal Kerberos detection.
As this is experimental and does not yet work reliably this feature is
off by default. Enable it by using --with-krb5 during configure.
Please do not yet make use of this feature (i.e. please do not *use* the
defines provided by this option), until it has received further testing
and fixing.
Please run and check what the configure says.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10395
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Wed, 17 Mar 2004 18:13:44 +0000 (18:13 +0000)]
Sync with the sources
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10394
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Wed, 17 Mar 2004 17:46:40 +0000 (17:46 +0000)]
Add new docsis files for static build. This is currently necessary and
needs to be fixed.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10393
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 17 Mar 2004 09:24:41 +0000 (09:24 +0000)]
"esc_read()" is passed a FILE_T, not a FILE_T * - a FILE_T is a pointer
(a FILE * if zlib isn't used, a gzFile if zlib is used).
Use "size_t" for the amount of data to read in
"eyesdn_check_file_type()", to squelch signed vs. unsigned warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10392
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 17 Mar 2004 09:01:16 +0000 (09:01 +0000)]
Suppress compiler warnings about unused arguments.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10391
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 17 Mar 2004 09:00:16 +0000 (09:00 +0000)]
Use "g_ntohs()" rather than "ntohs()".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10390
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 17 Mar 2004 08:59:28 +0000 (08:59 +0000)]
Cast a "char" to "guchar" before passing it to the ctype macros, so that
it doesn't get sign-extended.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10389
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 17 Mar 2004 08:46:56 +0000 (08:46 +0000)]
Unfortunately, GCC 2.8.1 on x86/Solaris 7 doesn't do enough
compile-time optimization; in particular, if you call
GSM_MAP_PARAM_DISPLAY with a Gtag argument of GSM_MAP_P_NONE, the
compiler does figure out that it only need generate code for the first
branch for the first if in that macro, and it sort of seems to
understand that _param_fcn is guaranteed to be null, but it doesn't
optimize out the test and the branch for _param_fcn not being null - it
does, however, generate a call to location 0, which, when you compile as
position-independent code, the assembler refuses to assemble.
Therefore, we put into the test for _param_fcn being null an additional
test for Ga1 being GSM_MAP_P_NONE, which at least manages to get the
code through the compiler.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10388
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 17 Mar 2004 06:55:03 +0000 (06:55 +0000)]
From Brian Wheeler: DOCSIS 2.0 support.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10387
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Tue, 16 Mar 2004 19:23:25 +0000 (19:23 +0000)]
From metatech: IBM WebSphere MQ protocol support.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10386
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Tue, 16 Mar 2004 19:13:38 +0000 (19:13 +0000)]
From Paul Ionescu: handle ODR hub default gateway announcements.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10385
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Tue, 16 Mar 2004 18:18:48 +0000 (18:18 +0000)]
It's Mac OS, not MacOS.
Note that Ethereal doesn't work on pre-X Mac OS, in case somebody sees
".macos" and thinks it'll work on OS 9 or earlier versions.
Explain that GLib and GTK+ now need to be shared libraries, and that
the GLib 1.x and GTK+ 1.x release tarballs were built with an older
version of libtool that didn't support building them as shared libraries
on OS X.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10384
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Mon, 15 Mar 2004 12:21:52 +0000 (12:21 +0000)]
Peter Kjellerstedt:
* Correct the version checks (use path expansion
rather than regular expressions, and fail if the
tools are not installed at all).
* Make it possible to specify other names for the
auto* tools to use (e.g., automake-1.6 instead
of automake).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10383
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Mon, 15 Mar 2004 02:24:42 +0000 (02:24 +0000)]
Add Build process items to TODO
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10382
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Mon, 15 Mar 2004 02:04:08 +0000 (02:04 +0000)]
Beginnings of README.macos
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10381
f5534014-38df-0310-8fa8-
9805f1628bb7
deniel [Sun, 14 Mar 2004 23:55:53 +0000 (23:55 +0000)]
* Color filters:
Read of color filters rewritten to remove possibility of buffer overflow
in read_filters_file() and to fix comment & blank line handling.
This removes any limitation (and stack overflow) on the lengths of color
filter name and filter expression which are now dynamically allocated.
Fix removal/deletion of color filters (avoid segmentation fault when
some color filter is deleted and then the list cleared for instance).
The use of g_slist_remove() within an iterator is simply unsafe if the
code is not prepared to handle this.
Fix a small memory leak in revert_filters().
Remove inappropriate comments in read_filters().
Miscellaneous code cleaning.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10380
f5534014-38df-0310-8fa8-
9805f1628bb7
deniel [Sun, 14 Mar 2004 14:04:39 +0000 (14:04 +0000)]
Fix incorrect number of arguments for format and compilation warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10379
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Sun, 14 Mar 2004 08:07:16 +0000 (08:07 +0000)]
Whitespace change
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10378
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 13 Mar 2004 22:49:30 +0000 (22:49 +0000)]
experimental: make usage of pcap_setbuff to increase the kernel buffer size
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10377
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 13 Mar 2004 19:51:07 +0000 (19:51 +0000)]
updated texts to reflect the latest GUI changes
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10376
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 13 Mar 2004 17:50:23 +0000 (17:50 +0000)]
using a stock icon for the open recent "clear list" item
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10375
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 13 Mar 2004 15:30:08 +0000 (15:30 +0000)]
replaced vsnprintf by g_vsnprintf
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10374
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 13 Mar 2004 15:15:26 +0000 (15:15 +0000)]
replaced sprintf / snprintf by g_snprintf,
various other string related changes
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10373
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 13 Mar 2004 14:07:14 +0000 (14:07 +0000)]
various string related changes
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10372
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 13 Mar 2004 12:09:27 +0000 (12:09 +0000)]
various string related changes, mainly replace sprintf/snprintf by g_snprintf
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10371
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 13 Mar 2004 11:47:08 +0000 (11:47 +0000)]
replaced snprintf by g_snprintf and removed #include "snprintf.h"
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10370
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 13 Mar 2004 11:43:21 +0000 (11:43 +0000)]
replaced gtk_widget_show() by a single gtk_widget_show_all(),
changed a printf thing
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10369
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Sat, 13 Mar 2004 10:15:36 +0000 (10:15 +0000)]
Make libethereal and libwiretap shared libs.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10368
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 13 Mar 2004 09:35:41 +0000 (09:35 +0000)]
Clean up the message for one capability bit, as per a suggestion by John
Engelhart.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10367
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 13 Mar 2004 09:27:38 +0000 (09:27 +0000)]
From Yuriy Sidelnikov: handle the case where a presentation selector
exists but has a length of zero.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10366
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Fri, 12 Mar 2004 17:23:56 +0000 (17:23 +0000)]
Don't automatically set a capture filter if DISPLAY or REMOTEHOST are
"localhost" or "127.0.0.1".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10365
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Fri, 12 Mar 2004 16:31:35 +0000 (16:31 +0000)]
Add cvsversion.h, x11-declarations.h, and x11-register-info.h to
CLEANFILES so that "make distcheck" will work.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10364
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 12 Mar 2004 08:42:54 +0000 (08:42 +0000)]
Fix some typos, as per Ryuji Somegawa.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10363
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Thu, 11 Mar 2004 09:54:00 +0000 (09:54 +0000)]
make NDMP start distinguishing between different versions.
Between v2 and v3 some structures changed their definition.
I arbirtrarily made the preference set V2 as the default.
I have no idea what the most common ndmp version is maybe someone that knows
which is the most popular iversion in the wild will change it to default to that.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10362
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Thu, 11 Mar 2004 09:18:33 +0000 (09:18 +0000)]
Add support for DLT_ value 99, as used by the Axent Raptor
firewall/Symantec Enterprise Firewall. Thanks, Axent/Symantec, for not
asking us for a DLT_ value and not telling us about the link-layer type.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10361
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Thu, 11 Mar 2004 03:24:13 +0000 (03:24 +0000)]
Fix a typo.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10360
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Thu, 11 Mar 2004 00:22:41 +0000 (00:22 +0000)]
Make the color preferences popup menu shrink to its natural size instead
of filling in its entire table cell.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10359
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 10 Mar 2004 23:42:32 +0000 (23:42 +0000)]
From Ryuji Somegawa:
add a value_string for the PDSN code;
use for the service option the value_string that was already
there and add a new value to that value_string;
fix up some existing entries, and add some new entries, to the
Radius attribute table.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10358
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Tue, 9 Mar 2004 20:23:20 +0000 (20:23 +0000)]
Fix formats for "sizeof" so that "sizeof" values get displayed correctly
if they're "int"s or "long"s.
Get rid of the unused PGM_xxx_SZ variables.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10357
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Tue, 9 Mar 2004 20:08:26 +0000 (20:08 +0000)]
Dynamically allocate the array of field entries in a NetFlow V9
template, rather than allocating a fixed table of 64 entries (and
possibly overflowing that table).
Clear out the hash table of template entries, freeing all the allocated
arrays, when a new capture is opened.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10356
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Tue, 9 Mar 2004 11:31:04 +0000 (11:31 +0000)]
Prefix COPYING with the following text
Just to avoid some misunderstandings:
While parts of Ethereal can be built and distributed as libraries,
these parts are still covered by the license below, and NOT by the
Lesser General Public License or any other license.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10355
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Tue, 9 Mar 2004 09:24:41 +0000 (09:24 +0000)]
Make variables not used outside the module static.
Initialize "hf_error_st" to -1, the same way other hf_ variables are
initialized, and make it an "int", as other hf_ variables are.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10354
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Tue, 9 Mar 2004 06:46:03 +0000 (06:46 +0000)]
Add some checks for valid option lengths, and for the first option being
a length option.
Break out of the option processing loop if we see an option with the
"end" bit set.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10353
f5534014-38df-0310-8fa8-
9805f1628bb7
obiot [Tue, 9 Mar 2004 02:12:56 +0000 (02:12 +0000)]
Redesigned the token map aggregation.
New simpler lists for both known registered WBXML public IDs and unknown
lists based on content type value. The latter have the possibility to add
a discriminator which facilitates a more correct/appropriate selection of
the token map in cases where more (backwards incompatible) versions exist.
Now the EXT_T tokens are correctly decoded, and a mapping function can be
assigned. This has been done in WML (existing code reused there) and in WV-CSP
(new functions looking up a value in a value_string based on the offset after
the EXT_T_0 token).
Add the textual WV-CSP media type to packet-text-media.c.
TODO - write the discriminators for WML, SyncML and WV-CSP. Add the code for
running the discriminators and possibly iterating over a list of mappings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10352
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Tue, 9 Mar 2004 01:08:27 +0000 (01:08 +0000)]
Lars Roland: Another ugly bzero() call fixed
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10351
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Mon, 8 Mar 2004 23:45:25 +0000 (23:45 +0000)]
Don't refer to "auto_scroll_live" if HAVE_LIBPCAP isn't defined - and
put the definition of it back under HAVE_LIBPCAP and don't add an extra
declaration in "file.h", as there's no longer code that needs to refer
to it if HAVE_LIBPCAP isn't defined.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10350
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Mon, 8 Mar 2004 23:37:51 +0000 (23:37 +0000)]
Maybe automake version handling will be right this time
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10349
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Mon, 8 Mar 2004 23:19:14 +0000 (23:19 +0000)]
Add the URL of the specifications page.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10348
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Mon, 8 Mar 2004 23:07:15 +0000 (23:07 +0000)]
This makes ethereal compile again when configured --without-pcap
I don't know whether this is the optimal patch, but it does the job.
file.h: extern declaration of auto_scroll_live
file.c: always declare auto_scroll_live
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10347
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Mon, 8 Mar 2004 22:44:19 +0000 (22:44 +0000)]
automake versions like 1.5.1 were not detected correctly
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10346
f5534014-38df-0310-8fa8-
9805f1628bb7
obiot [Mon, 8 Mar 2004 22:03:59 +0000 (22:03 +0000)]
Remove email addresses and add a reference to the AUTHORS file (or man page)
for contacting the authors of the files.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10345
f5534014-38df-0310-8fa8-
9805f1628bb7
obiot [Mon, 8 Mar 2004 21:41:47 +0000 (21:41 +0000)]
Rearrange WV-CSP tokens in numeric order, and flag WV-CSP bugs.
Track differences between WV-CSP versions in the token definitions.
Get rid of 8-bit characters in some comments.
Get rid of 'unused symbol' warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10344
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Mon, 8 Mar 2004 19:41:52 +0000 (19:41 +0000)]
Use "tvb_format_text()" on the port name, so that if there are bytes in
it that aren't printable characters, they'll be shown as C-style escape
sequences.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10343
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Mon, 8 Mar 2004 07:47:14 +0000 (07:47 +0000)]
update to iostat make it automagically make sure the field is part of the filter string
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10342
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sun, 7 Mar 2004 22:46:04 +0000 (22:46 +0000)]
Fetch the port name string using "tvb_get_string()", so that we don't
have to worry about overflowing a buffer; thanks to Stefan Esser for
catching that one. (It also means we handle it if there's no '\0' at
the end.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10341
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sun, 7 Mar 2004 18:18:43 +0000 (18:18 +0000)]
fixed a bug GTK_WIDGET_VISIBLE -> GTK_WIDGET_SENSITIVE,
added some (not yet finished) work
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10340
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sun, 7 Mar 2004 02:57:54 +0000 (02:57 +0000)]
Get rid of a variable I'd forgotten to back out before I checked the
code in.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10339
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 22:17:28 +0000 (22:17 +0000)]
Note that for THE3GPP_IPV6_DNS_SERVERS we probably *do* need to handle
multiple IPv6 addresses.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10338
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 22:06:26 +0000 (22:06 +0000)]
From Fritz Budiyanto: add various IPv6 attributes as per RFC 3162, and
also handle the THE3GPP_IPV6_DNS_SERVERS attribute.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10337
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 21:46:27 +0000 (21:46 +0000)]
From Jeff Morriss: delete "ascend-grammar.c" and "ascend-grammar.h" with
"make maintainer-clean", as they're generated files.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10336
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 6 Mar 2004 15:55:18 +0000 (15:55 +0000)]
some code cleanup
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10335
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 6 Mar 2004 11:16:19 +0000 (11:16 +0000)]
replaced show/hide by sensitive/insensitive to see all fields everytime
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10334
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 6 Mar 2004 11:10:14 +0000 (11:10 +0000)]
using a table for layout of stop capture fields,
added limitations corresponding to the maximum filesize (2GB)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10333
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 10:46:38 +0000 (10:46 +0000)]
Propagate to the Q.933 dissector Tomas Kukosa's change to have 3, not 4,
bits of codeset in an IE (that's how many bits of codeset there are).
Make the "q933_info_element_vals[]" array have NUM_INFO_ELEMENT_VALS
members and define NUM_INFO_ELEMENT_VALS be (Q933_IE_SHIFT_CODESET+1),
as that array should have the number of codesets worth of elements.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10332
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 10:29:51 +0000 (10:29 +0000)]
Propagate to the Q.933 dissector Anders Broman's change to the Q.931
dissector to add more filterable fields.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10331
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 10:11:54 +0000 (10:11 +0000)]
From Anders Broman:
use the packet-e164.c stuff to analyze E.164 numbers;
add some more filterable fields.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10330
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 10:09:35 +0000 (10:09 +0000)]
From Anders Broman:
use the packet-e164.c country code and international network
value_string tables;
provide a bit mask for Q.850 cause code values.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10329
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 6 Mar 2004 06:50:34 +0000 (06:50 +0000)]
using a table for layout of multi files fields, do some code cleanup
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10328
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 03:25:10 +0000 (03:25 +0000)]
Add routines to process IPv{4,6}-address-and-prefix-length pairs,
masking out the appropriate bits in the address.
Use them in the BGP and EIGRP dissectors.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10327
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 02:35:16 +0000 (02:35 +0000)]
Don't fetch the IWFA into a buffer, just use "proto_tree_add_item()" -
that way, we don't have to worry about overflowing the buffer. Thanks
to Stefan Esser for reporting that vulnerability.
Fix up the indentation and blurb for the IWFA IPv6 Address item.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10326
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 02:26:31 +0000 (02:26 +0000)]
Add a check for a too-large IPv6 prefix length, to avoid overflowing a
buffer, and add checks for IPv4 and IPv6 prefix lengths of 0, to avoid
underflowing a buffer.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10325
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 02:20:55 +0000 (02:20 +0000)]
Put in the URL of a page that discusses EIGRP packets.
Handle the prefix length and address similarly to the way that the BGP
dissector does, so that we mask out all the bits that the prefix length
tells us to, rather than just masking out entire bytes.
Check the prefix length so that we don't overflow the buffer for prefix
lengths > 32 - thanks to Stefan Esser for catching that one - and so
that we're not confused by a prefix length of 0.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10324
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 6 Mar 2004 01:54:53 +0000 (01:54 +0000)]
Handle bogus account and message lengths - don't overflow a buffer.
Thanks to Stefan Esser for catching that.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10323
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Fri, 5 Mar 2004 23:12:10 +0000 (23:12 +0000)]
Kerberos contain a structure that is VERY similar to VALIDATE_SAM_INFO2
so declare it here.
This substructure in the w2k kerberos PAC structure is called PAC_LOGIN_INFO
and might actually exist inside the netlogon interface as well?
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10322
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Fri, 5 Mar 2004 23:09:32 +0000 (23:09 +0000)]
we need to export init_ndr_pointer_list() from packet-dcerpc so that
we can manually call functions to dissect NDR encoded structures without going through the DCERPC interface.
There are NDR encoded blobs that are not encapsulated inside DCERPC
such as in kerberos and those dissectors need this.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10321
f5534014-38df-0310-8fa8-
9805f1628bb7
obiot [Fri, 5 Mar 2004 22:25:23 +0000 (22:25 +0000)]
Add a preference to the Diameter dissector allowing to control whether
application ID zero is a valid application ID (it is often used as
experimental applciation ID). By default, the preference is disabled.
Fix the XML dictionary parser so it skips comment lines too.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10320
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Fri, 5 Mar 2004 22:22:51 +0000 (22:22 +0000)]
Lars wrote gint16, not guint16
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10319
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Fri, 5 Mar 2004 22:17:09 +0000 (22:17 +0000)]
Replace u_-types by g-types (based on a patch by Lars Roland)
Remove extra "," at end of enum.
Remove extra ";" at end of block.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10318
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 5 Mar 2004 10:56:16 +0000 (10:56 +0000)]
From Ryuji Somegawa: CDMA2000 A11 support.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10317
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 5 Mar 2004 10:47:53 +0000 (10:47 +0000)]
From Tom Uijldert: decode and display alphanumeric message content and
password as well.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10316
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 5 Mar 2004 10:36:51 +0000 (10:36 +0000)]
From Anders Broman: add some filterable fields, and un-hide some other
ones.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10315
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 5 Mar 2004 10:29:36 +0000 (10:29 +0000)]
From Anders Broman: add a dissector for E.164 numbers, and use it in the
ISUP dissector, to allow filtering on E.164 numbers.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10314
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 5 Mar 2004 10:08:13 +0000 (10:08 +0000)]
From Michael Lum:
Make a lot of changes to identify a subset of MAP parameters in
messages. IMSI, MSISDN, MSC Number, HLR Number, VLR Number,
etc. Most of the SMS related MAP messages are dissected with
the parameters identified and decoded. Also include PRN, SRI,
and some of the other common messages (unfortunately not Insert
Sub yet).
Fix some typoes.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10313
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 5 Mar 2004 10:06:19 +0000 (10:06 +0000)]
From Michael Lum: fix the TP header dissection, for some messages the
wrong bits were used to identify the message content.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10312
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 5 Mar 2004 10:05:03 +0000 (10:05 +0000)]
From Michael Lum: show Component data even if it is handled by another
dissector.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10311
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Fri, 5 Mar 2004 09:58:32 +0000 (09:58 +0000)]
From John Englehart: CDP updates (hello packets, show capabilities the
same way Cisco's "show cdp neighbor" does).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10310
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Fri, 5 Mar 2004 00:02:43 +0000 (00:02 +0000)]
Libtool requires version 1.4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10309
f5534014-38df-0310-8fa8-
9805f1628bb7
obiot [Thu, 4 Mar 2004 23:33:41 +0000 (23:33 +0000)]
Cosmetic fix in WV-CSP tag definitions.
Flag a known VERY NASTY bug in WV-CSP 1.2 where a token is being defined
twice with the same binary identifier. It's already a mess that they don't
provide backwards compatible encodings; you can now write a WV-CSP document
without being able to parse it because of version issues (hint: 1.2 has no
public WBXML identifier yet and the spec explicitly asks to set it to
"Unknown/Missing" so you could write an 1.1 message in 1.2 format, which
looks *really* weird as the tokens are mixed in both codings).
Consequence: I have to foresee a discriminator for the WBXML dissectors
so I *may* predict the correct version. I like reviewing in engineering :)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10308
f5534014-38df-0310-8fa8-
9805f1628bb7