obnox/wireshark/wip.git
20 years agoFrom Yuriy Sidelnikov: handle the case where a presentation selector
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

20 years agoDon't automatically set a capture filter if DISPLAY or REMOTEHOST are
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

20 years agoAdd cvsversion.h, x11-declarations.h, and x11-register-info.h to
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

20 years agoFix some typos, as per Ryuji Somegawa.
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

20 years agomake NDMP start distinguishing between different versions.
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

20 years agoAdd support for DLT_ value 99, as used by the Axent Raptor
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

20 years agoFix a typo.
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

20 years agoMake the color preferences popup menu shrink to its natural size instead
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

20 years agoFrom Ryuji Somegawa:
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

20 years agoFix formats for "sizeof" so that "sizeof" values get displayed correctly
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

20 years agoDynamically allocate the array of field entries in a NetFlow V9
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

20 years agoPrefix COPYING with the following text
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

20 years agoMake variables not used outside the module static.
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

20 years agoAdd some checks for valid option lengths, and for the first option being
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

20 years agoRedesigned the token map aggregation.
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

20 years agoLars Roland: Another ugly bzero() call fixed
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

20 years agoDon't refer to "auto_scroll_live" if HAVE_LIBPCAP isn't defined - and
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

20 years agoMaybe automake version handling will be right this time
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

20 years agoAdd the URL of the specifications page.
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

20 years agoThis makes ethereal compile again when configured --without-pcap
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

20 years agoautomake versions like 1.5.1 were not detected correctly
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

20 years agoRemove email addresses and add a reference to the AUTHORS file (or man page)
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

20 years agoRearrange WV-CSP tokens in numeric order, and flag WV-CSP bugs.
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

20 years agoUse "tvb_format_text()" on the port name, so that if there are bytes in
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

20 years agoupdate to iostat make it automagically make sure the field is part of the filter...
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

20 years agoFetch the port name string using "tvb_get_string()", so that we don't
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

20 years agofixed a bug GTK_WIDGET_VISIBLE -> GTK_WIDGET_SENSITIVE,
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

20 years agoGet rid of a variable I'd forgotten to back out before I checked the
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

20 years agoNote that for THE3GPP_IPV6_DNS_SERVERS we probably *do* need to handle
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

20 years agoFrom Fritz Budiyanto: add various IPv6 attributes as per RFC 3162, and
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

20 years agoFrom Jeff Morriss: delete "ascend-grammar.c" and "ascend-grammar.h" with
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

20 years agosome code cleanup
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

20 years agoreplaced show/hide by sensitive/insensitive to see all fields everytime
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

20 years agousing a table for layout of stop capture fields,
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

20 years agoPropagate to the Q.933 dissector Tomas Kukosa's change to have 3, not 4,
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

20 years agoPropagate to the Q.933 dissector Anders Broman's change to the Q.931
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

20 years agoFrom Anders Broman:
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

20 years agoFrom Anders Broman:
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

20 years agousing a table for layout of multi files fields, do some code cleanup
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

20 years agoAdd routines to process IPv{4,6}-address-and-prefix-length pairs,
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

20 years agoDon't fetch the IWFA into a buffer, just use "proto_tree_add_item()" -
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

20 years agoAdd a check for a too-large IPv6 prefix length, to avoid overflowing a
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

20 years agoPut in the URL of a page that discusses EIGRP packets.
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

20 years agoHandle bogus account and message lengths - don't overflow a buffer.
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

20 years agoKerberos contain a structure that is VERY similar to VALIDATE_SAM_INFO2
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

20 years agowe need to export init_ndr_pointer_list() from packet-dcerpc so that
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

20 years agoAdd a preference to the Diameter dissector allowing to control whether
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

20 years agoLars wrote gint16, not guint16
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

20 years agoReplace u_-types by g-types (based on a patch by Lars Roland)
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

20 years agoFrom Ryuji Somegawa: CDMA2000 A11 support.
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

20 years agoFrom Tom Uijldert: decode and display alphanumeric message content and
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

