metze/wireshark/wip.git
18 years agoGet rid of f_len field in capture_file structure - we can just keep
Guy Harris [Sat, 20 Aug 2005 02:14:01 +0000 (02:14 -0000)]
Get rid of f_len field in capture_file structure - we can just keep
the length locally. within cf_read().

svn path=/trunk/; revision=15454

18 years agoAdd -Wmissing-declarations -Wwrite-strings to extra-gcc-flags
Jörg Mayer [Sat, 20 Aug 2005 02:05:02 +0000 (02:05 -0000)]
Add  -Wmissing-declarations -Wwrite-strings to extra-gcc-flags

svn path=/trunk/; revision=15453

18 years agoTrivial warning fixes
Jörg Mayer [Sat, 20 Aug 2005 02:03:40 +0000 (02:03 -0000)]
Trivial warning fixes

svn path=/trunk/; revision=15452

18 years agoremove sprintf from mtp3
Ronnie Sahlberg [Sat, 20 Aug 2005 01:24:23 +0000 (01:24 -0000)]
remove sprintf from mtp3

svn path=/trunk/; revision=15451

18 years agoremove sprintf from pgm and x11
Ronnie Sahlberg [Sat, 20 Aug 2005 01:10:40 +0000 (01:10 -0000)]
remove sprintf from pgm and x11

svn path=/trunk/; revision=15450

18 years agoremove sprintf from v120 and wccp
Ronnie Sahlberg [Sat, 20 Aug 2005 00:33:08 +0000 (00:33 -0000)]
remove sprintf from v120 and wccp

svn path=/trunk/; revision=15449

18 years agoremove sprintf from rpc
Ronnie Sahlberg [Sat, 20 Aug 2005 00:27:46 +0000 (00:27 -0000)]
remove sprintf from rpc

svn path=/trunk/; revision=15448

18 years agofix buffer handling and remove sprintf
Ronnie Sahlberg [Sat, 20 Aug 2005 00:07:20 +0000 (00:07 -0000)]
fix buffer  handling and remove sprintf

there was at least one instance where an ip address was printed in dotted decimal to a 10 byte array on the stack.
I.e. a guaranteed buffer overrun for a stack object.

svn path=/trunk/; revision=15447

18 years agomore sprintf removals,
Ronnie Sahlberg [Fri, 19 Aug 2005 23:28:23 +0000 (23:28 -0000)]
more  sprintf removals,
replace some char arrays on the stack to ep_alloc()ed memory

svn path=/trunk/; revision=15446

18 years agoremove a gmalloc and al sprintf from spnego
Ronnie Sahlberg [Fri, 19 Aug 2005 23:03:56 +0000 (23:03 -0000)]
remove a gmalloc and al sprintf  from spnego

svn path=/trunk/; revision=15445

18 years agono more g_malloc or sprintf in snmp
Ronnie Sahlberg [Fri, 19 Aug 2005 22:44:56 +0000 (22:44 -0000)]
no more g_malloc  or sprintf   in snmp

svn path=/trunk/; revision=15444

18 years agomore gmalloc sprintf removals
Ronnie Sahlberg [Fri, 19 Aug 2005 22:34:28 +0000 (22:34 -0000)]
more gmalloc sprintf removals

svn path=/trunk/; revision=15443

18 years agoremove two gmalloc and some sprintf
Ronnie Sahlberg [Fri, 19 Aug 2005 22:26:10 +0000 (22:26 -0000)]
remove two gmalloc and some sprintf

svn path=/trunk/; revision=15442

18 years agofrom Jeff Snyder
Ronnie Sahlberg [Fri, 19 Aug 2005 21:19:49 +0000 (21:19 -0000)]
from Jeff Snyder

H245 updates
make multiple pdus/frame work

update to have nu limit on the max number of tappable pdus per frame

svn path=/trunk/; revision=15441

18 years agofix #357: increment ring buffer "file names" (again?)
Ulf Lamping [Fri, 19 Aug 2005 21:13:49 +0000 (21:13 -0000)]
fix #357: increment ring buffer "file names" (again?)

svn path=/trunk/; revision=15440

