obnox/wireshark/wip.git
18 years agoUse <wiretap/file_util.h> to include "file_util.h"; otherwise, the
guy [Mon, 7 Nov 2005 02:47:09 +0000 (02:47 +0000)]
Use <wiretap/file_util.h> to include "file_util.h"; otherwise, the
include fails as we don't do -Iwiretap.

If we have it, include <sys/stat.h> in epan/filesystem.c - we need it
for stat() and the macros and structures it uses.

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

18 years agoIf we're using libz, make file_open() construct the open() flag
guy [Mon, 7 Nov 2005 02:45:19 +0000 (02:45 +0000)]
If we're using libz, make file_open() construct the open() flag
argument, rather than requiring the caller to get the open() flag and
the fopen() flag in sync.  That also means that if we're *not* using
libz, it can just be a wrapper around eth_fopen().

We need to include <fcntl.h>, at least on UN*X, to get open() declared
and the O_ flags defined.

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

18 years agoFix a typo.
guy [Mon, 7 Nov 2005 02:38:34 +0000 (02:38 +0000)]
Fix a typo.

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

18 years agoInclude <wiretap/file_util.h> to declare the eth_ routines.
guy [Mon, 7 Nov 2005 02:35:02 +0000 (02:35 +0000)]
Include <wiretap/file_util.h> to declare the eth_ routines.

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

18 years agoas mkstemp makes trouble and is only used once in util.c, move definition from file_u...
ulfl [Mon, 7 Nov 2005 00:20:20 +0000 (00:20 +0000)]
as mkstemp makes trouble and is only used once in util.c, move definition from file_util.h to util.c for now

this hopefully fixes the mkstemp problem

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

18 years agoGet rid of CRs and set svn:eol-style to native, so that Windows machines
guy [Sun, 6 Nov 2005 23:21:03 +0000 (23:21 +0000)]
Get rid of CRs and set svn:eol-style to native, so that Windows machines
get the CRs and UN*X machines don't.  Also set svn:keywords to Id to
expand RCS IDs.

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

18 years agoObviously, <glib/gstdio.h> is available since GLib version 2.6 only ...
ulfl [Sun, 6 Nov 2005 23:11:49 +0000 (23:11 +0000)]
Obviously, <glib/gstdio.h> is available since GLib version 2.6 only ...

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

18 years agoreplace *a lot* of file related calls by their GLib counterparts. This is necessary...
ulfl [Sun, 6 Nov 2005 22:43:25 +0000 (22:43 +0000)]
replace *a lot* of file related calls by their GLib counterparts. This is necessary for the switch to GTK 2.6 (at least on WIN32).

to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place.

deleted related things from config.h.win32

As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon.

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

18 years agodissect some of the session setup and the security blob for smb2
sahlberg [Sun, 6 Nov 2005 13:04:57 +0000 (13:04 +0000)]
dissect some of the session setup and the security blob for smb2

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

18 years agodissect the smb2 request/response flag
sahlberg [Sun, 6 Nov 2005 11:55:17 +0000 (11:55 +0000)]
dissect the smb2 request/response flag

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

18 years agodissect the smb2 tree id
sahlberg [Sun, 6 Nov 2005 11:46:10 +0000 (11:46 +0000)]
dissect the smb2 tree id

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

18 years agosome smb2 updates
sahlberg [Sun, 6 Nov 2005 05:32:01 +0000 (05:32 +0000)]
some smb2 updates

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

18 years agoadd an empty dissector for SMB2
sahlberg [Sun, 6 Nov 2005 04:18:13 +0000 (04:18 +0000)]
add an empty dissector for SMB2

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

18 years agoPacket-amr Register as "AMR" not "amr".
etxrab [Sat, 5 Nov 2005 21:38:22 +0000 (21:38 +0000)]
Packet-amr Register as  "AMR" not "amr".

Add Dynamic PT:s mimestring  to rtp_info if avalable.
Use Dynamic PT:s mime string to find clock rate.

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

18 years agoget rid of some strcat
sahlberg [Sat, 5 Nov 2005 20:32:33 +0000 (20:32 +0000)]
get rid of some strcat

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

18 years agoget rid of an array and dissect a bitmask properly
sahlberg [Sat, 5 Nov 2005 02:03:21 +0000 (02:03 +0000)]
get rid of an array and dissect a bitmask properly
get rid of some strcat()s

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

