Commit Graph

21172 Commits

Author SHA1 Message Date
Ulf Lamping 013332de7f fix a bug found while fuzz testing the opcua dissector:
MSVC 2005 crashes, if localtime is called with very large numbers (in this case 218939827321) - probably due to changes that time_t is now 64bits long as default

limit the number given to localtime to a reasonable value

while this isn't a nice fix, I don't see a better way to fix it :-(

svn path=/trunk/; revision=21759
2007-05-14 13:47:03 +00:00
Tomas Kukosa 25c299ea4e - support of constraint unions
- support of FN_VARIANT parameter for OpenType
- many small changes

svn path=/trunk/; revision=21758
2007-05-14 13:46:09 +00:00
Tomas Kukosa 61ffcf48a9 - more variants of dissect_per_open_type_*()
- move asn1_get_real() to asn1.c/.h

svn path=/trunk/; revision=21757
2007-05-14 13:39:31 +00:00
Ronnie Sahlberg fc5ce01ee4 replace an incorrect '{' with ';' in the ber header file
change the signature for dissect_ber_external_type() to only provide the 
parameter actx once


svn path=/trunk/; revision=21756
2007-05-13 22:19:04 +00:00
Anders Broman 0bc558f88d actx in ber_external
svn path=/trunk/; revision=21755
2007-05-13 22:01:17 +00:00
Anders Broman 0a0a913a01 Try to make the buildbot happy.
svn path=/trunk/; revision=21754
2007-05-13 21:54:45 +00:00
Anders Broman c01f382974 Second step in introducing asn context to BER dissectors just like in PER.
svn path=/trunk/; revision=21753
2007-05-13 20:58:29 +00:00
Jaap Keuter b80cb43018 From bug 1492: Fortify layer name presentation.
Some code cleanups.

svn path=/trunk/; revision=21752
2007-05-12 19:54:55 +00:00
Gerald Combs 797545d2e5 Fix a bunch of spelling errors.
svn path=/trunk/; revision=21751
2007-05-12 00:01:57 +00:00
Stephen Fisher 511188e5a0 Copy environment variable HTTP_PROXY when set to http_proxy so wget can grab it.
Also add $Id$ tag

svn path=/trunk/; revision=21750
2007-05-11 22:54:54 +00:00
Gerald Combs 6c940e0714 implented -> implemented.
svn path=/trunk/; revision=21749
2007-05-11 22:51:48 +00:00
Gerald Combs 790061f5c7 Add separate filters for vendor-specific HT items.
svn path=/trunk/; revision=21748
2007-05-11 15:52:13 +00:00
Jaap Keuter caa79282d8 Fix for bug 1545.
Add a preference to support BVLC on non standard UDP port.

svn path=/trunk/; revision=21747
2007-05-11 06:31:22 +00:00
Anders Broman 2427e6390d From Andrew Feren:
This patch collapses start and end time for each flow to a single duration item.  The duration item can, of course, be expanded to display the start and end time.

svn path=/trunk/; revision=21746
2007-05-11 06:21:18 +00:00
Ronnie Sahlberg ff35bf2ca1 make create_options, access_mask and share_access fitlerable
svn path=/trunk/; revision=21745
2007-05-11 03:02:38 +00:00
Gerald Combs 06886379c7 On slow displays (such as RDP sessions), it looks like the "update"
callback routines might get called before we're ready for them.
Add checks to handle this.

Fixup whitespace.

svn path=/trunk/; revision=21744
2007-05-10 22:30:29 +00:00
Ronnie Sahlberg f43afbaf35 add more tracking of FID properties
track create_flags, access_mask, file_attributes, share_access and 
create options for all FIDs


svn path=/trunk/; revision=21743
2007-05-10 20:53:35 +00:00
Martin Mathieson 6c310715bd - show NACK summary in info column
- calculated and show compression ratio achieved
- show some fields as being generated

svn path=/trunk/; revision=21742
2007-05-10 16:49:00 +00:00
Martin Mathieson 47a9c22ad4 mipv6 -> ip
svn path=/trunk/; revision=21741
2007-05-10 15:29:38 +00:00
Martin Mathieson ef3f75d6df Make dhcpv6 findable by name.
svn path=/trunk/; revision=21740
2007-05-10 10:56:36 +00:00
Ronnie Sahlberg e5e23150ab prettify dissection of FIDs,
put the filename, if known, on the fid expansion line

also place a "generated" fid in failed ntcreateandx so it is easier to 
quickly see which file the ntcreateandx failed for


svn path=/trunk/; revision=21739
2007-05-10 02:34:06 +00:00
Jaap Keuter 4fef1c31c1 Fix for bug 1497.
Set DSCP_VALUE column info without tree to support export operations.

svn path=/trunk/; revision=21738
2007-05-09 22:27:39 +00:00
Graham Bloice bb61f339ed Cast values to correct sizes for number of bits to squelch Win32 warnings
svn path=/trunk/; revision=21737
2007-05-09 09:33:44 +00:00
Ulf Lamping 6ace4fef21 fix manifest dll error
svn path=/trunk/; revision=21736
2007-05-09 06:35:13 +00:00
Ulf Lamping b2afad68fb fix manifest error: for dll's mt.exe must be given ;2
svn path=/trunk/; revision=21735
2007-05-09 06:33:22 +00:00
Ulf Lamping 2f53056ba3 fix manifest error: for dll's mt.exe must be given ;2
svn path=/trunk/; revision=21734
2007-05-09 06:32:52 +00:00
Guy Harris 636807c1ce Unless I've missed something, the number of subframes can be as many as
16 (4 bits, 0-origin, so that's 15 + 1 as the maximum).

svn path=/trunk/; revision=21733
2007-05-09 03:50:58 +00:00
Jaap Keuter bf55e2cf1d Fix for bug 1103:
1. in dissect_routing6() if (rt.ip6r_type == 2) set pinfo->dst to the Home Address.
2. dissect_mipv6_hoa() set the pinfo->src to the Home Address.

svn path=/trunk/; revision=21732
2007-05-08 22:25:03 +00:00
Stephen Fisher 937b925cf5 From Victor Fajardo:
The packet-pana.c dissector I have submitted previously [SVN rev 21447]
had a minor issue. The following are the fixes:
 
Change packet-pana.c, Line 823:

                       { "Ping","pana.flags.e",
 
to:
 
                       { "Error","pana.flags.e",
 

svn path=/trunk/; revision=21731
2007-05-08 19:33:24 +00:00
Stephen Fisher 1d114f469c Fix for bug #1532 -
From Kenneth Golomb:

Fixes two issues:
1) interface_name is allocated iface_len+1 bytes but a buffer length of iface
len is passed in when the string is copied.  This truncates the string to 9
characters if the interface_name is 10 characters long.

2) interface_name added to tree with proto_tree_add_string_format and is
missing the initial value parameter when called.  Even if this is added the
field can not be filtered on.  Adding the field with proto_tree_add_item fixes
both the tree display and the filtering issues.


svn path=/trunk/; revision=21730
2007-05-08 19:11:33 +00:00
Jörg Mayer 26aae8fd12 Update from samba tree revision 22657 to 22761
============================ Samba log start ============
------------------------------------------------------------------------
r22667 | metze | 2007-05-04 12:44:41 +0200 (Fri, 04 May 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm

revert revision 22640 as it breaks nested structs in idl

metze
------------------------------------------------------------------------
r22741 | jelmer | 2007-05-07 14:31:42 +0200 (Mon, 07 May 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm

Add MSVC-specific pragma's for Wireshark. Patch from Ronnie.
------------------------------------------------------------------------
r22742 | jelmer | 2007-05-07 14:41:23 +0200 (Mon, 07 May 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm

Fix tests.
------------------------------------------------------------------------
------------------------------------------------------------------------
============================ Samba log end ==============

svn path=/trunk/; revision=21729
2007-05-08 17:39:28 +00:00
Martin Mathieson ab32895f34 Use new 'unknown' value for dch_crc_present for EDCH channels.
svn path=/trunk/; revision=21728
2007-05-08 17:19:18 +00:00
Martin Mathieson 7510f41080 Fix proto_tree_add_bits_ret_val() (as now used by FP dissector).
Note that FP uses this function in a limited way, but this fixes problems seen.

svn path=/trunk/; revision=21727
2007-05-08 17:17:51 +00:00
Martin Mathieson aac8ca1355 From Kriang Lerdsuwanakij:
This patch adds the handling of Spare Extension bytes
to UMTS Frame Protocol.  It also handles the case when
the presence of CRC in dedicated channels is not known
(i.e. when FP from a K12/K15 log is dissected).

The new functionality is placed in the new function
"dissect_spare_extension_and_crc".  The "dch_crc_present"
field inside "struct fp_info" (file packet-umts_fp.h)
is also extended to handle the case of unknown CRC presence.

Much of other changes is to update "offset" variable and
return it so that the location of Spare Extension and CRC
is available.

The patch also include a small tweak to handle Frame
Protocol information saved from K15.  Some fields appear
8 bytes later compared to K12.  The changes are in the file
packet-k12.c.

svn path=/trunk/; revision=21726
2007-05-08 17:13:14 +00:00
Jörg Mayer 5b41e5bec5 propset...
svn path=/trunk/; revision=21725
2007-05-08 17:12:59 +00:00
Gerald Combs 965fda1995 Add NULL dereference checks. Fixes Coverity CID 241.
svn path=/trunk/; revision=21724
2007-05-08 16:18:59 +00:00
Ronnie Sahlberg f133d28663 prettify wkssvc dissection using the conformance file and generate the
dissector again using a new version of pidl


svn path=/trunk/; revision=21723
2007-05-08 03:30:14 +00:00
Ronnie Sahlberg d71ee1a0e5 update PIDL_dissect_cvstring so that it can be used in a future pidl to
prettify strings


svn path=/trunk/; revision=21722
2007-05-08 00:04:51 +00:00
Gerald Combs e2733321e9 Bug fixes and cleanup from Dustin Johnson and myself:
- Remove unused hf_block_ack_ssc code.
  - Fix +HTC detection and frame length calculation.
  - Fix Channel Width dissection.
  - Fix Primary Channel dissection.
  - Tweak the TID field width.
  - Display the Block Ack Buffer Size as decimal.
  - Display the SSC fragment and sequence numbers as decimal.
  - Fix the spelling of "recommended".

svn path=/trunk/; revision=21721
2007-05-07 21:57:05 +00:00
Ronnie Sahlberg b183abad3e update the conformance file for winreg to specify that the string for
OpenKey keynames should be saved/stored in the dcv structure.

this now makes all policy handles generated by the OpenKey function show
OpenKey(/path/keyname)
for all such policyhandles


svn path=/trunk/; revision=21720
2007-05-07 19:23:59 +00:00
Ronnie Sahlberg 50a23f1970 when creating a policy handle, use the string stored in dcv if
available as the name of the handle

This means we can show policy handles like
OpenKey(/a/b/c/d)
instead of 
OpenKey(<...>)




svn path=/trunk/; revision=21719
2007-05-07 19:21:37 +00:00
Graeme Lunt 83a8448dae Missing string.h for strncmp.
svn path=/trunk/; revision=21718
2007-05-07 19:02:27 +00:00
Ronnie Sahlberg e19938fb0b using latest version of pidl, which includes the required pragmas and
which also handles TYPE and PARAM_VALUE for strings,   regenerate winreg 
after using hte conformance file to prettify how and where strings are 
to be used to decorate the summary line and the dissection tree


svn path=/trunk/; revision=21717
2007-05-07 18:35:28 +00:00
Graeme Lunt cf56e76be9 Updated splash screen for Wireshark that shows the initialisation progress.
The splash screen shows a progress bar and a percentage complete - like the progress dialog.
As dissectors are initialised and handed off the name is shown. However, the names of plugin dissectors are not shown.
The update to the make-dissector-reg shell script has been tested, though I think generally the python version is used.


svn path=/trunk/; revision=21716
2007-05-07 17:55:42 +00:00
Tomas Kukosa a38b44a647 - simple Information Objects support
- all definitions in ASN.1 source are skipped and need not to be commented out
  - #.CLASS directive can define types for Object Class Fields
- do not append 'xxx' postfix to parametrized types (changes H.235 and H.450 in accordance with it)
- change QSIG ASN.1 source to be more identical to original one

svn path=/trunk/; revision=21715
2007-05-07 12:59:31 +00:00
Tomas Kukosa a8c10b431f changes in external structure of asn1_ctx_t
svn path=/trunk/; revision=21714
2007-05-07 11:25:21 +00:00
Ronnie Sahlberg 0eae1cc0bd add dissection of smb1 ioctl data by tying it into the dissectors for
ioctl data that already exists for smb2


svn path=/trunk/; revision=21713
2007-05-07 09:07:29 +00:00
Ronnie Sahlberg 34afdc5fc3 change the smb2 ioctl function to take a pointer to a uint32 (ioctl
function code) instead of a structure

extend the nt trans structure to contain a ioctl function code for smb1


svn path=/trunk/; revision=21712
2007-05-07 08:11:59 +00:00
Ronnie Sahlberg bda722d3bf remove the ioctl function and table from the smb dissector and just use
the one in smb2 instead since the smb2 one is more developed.


svn path=/trunk/; revision=21711
2007-05-07 07:41:35 +00:00
Ronnie Sahlberg a7faef785f new attempt to resolve recent breakage
svn path=/trunk/; revision=21710
2007-05-07 07:33:26 +00:00