20 years agoFrom Anders Broman: add some filterable fields, and un-hide some other
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

20 years agoFrom Anders Broman: add a dissector for E.164 numbers, and use it in the
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

20 years agoFrom Michael Lum:
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

20 years agoFrom Michael Lum: fix the TP header dissection, for some messages the
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

20 years agoFrom Michael Lum: show Component data even if it is handled by another
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

20 years agoFrom John Englehart: CDP updates (hello packets, show capabilities the
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

20 years agoLibtool requires version 1.4
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

20 years agoCosmetic fix in WV-CSP tag definitions.
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

20 years agoFix WML 1.0 token definitions (WBXML tokens must be in the range 0--3F
obiot [Thu, 4 Mar 2004 23:16:08 +0000 (23:16 +0000)]
Fix WML 1.0 token definitions (WBXML tokens must be in the range 0--3F
as the 2 most significant bits of every token byte represent whether the
tag has content and/or has an attribute list.

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

20 years agousing a gtk_table instead of hbox'es for "multiple files" fields
ulfl [Thu, 4 Mar 2004 22:24:47 +0000 (22:24 +0000)]
using a gtk_table instead of hbox'es for "multiple files" fields

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

20 years agoUpdate x11 includes
jmayer [Thu, 4 Mar 2004 21:36:08 +0000 (21:36 +0000)]
Update x11 includes

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

20 years agocapture dialog limits now with units.
ulfl [Thu, 4 Mar 2004 21:27:55 +0000 (21:27 +0000)]
capture dialog limits now with units.
no gint "wrap around" tests implemented yet

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

20 years agofixed differences between capture GUI frontend and backend
ulfl [Thu, 4 Mar 2004 19:31:21 +0000 (19:31 +0000)]
fixed differences between capture GUI frontend and backend

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

20 years agoAndrew Hood: don't rely on last modified date + use numeric compare
jmayer [Thu, 4 Mar 2004 16:19:40 +0000 (16:19 +0000)]
Andrew Hood: don't rely on last modified date + use numeric compare

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

20 years agoCheck for PERL in epan/configure.in
jmayer [Thu, 4 Mar 2004 08:53:02 +0000 (08:53 +0000)]
Check for PERL in epan/configure.in
Fix generation of x11 includes.

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

20 years agoaclocal-missing isn't needed any more
jmayer [Thu, 4 Mar 2004 08:41:10 +0000 (08:41 +0000)]
aclocal-missing isn't needed any more

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

20 years agoMove the x11 generation into epan.
jmayer [Thu, 4 Mar 2004 08:26:20 +0000 (08:26 +0000)]
Move the x11 generation into epan.
aclocal-missing isn't needed any more.

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

20 years agoHackremoval:
jmayer [Thu, 4 Mar 2004 08:25:23 +0000 (08:25 +0000)]
Hackremoval:
Automake newer than 1.4 survives if it finds more than one file for the
same package.

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

20 years agoUndo an unnecessary change
jmayer [Thu, 4 Mar 2004 08:20:46 +0000 (08:20 +0000)]
Undo an unnecessary change

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

20 years agoBack out the previous change - the problem wasn't what I thought it was.
guy [Thu, 4 Mar 2004 07:51:47 +0000 (07:51 +0000)]
Back out the previous change - the problem wasn't what I thought it was.
The problem is that two arguments to an "sprintf()" call were switched;
un-switch them.

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

20 years agoFrom Tomas Kukosa: add packet-ber.c routines to the plugin API.
guy [Thu, 4 Mar 2004 07:07:57 +0000 (07:07 +0000)]
From Tomas Kukosa: add packet-ber.c routines to the plugin API.

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

20 years agoRemove blanks after a parenthesis in the output of "autoconf --version"
guy [Thu, 4 Mar 2004 06:43:34 +0000 (06:43 +0000)]
Remove blanks after a parenthesis in the output of "autoconf --version"
and "automake --version".

We only appear to need autoconf 2.52, not 2.53.

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

20 years agoGet rid of an out-of-date comment.
guy [Thu, 4 Mar 2004 06:30:14 +0000 (06:30 +0000)]
Get rid of an out-of-date comment.

We only appear to need autoconf 2.52, not 2.53.

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

20 years agoRemove generation of register.c from toplevel - it's in epan now
jmayer [Wed, 3 Mar 2004 23:51:31 +0000 (23:51 +0000)]
Remove generation of register.c from toplevel - it's in epan now

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

20 years agoYaniv Kaul: show interface names - win32 only
jmayer [Wed, 3 Mar 2004 22:47:17 +0000 (22:47 +0000)]
Yaniv Kaul: show interface names - win32 only

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

20 years agoHave "wtap_read()" set "wth->phdr.pkt_encap" to "wth->file_encap",
guy [Wed, 3 Mar 2004 22:24:53 +0000 (22:24 +0000)]
Have "wtap_read()" set "wth->phdr.pkt_encap" to "wth->file_encap",
rather than requiring individual capture file type handlers to do it
(unless they're doing per-packet encapsulation, in which case we check
to make sure they didn't *leave* it as WTAP_ENCAP_PER_PACKET).

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

20 years agoBill Guyton: mergecap can write to stdout by using the special filename -
jmayer [Wed, 3 Mar 2004 22:14:10 +0000 (22:14 +0000)]
Bill Guyton: mergecap can write to stdout by using the special filename -

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

20 years agoJeff Morriss: Remove packet-ncp2222.c during maintainer-clean
jmayer [Wed, 3 Mar 2004 21:55:59 +0000 (21:55 +0000)]
Jeff Morriss: Remove packet-ncp2222.c during maintainer-clean

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

20 years agoRequire autoconf 2.53 and automake 1.6
jmayer [Wed, 3 Mar 2004 21:35:57 +0000 (21:35 +0000)]
Require autoconf 2.53 and automake 1.6

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

20 years agoDon't show "func=" if the P/F bit isn't set.
guy [Wed, 3 Mar 2004 02:06:19 +0000 (02:06 +0000)]
Don't show "func=" if the P/F bit isn't set.

Don't put an extra space between "func=" and "P" or "F" if it is set.

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

20 years agoSet the packet encapsulation value to the file encapsulation.
guy [Wed, 3 Mar 2004 01:49:16 +0000 (01:49 +0000)]
Set the packet encapsulation value to the file encapsulation.

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

20 years agoReturn of the .PHONY target (aka cvsversion.h)
jmayer [Wed, 3 Mar 2004 00:18:21 +0000 (00:18 +0000)]
Return of the .PHONY target (aka cvsversion.h)

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

20 years agoJeff Morriss: Move generation of packet-ncp2222.c to epan to make things work again
jmayer [Wed, 3 Mar 2004 00:07:01 +0000 (00:07 +0000)]
Jeff Morriss: Move generation of packet-ncp2222.c to epan to make things work again

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

20 years agoJeff Morriss: Add PYTHON to epans configure
jmayer [Tue, 2 Mar 2004 23:53:10 +0000 (23:53 +0000)]
Jeff Morriss: Add PYTHON to epans configure

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

20 years agoNote to self: If you update the code, you should update the docs too.
jmayer [Tue, 2 Mar 2004 23:45:34 +0000 (23:45 +0000)]
Note to self: If you update the code, you should update the docs too.

Update README.plugins to use ENABLE_STATIC instead of __ETHEREAL_STATIC__
Update some plugins, that were created after my changes according to the
outdated docs.
Changed occurrences of
G_MODULE_EXPORT void plugin_reg_handoff(void)
into
G_MODULE_EXPORT void
plugin_reg_handoff(void)

as the one line Python version doesn't work with the Python of Suse 9.0

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

20 years agoAdd Wireless Village dissection (part 1). I will have to rewrite the support
obiot [Tue, 2 Mar 2004 22:15:30 +0000 (22:15 +0000)]
Add Wireless Village dissection (part 1). I will have to rewrite the support
for custom EXT_T_x handlers as in WV-CSP you're allowed to *not* have the
index point to a string in the string table (verified in WBXML specs).

Unfortunately, WV-CSP is *never* backwards compatible. Additionally, things
get messed up when the WBXML document does *not* contain the WV-CSP DocType.
As a result, I eventually require to let the end-user choose which WV-CSP
version they want to see in such cases.

Fix code page errors with global tokens (don't depend on code pages).

Add some comment at the top level of the file.

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

20 years agoimplemented capture dialog 3rd (+x) proposal
ulfl [Tue, 2 Mar 2004 22:07:23 +0000 (22:07 +0000)]
implemented capture dialog 3rd (+x) proposal

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

20 years agoreplaced all seperate gtk_widget_show() by a single gtk_widget_show_all() call
ulfl [Tue, 2 Mar 2004 19:13:33 +0000 (19:13 +0000)]
replaced all seperate gtk_widget_show() by a single gtk_widget_show_all() call

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

20 years agofrom Lars Roland: fix Makefiles.nmake after changes from Joerg
ulfl [Tue, 2 Mar 2004 18:55:30 +0000 (18:55 +0000)]
from Lars Roland: fix Makefiles.nmake after changes from Joerg

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

20 years agoThe sources of the plugin are now in ../oldpath/file.c
jmayer [Tue, 2 Mar 2004 03:46:02 +0000 (03:46 +0000)]
The sources of the plugin are now in ../oldpath/file.c

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

20 years agoMove register.c from from DISSECTOR_SRC to DISSECTOR_SUPPORT_SRC to avoid a circular...
jmayer [Tue, 2 Mar 2004 01:48:31 +0000 (01:48 +0000)]
Move register.c from from DISSECTOR_SRC to DISSECTOR_SUPPORT_SRC to avoid a circular dependency

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

20 years agoAdd a comment about PDU types
jmayer [Tue, 2 Mar 2004 01:39:35 +0000 (01:39 +0000)]
Add a comment about PDU types

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

20 years agoMove the dissectors into libethereal (no static/shared lib changes):
jmayer [Tue, 2 Mar 2004 01:21:56 +0000 (01:21 +0000)]
Move the dissectors into libethereal (no static/shared lib changes):
- Create epan/Makefile.common
- Move dissector_src and helper files from Makefile.common to
  epan/Makefile.common
- Create register.c in epan/
- link all the files into libethereal
- put plugin_src into epan/Makefile.am

Try to make rpms build with rpm v4 again (sorry, I've forgotten who to
attribute this to).

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

20 years agoInclude shared libs if they exist
jmayer [Mon, 1 Mar 2004 22:39:34 +0000 (22:39 +0000)]
Include shared libs if they exist

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

20 years agoRemove some obsolete _static files
jmayer [Mon, 1 Mar 2004 22:36:57 +0000 (22:36 +0000)]
Remove some obsolete _static files

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

20 years agoFix a typo
jmayer [Mon, 1 Mar 2004 22:28:32 +0000 (22:28 +0000)]
Fix a typo

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

20 years agoUpdate to BER, dont do anything at all if there is no octet string (length == 0)
sahlberg [Mon, 1 Mar 2004 09:11:23 +0000 (09:11 +0000)]
Update to BER, dont do anything at all if there is no octet string (length == 0)

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

20 years agoMake the SMB dissector better at catching what is probably a DCERPC payload
sahlberg [Mon, 1 Mar 2004 08:34:34 +0000 (08:34 +0000)]
Make the SMB dissector better at catching what is probably a DCERPC payload
inside Write commands and make sure the proper things are stored in the hash so
we remember what is and what is not a IPC$ share ontop of which all file i/o is to dcerpc interfaces.

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

20 years agoimproved resizability
ulfl [Sun, 29 Feb 2004 10:41:03 +0000 (10:41 +0000)]
improved resizability

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