18 years agoremove an array and some strcat from ncp
sahlberg [Sat, 5 Nov 2005 01:23:06 +0000 (01:23 +0000)]
remove an array and some strcat from ncp

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

18 years agoremove an array and the remaining strcat from ospf
sahlberg [Fri, 4 Nov 2005 23:03:26 +0000 (23:03 +0000)]
remove an array and the remaining strcat from ospf

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

18 years agoget rid of some strcat and a stackbased array
sahlberg [Fri, 4 Nov 2005 21:55:23 +0000 (21:55 +0000)]
get rid of some strcat  and a stackbased array

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

18 years agofrom Metze
sahlberg [Fri, 4 Nov 2005 21:22:21 +0000 (21:22 +0000)]
from Metze

some winsrepl updates

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

18 years agoFrom Menno Andriesse
sahlberg [Fri, 4 Nov 2005 21:14:33 +0000 (21:14 +0000)]
From Menno Andriesse

New protocol : STANAG 5066

I changed it from being a plugin to a builtin dissector
and also changed a couple of small bugs

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

18 years agoFix a typo and change TLLI representation to HEX.
etxrab [Thu, 3 Nov 2005 19:14:52 +0000 (19:14 +0000)]
Fix a typo and change TLLI representation to HEX.

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

18 years agoUpdate to samba svn 11484
jmayer [Thu, 3 Nov 2005 15:23:09 +0000 (15:23 +0000)]
Update to samba svn 11484

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

18 years ago"dissect_cmp_http()" doesn't check for a valid packet (it doesn't need
guy [Thu, 3 Nov 2005 04:35:39 +0000 (04:35 +0000)]
"dissect_cmp_http()" doesn't check for a valid packet (it doesn't need
to, it's selected by the media-type string, not something unreliable
such as a port number), and doesn't return anything, so give it the
right type and don't declare it as a "new-style" dissector.

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

18 years agoGet rid of (valid) warning about uninitialized variable, and clean up
guy [Thu, 3 Nov 2005 04:33:51 +0000 (04:33 +0000)]
Get rid of (valid) warning about uninitialized variable, and clean up
indentation.

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