18 years agoas the WinPcap installation is now longer really needed (it has become part of the...
Ulf Lamping [Fri, 19 Aug 2005 21:09:38 +0000 (21:09 -0000)]
as the WinPcap installation is now longer really needed (it has become part of the main Ethereal installer) clarify things about installation

svn path=/trunk/; revision=15439

18 years agoWe've changed the Wiretap ABI (removed one routine), so bump the library
Guy Harris [Fri, 19 Aug 2005 19:44:21 +0000 (19:44 -0000)]
We've changed the Wiretap ABI (removed one routine), so bump the library
version number.

WinPcap 3.1 is no longer in alpha.  (Should we make WINPCAP_VERSION 3.1,
so we default to assuming WinPcap 3.1?)

svn path=/trunk/; revision=15438

18 years agoAdd APIs to Wiretap to return the file of the size as supplied by the OS
Guy Harris [Fri, 19 Aug 2005 19:40:00 +0000 (19:40 -0000)]
Add APIs to Wiretap to return the file of the size as supplied by the OS
(so if the file's gzipped, it's *NOT* the size of the file after
uncompressing), and an approximation of the amount of that data read
sequentially so far.

Use those for various progress bars and the like.

Make the fstat() in the Ascend trace reader directly use wth->fd, as
it's inside Wiretap; that gets rid of the last caller of wtap_fd() (as
we're no longer directly using fstat() or lseek() in Ethereal), so get
rid of wtap_fd().

svn path=/trunk/; revision=15437

18 years agoadd information about unsupported/fresh windows versions
Ulf Lamping [Fri, 19 Aug 2005 19:29:29 +0000 (19:29 -0000)]
add information about unsupported/fresh windows versions

svn path=/trunk/; revision=15436

18 years agoRestore pinfo->private_data after calling another dissector, in case it gets
Gerald Combs [Fri, 19 Aug 2005 18:28:50 +0000 (18:28 -0000)]
Restore pinfo->private_data after calling another dissector, in case it gets
overwritten.  Fixes bug 367.

svn path=/trunk/; revision=15435

18 years agoAdd packet-alcap.h to the Makefiles.
Luis Ontanon [Fri, 19 Aug 2005 16:46:46 +0000 (16:46 -0000)]
Add packet-alcap.h to the Makefiles.

svn path=/trunk/; revision=15434

18 years agosome ememification
Luis Ontanon [Fri, 19 Aug 2005 15:50:48 +0000 (15:50 -0000)]
some ememification

svn path=/trunk/; revision=15433

18 years agoadd the $Id:$
Luis Ontanon [Fri, 19 Aug 2005 15:46:39 +0000 (15:46 -0000)]
add the $Id:$

svn path=/trunk/; revision=15432

18 years agosome ememification
Luis Ontanon [Fri, 19 Aug 2005 15:35:42 +0000 (15:35 -0000)]
some ememification

svn path=/trunk/; revision=15431

18 years agoKeep information about the call-leg so that all the messages of a leg can be filtered...
Luis Ontanon [Fri, 19 Aug 2005 11:53:39 +0000 (11:53 -0000)]
Keep information about the call-leg so that all the messages of a leg can be filtered given a parameter of it.
Create the header to export the structures thyat hold that info.

svn path=/trunk/; revision=15430

18 years agoMove the stats.[ch] stuff into epan, so plugins can use it.
Guy Harris [Fri, 19 Aug 2005 10:00:14 +0000 (10:00 -0000)]
Move the stats.[ch] stuff into epan, so plugins can use it.

svn path=/trunk/; revision=15429

18 years agoFrom Matthias Drochner:
Ronnie Sahlberg [Fri, 19 Aug 2005 09:47:11 +0000 (09:47 -0000)]
From Matthias Drochner:
I'll attach a patch which fixes the decoding of authenticated
LDAP bind replies. The SASL credentials are always "context
specific" in terms of ASN.1.
I've tested the fix with DIGEST-MD5 authentication.
(Without the patch, ethereal complains about a wrong type
because it expects an ASN.a octet string.)
(You might also consider a stricter check of the ASN.1 header
type for the GSSAPI and GSS-SPNEGO cases, but I can't test this.)

svn path=/trunk/; revision=15428

18 years agoMove the APIs for registering and processing "-z" command-line arguments
Guy Harris [Fri, 19 Aug 2005 09:29:41 +0000 (09:29 -0000)]
Move the APIs for registering and processing "-z" command-line arguments
and "Statistics" menu items into "stat.h" and "stat.c", to separate them
from the core tapping APIs.  A tap could conceivably not register as a
"-z" command-line argument or "Statistics" menu item, and a stat could
conceivably not be implemented as a tap, and dissectors that implement
tapping points don't need the UI-related stuff from "stat.h", they just
want the tap-related stuff in <epan/tap.h>.

svn path=/trunk/; revision=15427

18 years agoFrom Markus Seehofer
Ronnie Sahlberg [Fri, 19 Aug 2005 09:28:58 +0000 (09:28 -0000)]
From Markus Seehofer

PTP updates

svn path=/trunk/; revision=15426

18 years agoFrom Michael Lum:
Ronnie Sahlberg [Fri, 19 Aug 2005 08:43:58 +0000 (08:43 -0000)]
From Michael Lum:

Statistics data structure was not being passed to the draw routine.

svn path=/trunk/; revision=15425

18 years agoFrom Michael Lum:
Ronnie Sahlberg [Fri, 19 Aug 2005 08:39:19 +0000 (08:39 -0000)]
From Michael Lum:
Fixed quite a few parameter IDs based on TIA-41-E (originally my mistakes).
Added support for filtering by DN, MIN, etc.
Moved where embedded 'Bearer Data' parameter is sub-dissected.

svn path=/trunk/; revision=15424

18 years agoFrom Michael Lum
Ronnie Sahlberg [Fri, 19 Aug 2005 08:36:38 +0000 (08:36 -0000)]
From Michael Lum

Slight modification to allow a protocol beneath SCCP (i.e. MTP3)
specify how the SCCP message should be dissected.

svn path=/trunk/; revision=15423

18 years agofrom Michael Lum
Ronnie Sahlberg [Fri, 19 Aug 2005 08:32:27 +0000 (08:32 -0000)]
from Michael Lum

update to 3g-a11
Modified support for ESN in the Airlink Setup Record

svn path=/trunk/; revision=15422

18 years agoremove gmalloc from etheric
Ronnie Sahlberg [Fri, 19 Aug 2005 08:19:52 +0000 (08:19 -0000)]
remove gmalloc from etheric

svn path=/trunk/; revision=15421

18 years agoremove g_malloc() from packet-smb-common
Ronnie Sahlberg [Fri, 19 Aug 2005 08:12:26 +0000 (08:12 -0000)]
remove g_malloc() from packet-smb-common

svn path=/trunk/; revision=15420

18 years agoremove g_malloc()
Ronnie Sahlberg [Fri, 19 Aug 2005 08:03:28 +0000 (08:03 -0000)]
remove g_malloc()

svn path=/trunk/; revision=15419

18 years agofile.c(3079) : warning C4090: 'function' : different 'const' qualifiers
Ulf Lamping [Fri, 19 Aug 2005 07:03:34 +0000 (07:03 -0000)]
file.c(3079) : warning C4090: 'function' : different 'const' qualifiers
file.c(3079) : warning C4022: 'cf_callback_invoke' : pointer mismatch for actual parameter 2

svn path=/trunk/; revision=15418

18 years agoInclude <string.h> to declare "strrchr()".
Guy Harris [Fri, 19 Aug 2005 01:57:44 +0000 (01:57 -0000)]
Include <string.h> to declare "strrchr()".

Clean up indentation.

svn path=/trunk/; revision=15417

18 years agoSet "hoffset" before using it.
Guy Harris [Fri, 19 Aug 2005 01:56:14 +0000 (01:56 -0000)]
Set "hoffset" before using it.

svn path=/trunk/; revision=15416

18 years agoHave "f_datalen" keep track of the number of bytes of uncompressed file
Guy Harris [Fri, 19 Aug 2005 01:17:24 +0000 (01:17 -0000)]
Have "f_datalen" keep track of the number of bytes of uncompressed file
data, so that "f_len" still keeps the size of the underlying file (which
is necessary in order to make the progress bar when files are being read
work correctly).

svn path=/trunk/; revision=15415

18 years agoFrom Tim Endean:
Anders Broman [Thu, 18 Aug 2005 21:36:59 +0000 (21:36 -0000)]
From Tim Endean:

Small patch to ber.c

The tcap dissector has been updated to use this length. I have not tested other asn.1 dissectors to ensure that they correctly use the indefinite encoding flag instead of the length value returning zero.

There may also be some problems when re-assembly is needed, but the ability to deal with indefinite length is much more useful.

For developers the get_ber_length now returns the length of the pdu including the EOC, where you have dissectors that use packet-ber.c the eoc may need to be dealt with separately.

The tcap dissector has had numerous changes to make it less cluttered, and the useful feature of the previous version where a dialogue could be filtered out by selecting either the source or destination transaction ID has been incorporated into this version.

svn path=/trunk/; revision=15414

18 years agofix #305: don't get file creation date/time of the file but just use the filename
Ulf Lamping [Thu, 18 Aug 2005 19:36:19 +0000 (19:36 -0000)]
fix #305: don't get file creation date/time of the file but just use the filename

svn path=/trunk/; revision=15413

18 years agoseveral times replacing:
Ulf Lamping [Thu, 18 Aug 2005 19:31:15 +0000 (19:31 -0000)]
several times replacing:

sprintf -> g_snprintf
snprintf -> g_snprintf
vsnprintf -> g_vsnprintf
strdup -> g_strdup

svn path=/trunk/; revision=15412

18 years agowhile sorting the entries, don't use the file creation date but the filename for...
Ulf Lamping [Thu, 18 Aug 2005 19:19:59 +0000 (19:19 -0000)]
while sorting the entries, don't use the file creation date but the filename for comparison

svn path=/trunk/; revision=15411

18 years agoinit the file set submenu items, so that the next and previous file items are disable...
Ulf Lamping [Thu, 18 Aug 2005 19:09:01 +0000 (19:09 -0000)]
init the file set submenu items, so that the next and previous file items are disabled by default

svn path=/trunk/; revision=15410

18 years agoFix value_tvb pointers.
Gerald Combs [Thu, 18 Aug 2005 18:12:55 +0000 (18:12 -0000)]
Fix value_tvb pointers.

svn path=/trunk/; revision=15409

18 years ago- dissect_per_restricted_character_string() returns value in tvbbuff_t instead of...
Tomas Kukosa [Thu, 18 Aug 2005 14:32:49 +0000 (14:32 -0000)]
- dissect_per_restricted_character_string() returns value in tvbbuff_t instead of char
- asn2eth:
  fixed CHOICE tag handling
  #.FN_PARS support for BIT STRING and all string types
  intersection of SIZE and FROM constraints for string is handled
- new asn2eth features used in h225 and h245
- PER dissectors regeneration

svn path=/trunk/; revision=15408

18 years agoFrom Richard van der Hoff
Anders Broman [Thu, 18 Aug 2005 12:55:01 +0000 (12:55 -0000)]
From Richard van der Hoff
negative relative time fixes.

svn path=/trunk/; revision=15407

18 years agoDecode some more of MultiRate configuration.
Anders Broman [Thu, 18 Aug 2005 11:09:50 +0000 (11:09 -0000)]
Decode some more of MultiRate configuration.

svn path=/trunk/; revision=15406

18 years agowhen kerberos claims a conversation, it only claims it for the source port
Ronnie Sahlberg [Thu, 18 Aug 2005 10:37:41 +0000 (10:37 -0000)]
when kerberos claims a conversation, it only claims it for the source port
since a KDC MIGTH send the reply back from a different port.

Then comes X.L's capture (ethereal-dev) 816fc4.cap from 16Aug2005 where
the client is reusing the same source port to talk to DNS after finishing
doing the port 88 KDC stuff.

==>

Make kerberos/udp able to test the packet for sanity and reject packets that
do not look like kerberos (even if there was a conversation that said it was kerberos)
and thus let other dissectors have a go at it.

in doubt,   try 816fc4.cap  before and after this patch :-)

svn path=/trunk/; revision=15405

18 years agoTry yet another scheme for handling time stamps; realtick isn't always
Guy Harris [Thu, 18 Aug 2005 09:47:00 +0000 (09:47 -0000)]
Try yet another scheme for handling time stamps; realtick isn't always
correct.

svn path=/trunk/; revision=15404

18 years agoreplace sprintf with ememified g_snprintf
Ronnie Sahlberg [Thu, 18 Aug 2005 08:55:22 +0000 (08:55 -0000)]
replace sprintf with ememified g_snprintf

svn path=/trunk/; revision=15403

18 years agoTim's patches for packet-ber for extra testing (works ok with my and with Anders...
Ronnie Sahlberg [Thu, 18 Aug 2005 08:37:31 +0000 (08:37 -0000)]
Tim's patches for packet-ber  for extra testing (works ok with my and with Anders captures)

Anders'  beginnings of a new dissect_ber_set() function

svn path=/trunk/; revision=15402

18 years agoThe length returned for continuation data should be the length remaining
Guy Harris [Thu, 18 Aug 2005 07:09:43 +0000 (07:09 -0000)]
The length returned for continuation data should be the length remaining
in the tvbuff starting at the specified offset, not the entire length of
the tvbuff.

svn path=/trunk/; revision=15401

18 years agoGet rid of a no-longer-used variable.
Guy Harris [Thu, 18 Aug 2005 06:40:10 +0000 (06:40 -0000)]
Get rid of a no-longer-used variable.

svn path=/trunk/; revision=15400

18 years agoShow BitTorrent stuff that doesn't look right as continuation data.
Guy Harris [Thu, 18 Aug 2005 01:17:46 +0000 (01:17 -0000)]
Show BitTorrent stuff that doesn't look right as continuation data.

svn path=/trunk/; revision=15399

18 years agosnprintf -> g_snprintf
Ulf Lamping [Wed, 17 Aug 2005 23:10:28 +0000 (23:10 -0000)]
snprintf -> g_snprintf

svn path=/trunk/; revision=15398

18 years agoput the intermediate files of the release_notes chm build into it's own dir release_n...
Ulf Lamping [Wed, 17 Aug 2005 22:49:07 +0000 (22:49 -0000)]
put the intermediate files of the release_notes chm build into it's own dir release_notes_chm/ instead of .

svn path=/trunk/; revision=15397

18 years ago0.10.12 -> 0.10.13 (preliminary)
Ulf Lamping [Wed, 17 Aug 2005 22:32:40 +0000 (22:32 -0000)]
0.10.12 -> 0.10.13 (preliminary)

add a section about "new and updated features"

svn path=/trunk/; revision=15396

18 years agoFlip the separators in the MIBS environment variable between ":" and
Gerald Combs [Wed, 17 Aug 2005 22:27:15 +0000 (22:27 -0000)]
Flip the separators in the MIBS environment variable between ":" and
";" depending on our platform.  This is a modified version of a patch
that Jaap Keuter sent in.  Leave the preferences tooltip as-is in case
we want to be more strict about separators in the future.

Add a link to an email from Wes explaining that we shouldn't use a
default MIB list.

svn path=/trunk/; revision=15395

18 years agofix a typo
Ulf Lamping [Wed, 17 Aug 2005 22:08:06 +0000 (22:08 -0000)]
fix a typo

svn path=/trunk/; revision=15394

18 years agosnprintf -> g_snprintf
Ulf Lamping [Wed, 17 Aug 2005 22:03:21 +0000 (22:03 -0000)]
snprintf -> g_snprintf

svn path=/trunk/; revision=15393

18 years agostrdup -> g_strdup and alike
Ulf Lamping [Wed, 17 Aug 2005 21:52:16 +0000 (21:52 -0000)]
strdup -> g_strdup and alike

svn path=/trunk/; revision=15392

18 years agoupdate some comments pointing out these buffers need not be freed
Ronnie Sahlberg [Wed, 17 Aug 2005 20:45:18 +0000 (20:45 -0000)]
update some comments pointing out these buffers need not be freed

svn path=/trunk/; revision=15391

18 years agoIf we receive junk data from the network it means we have a
Gerald Combs [Wed, 17 Aug 2005 15:04:44 +0000 (15:04 -0000)]
If we receive junk data from the network it means we have a
malformed packet.  It doesn't necessarily mean that we have a problem
with our dissector.  If we see something we didn't expect, throw a
ReportedBoundsError instead of calling DISSECTOR_ASSERT() (which makes
BuildBot open a ticket).

Fixes bugs 362 - 366.

svn path=/trunk/; revision=15390

18 years agoAs reported by Jim Young:
Jörg Mayer [Wed, 17 Aug 2005 12:27:05 +0000 (12:27 -0000)]
As reported by Jim Young:
- The port number was incorrectly displayed
- Be a bit more verbose in the "Info" summary line.
- Display the version including the internal number.

svn path=/trunk/; revision=15389

18 years agoComment fixes
Jörg Mayer [Wed, 17 Aug 2005 09:59:47 +0000 (09:59 -0000)]
Comment fixes

svn path=/trunk/; revision=15388

18 years ago from Tomas Kukosa, remove a redundant g_strdup()
Anders Broman [Wed, 17 Aug 2005 09:43:16 +0000 (09:43 -0000)]
 from Tomas Kukosa, remove a redundant g_strdup()

svn path=/trunk/; revision=15387

18 years agoreplace some more silly rotating buffers with ep_alloc() calls
Ronnie Sahlberg [Wed, 17 Aug 2005 09:36:20 +0000 (09:36 -0000)]
replace some more silly rotating buffers with ep_alloc() calls

svn path=/trunk/; revision=15386

18 years agofix some more silly rotating buffers
Ronnie Sahlberg [Wed, 17 Aug 2005 09:28:24 +0000 (09:28 -0000)]
fix some more silly rotating buffers

svn path=/trunk/; revision=15385

18 years agoreplace a whole bunch of silly rotating stating buffers with ep_alloc() calls
Ronnie Sahlberg [Wed, 17 Aug 2005 09:25:04 +0000 (09:25 -0000)]
replace a whole bunch of silly rotating stating buffers with ep_alloc() calls

this should fix a whole number of display bugs when there are too many such pdus in a single frame for the silly buffers to handle before they wrap.

svn path=/trunk/; revision=15384

18 years agoremove g_malloc from manolito
Ronnie Sahlberg [Wed, 17 Aug 2005 09:11:37 +0000 (09:11 -0000)]
remove g_malloc from manolito

svn path=/trunk/; revision=15383

18 years agoremove g_malloc()s from rtcp
Ronnie Sahlberg [Wed, 17 Aug 2005 08:54:25 +0000 (08:54 -0000)]
remove g_malloc()s from rtcp

svn path=/trunk/; revision=15382

18 years agoreplace g_malloc() with ep_alloc() for ftp and sdp
Ronnie Sahlberg [Wed, 17 Aug 2005 08:50:04 +0000 (08:50 -0000)]
replace g_malloc() with ep_alloc() for ftp and sdp

sdp never free the allocated memory so it were leaking memory for every packet containng sdp.
fix memleak for sdp

svn path=/trunk/; revision=15381

18 years agoremove g_malloc() from rip remove one g_malloc() from tacacs
Ronnie Sahlberg [Wed, 17 Aug 2005 08:43:40 +0000 (08:43 -0000)]
remove g_malloc() from rip   remove one g_malloc() from tacacs

svn path=/trunk/; revision=15380

18 years agofrom Tomas Kukosa, remove a redundant g_strdup()
Ronnie Sahlberg [Wed, 17 Aug 2005 08:31:54 +0000 (08:31 -0000)]
from Tomas Kukosa, remove a redundant g_strdup()

svn path=/trunk/; revision=15379

18 years ago- Small comment updates.
Jörg Mayer [Tue, 16 Aug 2005 21:38:18 +0000 (21:38 -0000)]
- Small comment updates.
- Add some info about the element to the top level.

svn path=/trunk/; revision=15378

18 years agoFor "-G decodes", print the selector values as unsigned ints.
Gerald Combs [Tue, 16 Aug 2005 16:11:02 +0000 (16:11 -0000)]
For "-G decodes", print the selector values as unsigned ints.

svn path=/trunk/; revision=15377

18 years agoAdd a note about sFlow. Remove the CSM_ENCAPS bug; I inadvertently
Gerald Combs [Tue, 16 Aug 2005 16:09:49 +0000 (16:09 -0000)]
Add a note about sFlow.  Remove the CSM_ENCAPS bug; I inadvertently
reintroduced it after the 0.10.12 release.

svn path=/trunk/; revision=15376

18 years agoIn packet-sflow.c, don't pass a NULL value pointer to
Gerald Combs [Tue, 16 Aug 2005 16:04:30 +0000 (16:04 -0000)]
In packet-sflow.c, don't pass a NULL value pointer to
proto_tree_add_ipv6().  Add tree items for the extended router source
and dest mask, and fix offsets.  These changes appear to be correct,
but I don't have a valid capture with extended router data.

In proto.c, throw a dissector error if we try to pass a NULL value to
various proto_tree_set_*() routines.

Fixes bug 356.

svn path=/trunk/; revision=15375

18 years agoadd SetFileInfo level 1013 SetDispositionInfo decoding
Ronnie Sahlberg [Tue, 16 Aug 2005 08:40:06 +0000 (08:40 -0000)]
add SetFileInfo level 1013   SetDispositionInfo decoding

svn path=/trunk/; revision=15374

18 years agoprettify MNT (and friends) by placing the path in COL_INFO
Ronnie Sahlberg [Tue, 16 Aug 2005 07:49:03 +0000 (07:49 -0000)]
prettify MNT (and friends) by placing the path in COL_INFO

svn path=/trunk/; revision=15373

18 years agoChange the default font size on Unix (etc) to 10 pt, just as it was
Jörg Mayer [Tue, 16 Aug 2005 06:48:06 +0000 (06:48 -0000)]
Change the default font size on Unix (etc) to 10 pt, just as it was
already on Windows.
Changed the default font to Monospace, as some Linux distributions did
that already. In case this isn't available on all platforms we will
need to change it back to "fixed medium".

svn path=/trunk/; revision=15372

18 years agoMove SVNVERSION handling into version_info. That way, we won't have
Jörg Mayer [Tue, 16 Aug 2005 06:45:17 +0000 (06:45 -0000)]
Move SVNVERSION handling into version_info. That way, we won't have
to recompile tethereal.o etc each time the svn version has changed,
relinking is sufficient.

I'm not sure what to do about mergecap, as it currently doesn't link
against version_info, so it's "overhead" either way.

svn path=/trunk/; revision=15371

18 years agoChange to match more closely the way I read 802.11h, at least; I'm just
Guy Harris [Tue, 16 Aug 2005 06:09:39 +0000 (06:09 -0000)]
Change to match more closely the way I read 802.11h, at least; I'm just
guessing about the "17" indicator for "management notification" frames -
I'm not sure whether, after paying USD 60 to get the current 802.11e
draft, Preview on my Mac could even decrypt it.

802.11h seems to say in 7.2.3.12 and 7.3.1.11 that the body of an Action
frame has a 1-byte Category field, with a value of 0 meaning "Spectrum
management", followed by, for Spectrum management, a 1-byte Action
field, with 0=Measurement Request, 1=Measurement Report, 2=TPC Request,
3=TPC Report, and 4=Channel Switch Announcement, followed by:

for all but Channel Switch Announcement, a 1-byte Dialog Token
followed by some tagged parameters;

for the Channel Switch announcement, some tagged parameters.

Show some fields given in decimal in various 802.11 specs in decimal,
not hex.

svn path=/trunk/; revision=15370

18 years agoFrom Peter Johansson: add an option to decode the client information,
Guy Harris [Tue, 16 Aug 2005 05:58:50 +0000 (05:58 -0000)]
From Peter Johansson: add an option to decode the client information,
and check the validity of messages a bit more carefully.

Reformat a bit so not as much code is missed by those of us who like
narrow editor windows.

svn path=/trunk/; revision=15369

18 years agoThe real problem is that iTunes requests gzipped data and responds with
Guy Harris [Tue, 16 Aug 2005 02:04:02 +0000 (02:04 -0000)]
The real problem is that iTunes requests gzipped data and responds with
it, so unless you're reassembling headers and bodies the DAAP dissector
will see the gzipped crap.  The HTTP dissector should perhaps not bother
handing gzipped or otherwise unusually-encoded bodies to subdissectors
if it's not undoing the encoding.

svn path=/trunk/; revision=15368

18 years agogcc4 gets confused by the break statements, and I guess it thinks you
Guy Harris [Tue, 16 Aug 2005 01:34:44 +0000 (01:34 -0000)]
gcc4 gets confused by the break statements, and I guess it thinks you
can reach them, and thus thinks you can fall off the end of
"fc_get_ftype()".

svn path=/trunk/; revision=15367

18 years agoNote where a table comes from, and that we don't use it.
Guy Harris [Tue, 16 Aug 2005 01:24:19 +0000 (01:24 -0000)]
Note where a table comes from, and that we don't use it.

svn path=/trunk/; revision=15366

18 years agose_alloc not ep_alloc!
Luis Ontanon [Tue, 16 Aug 2005 01:01:17 +0000 (01:01 -0000)]
se_alloc not ep_alloc!

svn path=/trunk/; revision=15365

18 years agomore allocators se_alloc0() se_memdups() se_strdup() se_strndup() se_strdup_printf()
Luis Ontanon [Tue, 16 Aug 2005 00:55:08 +0000 (00:55 -0000)]
more allocators se_alloc0() se_memdups() se_strdup() se_strndup() se_strdup_printf()

svn path=/trunk/; revision=15364

18 years ago- Update manuf
Jörg Mayer [Mon, 15 Aug 2005 21:06:09 +0000 (21:06 -0000)]
- Update manuf
- Add some Extreme MAC addresses to wka.tmpl

svn path=/trunk/; revision=15363

18 years ago- Change $1 to $@
Jörg Mayer [Mon, 15 Aug 2005 20:31:57 +0000 (20:31 -0000)]
- Change $1 to $@
- Don't exit if we can't find the scripts - try to continue anyway,
  as they might be installed in some preconfigured system directory.

svn path=/trunk/; revision=15362

18 years agoWhen we create a new tvb, make sure the memory is freed at some point.
Gerald Combs [Mon, 15 Aug 2005 20:28:04 +0000 (20:28 -0000)]
When we create a new tvb, make sure the memory is freed at some point.

svn path=/trunk/; revision=15361

18 years agoTP-PI (TP-Parameter-Indicator) is optional.
Anders Broman [Mon, 15 Aug 2005 19:35:09 +0000 (19:35 -0000)]
TP-PI (TP-Parameter-Indicator) is optional.

svn path=/trunk/; revision=15360

18 years agoProperly dissect vlan flags
Jörg Mayer [Mon, 15 Aug 2005 15:50:25 +0000 (15:50 -0000)]
Properly dissect vlan flags

svn path=/trunk/; revision=15359

18 years ago- Documentation update
Jörg Mayer [Mon, 15 Aug 2005 12:41:08 +0000 (12:41 -0000)]
- Documentation update
- The slot and port numbers printed on the chassis are off by
  one when compared to the transmitted values (reported by
  Jim Young).

svn path=/trunk/; revision=15358

18 years agoememify g_malloc() calls
Ronnie Sahlberg [Mon, 15 Aug 2005 12:04:15 +0000 (12:04 -0000)]
ememify g_malloc() calls

svn path=/trunk/; revision=15357

18 years agoememify g_malloc() calls
Ronnie Sahlberg [Mon, 15 Aug 2005 11:53:57 +0000 (11:53 -0000)]
ememify g_malloc() calls

svn path=/trunk/; revision=15356

18 years agoSome 'no previous declararion' warning fixes
Jörg Mayer [Sun, 14 Aug 2005 23:25:20 +0000 (23:25 -0000)]
Some 'no previous declararion' warning fixes

svn path=/trunk/; revision=15355