18 years agoGet rid of no-longer-used code (the list of plugins is now just a tab in
guy [Thu, 3 Nov 2005 04:32:11 +0000 (04:32 +0000)]
Get rid of no-longer-used code (the list of plugins is now just a tab in
Help->About, not a separate dialog from Help->About Plugins).

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

18 years agoFix usage of PRI[du]64 - they just replace the "letter" part of the
guy [Thu, 3 Nov 2005 04:30:35 +0000 (04:30 +0000)]
Fix usage of PRI[du]64 - they just replace the "letter" part of the
format, they don't include the "%".

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

18 years agoSome cleanup,
lego [Wed, 2 Nov 2005 23:01:15 +0000 (23:01 +0000)]
Some cleanup,
- Improve expert info
- Remove the debug tree (one warning unused function, will go)
- Make Sure Pending messages have a cmdmsg (and so a colinfo label)

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

18 years agoHandle a optional parameter length of zero.
etxrab [Wed, 2 Nov 2005 21:49:24 +0000 (21:49 +0000)]
Handle a optional parameter length of zero.

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

18 years agoMSVC warning fixed:
ulfl [Wed, 2 Nov 2005 20:50:54 +0000 (20:50 +0000)]
MSVC warning fixed:
proto.c(4694) : warning C4101: 'stringified' : unreferenced local variable

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

18 years agoFrom David Wysochanski fix a typo.
etxrab [Wed, 2 Nov 2005 20:28:58 +0000 (20:28 +0000)]
From David Wysochanski fix a typo.

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

18 years agoUse dissect_sip_tcp_heur for TCP to make re-assembly work on hueristics.
etxrab [Wed, 2 Nov 2005 20:24:42 +0000 (20:24 +0000)]
Use dissect_sip_tcp_heur for TCP to make re-assembly work on hueristics.

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

18 years ago- terminate a value_string
lego [Wed, 2 Nov 2005 19:46:47 +0000 (19:46 +0000)]
- terminate a value_string
- wildcard field subdissector

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

18 years agominor enhancement (raised plugin version to 0.1.2):
ulfl [Wed, 2 Nov 2005 19:33:46 +0000 (19:33 +0000)]
minor enhancement (raised plugin version to 0.1.2):
PN-DCP: dissection of "DHCP/DHCP client identifier" suboption was added

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

18 years agoFrom Tim
etxrab [Wed, 2 Nov 2005 07:51:55 +0000 (07:51 +0000)]
From Tim

A small patch for camel and inap, where the linkedid doesn't get dissected correctly in camel or inap
and some tidy up in the camel asn.1 which now compiles with no warnings.

also fix the copy_file target (/y)

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

18 years ago- add a counter for pending messages
lego [Tue, 1 Nov 2005 21:09:28 +0000 (21:09 +0000)]
- add a counter for pending messages
- do not use a value string for context ids
- remove the plugin registration as it is not supposedd to be a plugin

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

18 years agoAdd "application/resource-lists+xml" to xml types
etxrab [Tue, 1 Nov 2005 19:50:25 +0000 (19:50 +0000)]
Add "application/resource-lists+xml" to xml types

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

18 years agoUse g_print() instead of fprintf() to write messages to the debug console.
obiot [Tue, 1 Nov 2005 18:18:46 +0000 (18:18 +0000)]
Use g_print() instead of fprintf() to write messages to the debug console.

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

18 years ago- Embryonic Transaction & Context tracing
lego [Tue, 1 Nov 2005 16:28:13 +0000 (16:28 +0000)]
- Embryonic Transaction & Context tracing

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

18 years agoImprove the description of "contains" and "matches" a bit.
guy [Mon, 31 Oct 2005 03:45:11 +0000 (03:45 +0000)]
Improve the description of "contains" and "matches" a bit.

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

18 years agoDump the range when printing an MK_RANGE operator.
guy [Mon, 31 Oct 2005 03:33:14 +0000 (03:33 +0000)]
Dump the range when printing an MK_RANGE operator.

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

18 years agoWhen printing the code for a display filter:
guy [Mon, 31 Oct 2005 02:42:22 +0000 (02:42 +0000)]
When printing the code for a display filter:

print register numbers as unsigned (they're guint32);

when printing a PUT_FVALUE instruction, show the value as well
as the type of the value.

That requires that a bunch of types get to_repr methods; add them for
PCRE (FTREPR_DFILTER-only - show the regular expression as text),
tvbuffs (FTREPR_DFILTER_only - show the data as a hex string), integral
types, string types other than FT_STRING, and FT_IPv6.

That means we can use fvalue_to_string_repr() for FT_IPXNET and FT_IPv6
in proto_construct_dfilter_string(), and that we don't need to handle
integer and floating types specially in MATE.

Fix some problems with the PCRE execution code for tvbuff types.

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

18 years agoGet rid of an unused variable, and declare a variable that points into a
guy [Mon, 31 Oct 2005 02:21:02 +0000 (02:21 +0000)]
Get rid of an unused variable, and declare a variable that points into a
tvbuff's data const.

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

18 years agoExport fvalue_get_integer64(), for completeness.
guy [Sun, 30 Oct 2005 23:01:12 +0000 (23:01 +0000)]
Export fvalue_get_integer64(), for completeness.

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

18 years ago"XXX.XXX.XXX.XXX" is 15 characters, not 14 characters.
guy [Sun, 30 Oct 2005 22:55:30 +0000 (22:55 +0000)]
"XXX.XXX.XXX.XXX" is 15 characters, not 14 characters.

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

18 years agoMake capture filter (and capture filter error message) strings "safe" as
guy [Sun, 30 Oct 2005 20:16:01 +0000 (20:16 +0000)]
Make capture filter (and capture filter error message) strings "safe" as
necessary before putting them into an error message dialog.  Fixes bug
564.

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

18 years agovery minor enhancements
ulfl [Sun, 30 Oct 2005 13:46:40 +0000 (13:46 +0000)]
very minor enhancements

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

18 years ago- Split dissect_wendor_specific_ie into
jmayer [Sun, 30 Oct 2005 09:14:38 +0000 (09:14 +0000)]
- Split dissect_wendor_specific_ie into
  dissect_vendor_ie_wpawme and dissect_vendor_ie_rsn
- Display the vendor code on the top level of vendor specific IEs
- Make the vendor code of vendor specific IEs filterable
  (wlan_mgt.tag.oui)

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

18 years ago- Remove trailing whitespace
jmayer [Sun, 30 Oct 2005 09:13:27 +0000 (09:13 +0000)]
- Remove trailing whitespace
- IS_WEP is now (11i) called IS_PROTECTED
- Remove duplicate (and commented out) code
- Add reson code 0x24 to reason_codes

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

18 years agoGive RFC numbers for MIPv6, NEMO, and FMIPv6.
guy [Sat, 29 Oct 2005 23:22:13 +0000 (23:22 +0000)]
Give RFC numbers for MIPv6, NEMO, and FMIPv6.

Fix up NEMO #defines for field offsets, and field and option lengths, to
match #defines for other options.

Handle the padding in the FMIPv6 LLA option internally to the option
parser, and don't include the link-layer address unless it's present.
Don't handle the length of the LLA option specially in the generic
option parser.

Clean up white space.

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

18 years agoremove some strcat and dissect the options bitfield properly
sahlberg [Sat, 29 Oct 2005 22:47:20 +0000 (22:47 +0000)]
remove some strcat   and dissect the options bitfield properly

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

18 years agoUse NULL for pointers, 0 for integers, to squelch compiler warnings.
guy [Sat, 29 Oct 2005 21:48:37 +0000 (21:48 +0000)]
Use NULL for pointers, 0 for integers, to squelch compiler warnings.

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

18 years agoSet "ti" in all code paths, to squelch a compiler warning.
guy [Sat, 29 Oct 2005 21:43:53 +0000 (21:43 +0000)]
Set "ti" in all code paths, to squelch a compiler warning.

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

18 years agoGet rid of an unused variable.
guy [Sat, 29 Oct 2005 21:43:00 +0000 (21:43 +0000)]
Get rid of an unused variable.

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

18 years agoFrom Jaap Keuter
etxrab [Sat, 29 Oct 2005 15:34:16 +0000 (15:34 +0000)]
From Jaap Keuter
Improvments to PCMA and PCMU handling-

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

18 years agoremove cleanbld.bat (use the distclean target instead)
ulfl [Sat, 29 Oct 2005 09:48:29 +0000 (09:48 +0000)]
remove cleanbld.bat (use the distclean target instead)

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

18 years agoadd some simple heuristics for PVFS
sahlberg [Sat, 29 Oct 2005 03:07:26 +0000 (03:07 +0000)]
add some simple heuristics for PVFS

make PVFS use tcp_dissect_pdus   so it will handle
reassembly,   pdu boundary tracking, pdu transfer time atc.

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

18 years agocomment out the heuristics registration until we actually implement some heuristics
sahlberg [Fri, 28 Oct 2005 22:13:13 +0000 (22:13 +0000)]
comment out the heuristics registration until we actually implement some heuristics

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

18 years agoFrom Mike Frisch
sahlberg [Fri, 28 Oct 2005 22:08:15 +0000 (22:08 +0000)]
From Mike Frisch

New protocol : PVFS2

Example captures for fuzz testing can be found in Mikes email of Oct 7

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

18 years ago1. replace "and" with "&&" in ethereal_gen.py:2103
etxrab [Fri, 28 Oct 2005 19:27:13 +0000 (19:27 +0000)]
1. replace "and" with "&&" in ethereal_gen.py:2103

2. add make_printable_string in libethereal.def

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

18 years agoIf bytes_to_str() is passed a zero length value, return an empty string
gerald [Fri, 28 Oct 2005 15:08:14 +0000 (15:08 +0000)]
If bytes_to_str() is passed a zero length value, return an empty string
instead of asserting.  Fixes bug 560.

Fix up whitespace.

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

18 years agoFix the bit mask for dec_dna.ctl.router_state. This should fix the
gerald [Fri, 28 Oct 2005 14:20:18 +0000 (14:20 +0000)]
Fix the bit mask for dec_dna.ctl.router_state.  This should fix the
"check ftsanity.py output" error in Buildbot.  Fix up whitespace.

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

18 years agoCame up to be an almost complete rewrite:
lego [Fri, 28 Oct 2005 12:02:13 +0000 (12:02 +0000)]
Came up to be an almost complete rewrite:

- decode up to Q.2630.3
- (almost) all parameter fields have its own filter expression
- remove buffers from the stack
- add some color (expert info) to the tree

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

18 years agoFix uninitialized variable errors.
guy [Thu, 27 Oct 2005 20:18:50 +0000 (20:18 +0000)]
Fix uninitialized variable errors.

Rename some variables to make the names used in progress bars more
common.  (Should more of that functionality be moved into common
progress bar code?)

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

18 years agoMake the processing of "-z" arguments in the Tethereal I/O stat tap more
guy [Thu, 27 Oct 2005 19:42:24 +0000 (19:42 +0000)]
Make the processing of "-z" arguments in the Tethereal I/O stat tap more
like that of the Ethereal I/O stat tap.  Improve error messages in both
taps.

Use nstime() routines and structure assignment to do operations on
nstime_t values.

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

18 years agoAdd a CVE item for the IRC bug.
gerald [Thu, 27 Oct 2005 13:46:32 +0000 (13:46 +0000)]
Add a CVE item for the IRC bug.

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

18 years agoregister 1.2.840.113533.7.66.13 as passwordbasedmac from CRMF
sahlberg [Thu, 27 Oct 2005 11:54:55 +0000 (11:54 +0000)]
register 1.2.840.113533.7.66.13 as passwordbasedmac from CRMF

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

18 years agoadd decoding of some more universal types for the opportunistic decode of unknown...
sahlberg [Thu, 27 Oct 2005 11:27:40 +0000 (11:27 +0000)]
add decoding of some more universal types for the opportunistic decode of unknown ber blobs.

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

18 years agoget rid of the last two strcpy from epan/dissectors
sahlberg [Thu, 27 Oct 2005 10:11:22 +0000 (10:11 +0000)]
get rid of the last two strcpy   from epan/dissectors

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

18 years agoremove some strcpy
sahlberg [Thu, 27 Oct 2005 09:58:16 +0000 (09:58 +0000)]
remove some strcpy

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

18 years agoget rid of some strcpy
sahlberg [Thu, 27 Oct 2005 09:48:19 +0000 (09:48 +0000)]
get rid of some strcpy

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

18 years agoget rid of a strcpy
sahlberg [Thu, 27 Oct 2005 09:43:32 +0000 (09:43 +0000)]
get rid of a strcpy

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

18 years agoget rid of some strcpy
sahlberg [Thu, 27 Oct 2005 09:35:14 +0000 (09:35 +0000)]
get rid of some strcpy

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

18 years agoremove some strcpy
sahlberg [Thu, 27 Oct 2005 09:26:35 +0000 (09:26 +0000)]
remove some strcpy

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

18 years agoremove a strcpy() call
sahlberg [Thu, 27 Oct 2005 09:17:10 +0000 (09:17 +0000)]
remove a strcpy() call

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

18 years agoremove a strcpy
sahlberg [Thu, 27 Oct 2005 09:14:07 +0000 (09:14 +0000)]
remove a strcpy

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

18 years agoget rid of a strcpy
sahlberg [Thu, 27 Oct 2005 09:11:00 +0000 (09:11 +0000)]
get rid of a strcpy

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

18 years agoremove a strcpy call
sahlberg [Thu, 27 Oct 2005 09:07:22 +0000 (09:07 +0000)]
remove a strcpy call

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

18 years agoremove a strcpy
sahlberg [Thu, 27 Oct 2005 08:50:42 +0000 (08:50 +0000)]
remove a strcpy
make the code A LOT nicer
and get rid of unchecked memcpy

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

18 years agoremove some strcpy
sahlberg [Thu, 27 Oct 2005 08:35:44 +0000 (08:35 +0000)]
remove some strcpy

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

18 years agosimply use 4 spaces for example indentation and formatting
ulfl [Thu, 27 Oct 2005 08:27:46 +0000 (08:27 +0000)]
simply use 4 spaces for example indentation and formatting

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

18 years agoremove some strcpy() and some buffers.
sahlberg [Thu, 27 Oct 2005 08:18:59 +0000 (08:18 +0000)]
remove some strcpy() and some buffers.

boy o boy   the fc dissector family is in really poor shape and should be rewritten

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

18 years agoSynopsis: don't prepend an optional - before the first record number, it won't work
ulfl [Thu, 27 Oct 2005 08:09:32 +0000 (08:09 +0000)]
Synopsis: don't prepend an optional - before the first record number, it won't work

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

18 years agoCheck on every iteration of a loop whether to pop up a dialog box,
guy [Thu, 27 Oct 2005 06:45:37 +0000 (06:45 +0000)]
Check on every iteration of a loop whether to pop up a dialog box,
rather than checking only on every progress bar update quantum, so that
if the update quantum is *very* large, we don't end up waiting longer
than the standard time for a dialog box before checking.

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

18 years agoDon't run "process_ptvc_record()" on replies unless we're building a
guy [Wed, 26 Oct 2005 23:10:20 +0000 (23:10 +0000)]
Don't run "process_ptvc_record()" on replies unless we're building a
protocol tree.

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

18 years agofrom Jaap Keuter:
ulfl [Wed, 26 Oct 2005 21:08:24 +0000 (21:08 +0000)]
from Jaap Keuter:
The attached patch extends the synopsys and adds an 'Examples' chapter to
the editcap documentation.

I've edited this a bit, without the real knowledge :-(, to make it:

a. look better
b. make more sense (at least to me)

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

18 years agoAdd a comment.
guy [Wed, 26 Oct 2005 20:21:28 +0000 (20:21 +0000)]
Add a comment.

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

18 years agoupdates to CMP
sahlberg [Wed, 26 Oct 2005 20:17:40 +0000 (20:17 +0000)]
updates to CMP

implement the glue to dissect CMP oer TCP

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

18 years agoAdd the rest of the IE:s
etxrab [Wed, 26 Oct 2005 19:52:00 +0000 (19:52 +0000)]
Add the rest of the IE:s

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

18 years agoFrom Mike Duigou
etxrab [Wed, 26 Oct 2005 19:08:37 +0000 (19:08 +0000)]
From Mike Duigou
Safer handling for building address string for AT_STRINGZ and AT_URI.

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

18 years agoFrom Mark C Brown,
etxrab [Wed, 26 Oct 2005 19:01:29 +0000 (19:01 +0000)]
From  Mark C Brown,
Small patch correcting nettl.uid to unsigned and adding pduin/pduout as nettl.kind values...

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

18 years agoSet correct offset fore some signals, use dummy funtion to get hf fields auto generated.
etxrab [Wed, 26 Oct 2005 18:52:46 +0000 (18:52 +0000)]
Set correct offset fore some signals, use dummy funtion to get hf fields auto generated.

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

18 years agoAdd the recent IRC bug to the release notes.
gerald [Wed, 26 Oct 2005 14:27:12 +0000 (14:27 +0000)]
Add the recent IRC bug to the release notes.

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

18 years agobugfix: don't crash the file open dialog, if the preview gets confused by "invalid...
ulfl [Wed, 26 Oct 2005 08:32:21 +0000 (08:32 +0000)]
bugfix: don't crash the file open dialog, if the preview gets confused by "invalid" timestamps.

The localtime call will return NULL on invalid input which results in a NULL pointer exception. Simply print '?' if localtime returned NULL.

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

18 years agoTags should be implicit.
etxrab [Tue, 25 Oct 2005 20:30:43 +0000 (20:30 +0000)]
Tags should be implicit.

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

18 years agoAs there are more Procedure codes the hueristics need to be updated.
etxrab [Tue, 25 Oct 2005 20:29:50 +0000 (20:29 +0000)]
As there are more Procedure codes the hueristics need to be updated.

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

18 years agosome ies in the init proc weren't propperly decoded.
lego [Tue, 25 Oct 2005 19:41:01 +0000 (19:41 +0000)]
some ies in the init proc weren't propperly decoded.

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

18 years agoCheck in re-generated version from Graeme Lunt's fix to asn2eth.
guy [Tue, 25 Oct 2005 19:39:50 +0000 (19:39 +0000)]
Check in re-generated version from Graeme Lunt's fix to asn2eth.

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

18 years agoDon't declare "dissect_rtse_EXTERNAL()" in "packet-rtse.c" - let it get
guy [Tue, 25 Oct 2005 19:37:38 +0000 (19:37 +0000)]
Don't declare "dissect_rtse_EXTERNAL()" in "packet-rtse.c" - let it get
it from "packet-rtse.h" (which, at least on some platforms, doesn't
declare it as static, so GCC 4.0, at least, fails because the static and
non-static declarations collide).

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

18 years agoCheck in the re-generated NBAP dissector.
guy [Tue, 25 Oct 2005 19:35:33 +0000 (19:35 +0000)]
Check in the re-generated NBAP dissector.

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