Commit Graph

22354 Commits

Author SHA1 Message Date
Gerald Combs 67782546bb Add an item about the coloring rules crash fix.
svn path=/trunk/; revision=22967
2007-09-25 21:35:20 +00:00
Sake Blok 7edd24e5af This patch adds two new fields to the tcp-dissector:
tcp.time_relative ==> the time that has elapsed since the 
   first packet that was seen in the current TCP stream

tcp.time_delta ==> the time that has elapsed since the 
   last packet that was seen in the current TCP stream

Calculating these timestamps is turned off by default to not 
use the extra memory that is needed for the per-packet-data.
It can be turned on through the TCP protocol preferences


svn path=/trunk/; revision=22966
2007-09-25 20:37:13 +00:00
Bill Meier 90160079c0 Fix whitespace of newly added lines to match rest of file
svn path=/trunk/; revision=22965
2007-09-25 20:34:06 +00:00
Bill Meier 151a51d956 Add error checking for fwrites; replacement for one of patches provided in bug #1864
svn path=/trunk/; revision=22964
2007-09-25 19:59:50 +00:00
Ulf Lamping 4d4c9a4d34 fix a typo in the source files target, took me more than an hour to find it :-(((
svn path=/trunk/; revision=22963
2007-09-25 19:52:51 +00:00
Gerald Combs e07ae47a02 Add the file encapsulation.
svn path=/trunk/; revision=22962
2007-09-25 19:52:19 +00:00
Jaap Keuter 9b5e0c99a3 From Gerrit Renker:
This is an update for the DCCP dissector and has previously been sent to
the DCCP dissector maintainer, Francesco Fondelli, who supplied
the Acked-by. I have been using it with profit for several weeks.

This patch provides the following extensions:
 * type-dependent decoding of feature-negotiation options (NN and SP types of
options, NN is a 1..6 byte value in network-byte-order, SP is always a list of
unsigned char)
 * decoding for CCID3 Send Loss Event Rate feature
 * some pretty-printing of options
 * decoding of CCID3-specific options
       - Loss Event Rate (receiver report)
       - Receive Rate (also reported by receiver)
 * there was a change in the spec - the NDP count at sometime `grew' from 3 to
6 bytes (it was the same in the kernel). I have updated the data type from uint32 to
uint64
 * utility function to decode from network-byte-order into host byte order with
variable length

svn path=/trunk/; revision=22961
2007-09-25 19:42:46 +00:00
Stig Bjørlykke 19e901df9a Highlight whole ethernet trailer in Packet Details View.
svn path=/trunk/; revision=22960
2007-09-25 19:30:26 +00:00
Ulf Lamping 4c3c4ab5ac also do a distclean when doing a clean for the all target
svn path=/trunk/; revision=22959
2007-09-25 19:22:31 +00:00
Jörg Mayer 548b224e28 Change some additional protocols to the new build system
svn path=/trunk/; revision=22958
2007-09-25 18:02:49 +00:00
Jörg Mayer 9ad70d3450 Convert acp133 to new build structure.
Update some svn:ignore files, remove no longer needed Makefiles

svn path=/trunk/; revision=22957
2007-09-25 17:09:01 +00:00
Anders Broman 6d1791db07 Fix:
packet-ldap-template.c(1330) : error C2220: warning treated as error - no object  file generated
packet-ldap-template.c(1330) : warning C4101: 'gss_len' : unreferenced local var iable NMAKE : fatal error U1077: 'cl' :

svn path=/trunk/; revision=22956
2007-09-25 16:51:49 +00:00
Anders Broman 6b4a7ba74d Use GTK+ 2.12
svn path=/trunk/; revision=22955
2007-09-25 16:09:58 +00:00
Jörg Mayer 81108a948b Small change about extreme EAPSv2 address and update manuf
svn path=/trunk/; revision=22954
2007-09-25 14:09:08 +00:00
Jörg Mayer caaaf914d3 I forgot to commit the necessary change to configure.in,
so the distcheck failed. Fix that.


svn path=/trunk/; revision=22953
2007-09-25 14:07:53 +00:00
Tomas Kukosa de7f9fde6c remove trailing backslash on the last line of list
svn path=/trunk/; revision=22952
2007-09-25 12:17:48 +00:00
Tomas Kukosa 30de0aadf2 put few simple ASN.1 dissectors into the new makefile structure
svn path=/trunk/; revision=22951
2007-09-25 11:58:35 +00:00
Jörg Mayer 3b3f182b99 - Rework the Makefile structure to generate external -cnf files
a protocol depends on.
- Make sure we need to add asn files to only 1 Makefile instead
   of 3 (Makefile, Makefile.nmake, ../Makefile.am)
- Change the Makefiles of the camel protocol to use the new structure.

svn path=/trunk/; revision=22950
2007-09-25 10:30:55 +00:00
Ronnie Sahlberg 84b28f1399 only set ldap_info->first_auth_frame to 0 first time we see the
authentication packet or else we will get inconsistent dissection when 
clicking on packets.
(inconsistent as in :  a certain packet might/might not be dissected as 
LDAP/SASL depending on which packets we clicked on previously)
  

svn path=/trunk/; revision=22949
2007-09-25 08:05:17 +00:00
Ronnie Sahlberg dea0c3c9de not all SASL protected blobs use a GSS wrapper for the payload so we
cant check that the payload starts with BER tag 0x60 and an oid.
instead  check that the length byte (first 4 bytes) look sane and if 
SASL authentication has been negotiated on the connection

also, sometimes clients will mix both non-SASL and SASL protected LDAP 
traffic on the same tcp connection   by initially performing simple 
unauthenticated searches on the database before performing the Bind.



svn path=/trunk/; revision=22948
2007-09-25 07:47:00 +00:00
Sake Blok dc3fcc1c5b Allow the output of NetScreen VSI interfaces to be parsed.
svn path=/trunk/; revision=22947
2007-09-25 05:42:22 +00:00
Gerald Combs f7c4b26cb4 In newer versions of GTK+ 2.x, if you have the mouse positioned above a
button that goes from insensitive to sensitive, the button won't respond
to mouse clicks.

This caused the Coloring Rules dialog behavior reported in bug 699.  Work 
around it by not making the up/down buttons insensitive while we're moving
a rule.

Fixup whitespace.

svn path=/trunk/; revision=22946
2007-09-25 05:12:44 +00:00
Ronnie Sahlberg 3acb5a0975 add support for yet another random combination of authentication
wrappers that can be used when connecting with sasl


svn path=/trunk/; revision=22945
2007-09-25 04:15:30 +00:00
Ronnie Sahlberg d7c58bc829 add more control names
svn path=/trunk/; revision=22944
2007-09-25 03:38:28 +00:00
Anders Broman 797cf529eb Fix warnings.
svn path=/trunk/; revision=22943
2007-09-24 21:51:41 +00:00
Bill Meier 29c4953c11 Fix bug #1457: Undersized array causing "smashed stack".
svn path=/trunk/; revision=22942
2007-09-24 21:34:58 +00:00
Anders Broman cbd2d1494c More IE:s
svn path=/trunk/; revision=22941
2007-09-24 21:26:31 +00:00
Stig Bjørlykke 19aa309fea From Don Newton:
added null termination to uftp and cleaned comments in packet-unistim.c

svn path=/trunk/; revision=22940
2007-09-24 19:56:17 +00:00
Jörg Mayer af5de71e06 Update from samba tree revision 25198 to 25306
============================ Samba log start ============
------------------------------------------------------------------------
r25301 | jelmer | 2007-09-23 23:35:03 +0200 (Sun, 23 Sep 2007) | 1 line
   A /branches/SAMBA_4_0/source/libcli/raw/clierror.c (from /branches/SAMBA_4_0/source/libcli/util/clierror.c:25300)
   D /branches/SAMBA_4_0/source/libcli/util/clierror.c
   D /branches/SAMBA_4_0/source/libcli/util/nt_status.h
   D /branches/SAMBA_4_0/source/libcli/util/nterr.h
   A /branches/SAMBA_4_0/source/libcli/util/ntstatus.h (from /branches/SAMBA_4_0/source/libcli/util/nterr.h:25300)
   A /branches/SAMBA_4_0/source/libcli/util/werror.h (from /branches/SAMBA_4_0/source/libcli/util/nt_status.h:25300)

Merge my includes.h cleanups.
------------------------------------------------------------------------
------------------------------------------------------------------------
============================ Samba log end ==============


svn path=/trunk/; revision=22939
2007-09-24 16:05:51 +00:00
Jörg Mayer 0cb93f22ba Add command line switch
-D dir        : Directory for input_file(s) (default: '.')
to allow asn2wrs being used in out of tree builds.

Beautify -h output a bit.

svn path=/trunk/; revision=22938
2007-09-24 13:49:25 +00:00
Tomas Kukosa 25b1014599 remove forgotten @HAVE_NET_SNMP@
svn path=/trunk/; revision=22937
2007-09-24 12:46:02 +00:00
Tomas Kukosa 138050c4ea improvements in ROS handling in Q.932 and H.450
move common ROS code into ros/ros-*.cnf files

svn path=/trunk/; revision=22936
2007-09-24 11:01:53 +00:00
Jörg Mayer b202080068 Update pidl to current samba tree. This changes the license
of the *tool* to GPLv3. The license of the generated code is
is most likely not affected (see mail on wireshark-dev from Jelmer).

Update from samba tree revision 23750 to 25198
============================ Samba log start ============
------------------------------------------------------------------------
r23792 | tridge | 2007-07-10 04:07:03 +0200 (Tue, 10 Jul 2007) | 6 lines

convert Samba4 to GPLv3

There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
------------------------------------------------------------------------
r24407 | metze | 2007-08-14 13:50:45 +0200 (Tue, 14 Aug 2007) | 6 lines

$element->{ARRAY_LEN} doesn't exist...

and a few lines above we use $element->{ORIGINAL}->{ARRAY_LEN}
I assume it was just forgotten in the update.

metze
------------------------------------------------------------------------
r24446 | metze | 2007-08-15 08:08:02 +0200 (Wed, 15 Aug 2007) | 4 lines

We only need one genric GenerateFunctionInEnv
function

metze
------------------------------------------------------------------------
r24447 | metze | 2007-08-15 10:55:16 +0200 (Wed, 15 Aug 2007) | 3 lines

fix samba3-cli pidl tests

metze
------------------------------------------------------------------------
r24452 | metze | 2007-08-15 11:18:25 +0200 (Wed, 15 Aug 2007) | 4 lines

bail out instead of only giving a warning on
incorrect idl files

metze
------------------------------------------------------------------------
r24454 | metze | 2007-08-15 12:23:28 +0200 (Wed, 15 Aug 2007) | 3 lines

when level 0 is a pointer we need to look for an array in level 1...

metze
------------------------------------------------------------------------
r24463 | metze | 2007-08-15 16:02:23 +0200 (Wed, 15 Aug 2007) | 4 lines

we have a function to correctly create an $env object
so don't try it manually and introduce bugs:-)

metze
------------------------------------------------------------------------
r24482 | metze | 2007-08-16 12:07:19 +0200 (Thu, 16 Aug 2007) | 3 lines

white space cleanup only...

metze
------------------------------------------------------------------------
r24484 | metze | 2007-08-16 12:54:11 +0200 (Thu, 16 Aug 2007) | 3 lines

pass down $ndr tree instead of the $pidl tree to Samba4/Header.pm

metze
------------------------------------------------------------------------
r24487 | metze | 2007-08-16 15:27:41 +0200 (Thu, 16 Aug 2007) | 3 lines

fix formating and add defined($opt_header)

metze
------------------------------------------------------------------------
r24488 | metze | 2007-08-16 15:29:38 +0200 (Thu, 16 Aug 2007) | 3 lines

enum's and bitmap's not have nested types

metze
------------------------------------------------------------------------
r24489 | metze | 2007-08-16 15:34:54 +0200 (Thu, 16 Aug 2007) | 4 lines

only typedef enum { ... } foo; enum's should look
for has_properties() of $enum->{PARENT}

metze
------------------------------------------------------------------------
r24490 | metze | 2007-08-16 15:39:30 +0200 (Thu, 16 Aug 2007) | 8 lines

For ParseBitmap() we use Parse::Pidl::Typelist::bitmap_type_fn()
so for ParseEnum() we should also use Parse::Pidl::Typelist::enum_type_fn().

Also the base_type() property isn't standard IDL and we should not support it.

This changes TDR enum to also to default to uint16 (as with NDR enums).

metze
------------------------------------------------------------------------
r24492 | metze | 2007-08-16 15:41:48 +0200 (Thu, 16 Aug 2007) | 4 lines

Parse::Pidl::Samba4::Header::Parse() now takes an $ndr tree
not the $pidl tree anymore.

metze
------------------------------------------------------------------------
r24493 | metze | 2007-08-16 16:42:22 +0200 (Thu, 16 Aug 2007) | 11 lines

- it turns out that
  foreach my $e (@{$union->{ELEMENTS}}) {
  changes $union->{ELEMENTS} from undef into an empty array.
  this removes the difference between
  struct foo { }; and struct foo;
  So we need to explicit return before.
- we should return the same element for layout for
  structs and unions with no elements.
- fix the testsuite to match

metze
------------------------------------------------------------------------
r24505 | metze | 2007-08-17 09:06:02 +0200 (Fri, 17 Aug 2007) | 3 lines

pass down $fn one level

metze
------------------------------------------------------------------------
r24506 | metze | 2007-08-17 09:46:34 +0200 (Fri, 17 Aug 2007) | 3 lines

pass $fn down one more layer

metze
------------------------------------------------------------------------
r24507 | metze | 2007-08-17 10:05:57 +0200 (Fri, 17 Aug 2007) | 3 lines

pass $d down to HeaderTypedef

metze
------------------------------------------------------------------------
r24508 | metze | 2007-08-17 10:47:38 +0200 (Fri, 17 Aug 2007) | 3 lines

add HeaderTypeNew() which will go if everything is converted

metze
------------------------------------------------------------------------
r24509 | metze | 2007-08-17 11:01:19 +0200 (Fri, 17 Aug 2007) | 4 lines

pass down the full ndr elements instead of the old pidl elements
from ->{ORIGINAL}

metze
------------------------------------------------------------------------
r24511 | metze | 2007-08-17 11:12:13 +0200 (Fri, 17 Aug 2007) | 3 lines

pass the correct thing to fatal()

metze
------------------------------------------------------------------------
r24514 | metze | 2007-08-17 13:09:46 +0200 (Fri, 17 Aug 2007) | 3 lines

IS_* elemements sound be perl integers consistantly...

metze
------------------------------------------------------------------------
r24515 | metze | 2007-08-17 13:24:25 +0200 (Fri, 17 Aug 2007) | 3 lines

use fatal() wrapper instead of die() directly

metze
------------------------------------------------------------------------
r24516 | metze | 2007-08-17 14:04:41 +0200 (Fri, 17 Aug 2007) | 3 lines

don't use ->{ORIGINAL}

metze
------------------------------------------------------------------------
r24517 | metze | 2007-08-17 14:55:47 +0200 (Fri, 17 Aug 2007) | 4 lines

move skipping pointer before an array logic into the
pointer loop as we do in other places

metze
------------------------------------------------------------------------
r24518 | metze | 2007-08-17 15:01:51 +0200 (Fri, 17 Aug 2007) | 4 lines

get rid of using ->{ORIGINAL} and move stuff
into subfunctions

metze
------------------------------------------------------------------------
r24520 | metze | 2007-08-17 15:08:00 +0200 (Fri, 17 Aug 2007) | 4 lines

make use of the new ElementStars() and ArrayBrackets()
functions

metze
------------------------------------------------------------------------
r24521 | metze | 2007-08-17 15:42:09 +0200 (Fri, 17 Aug 2007) | 3 lines

we don't yet have optional args to DeclLong()

metze
------------------------------------------------------------------------
r24522 | metze | 2007-08-17 15:45:18 +0200 (Fri, 17 Aug 2007) | 3 lines

make the "skip pointer to an array" logic a bit easier

metze
------------------------------------------------------------------------
r24523 | metze | 2007-08-17 15:47:03 +0200 (Fri, 17 Aug 2007) | 4 lines

we don't support multi-dimentional [out] arrays
for the samba3 server stubs yet, so bail out.

metze
------------------------------------------------------------------------
r24524 | metze | 2007-08-17 15:53:12 +0200 (Fri, 17 Aug 2007) | 3 lines

make use of ElementStars()

metze
------------------------------------------------------------------------
r24535 | metze | 2007-08-18 12:30:40 +0200 (Sat, 18 Aug 2007) | 4 lines

rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h

metze
------------------------------------------------------------------------
r24540 | metze | 2007-08-18 14:25:37 +0200 (Sat, 18 Aug 2007) | 4 lines

rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
into ndr_interface_string_array and move it to libndr.h

metze
------------------------------------------------------------------------
r24551 | metze | 2007-08-19 22:46:45 +0200 (Sun, 19 Aug 2007) | 6 lines

rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze
------------------------------------------------------------------------
r24557 | metze | 2007-08-19 23:23:03 +0200 (Sun, 19 Aug 2007) | 3 lines

rename 'dcerpc_table_' -> 'ndr_table_'

metze
------------------------------------------------------------------------
r24560 | metze | 2007-08-20 00:09:21 +0200 (Mon, 20 Aug 2007) | 3 lines

rename some DCERPC_ prefixes into NDR_

metze
------------------------------------------------------------------------
r24563 | metze | 2007-08-20 00:23:17 +0200 (Mon, 20 Aug 2007) | 3 lines

remove unused DCERPC specific stuff from the generated NDR code

metze
------------------------------------------------------------------------
r24592 | metze | 2007-08-21 14:19:56 +0200 (Tue, 21 Aug 2007) | 4 lines

pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze
------------------------------------------------------------------------
r24596 | metze | 2007-08-21 16:06:33 +0200 (Tue, 21 Aug 2007) | 7 lines

- talloc request structure for the samba3 server bindings
  and make that the primary context for the request
  which the implementations can also use.
- go via functions pointers in the ndr_interface_table
  instead of calling functions directly.

metze
------------------------------------------------------------------------
r24717 | jelmer | 2007-08-27 20:43:18 +0200 (Mon, 27 Aug 2007) | 2 lines
   D /branches/SAMBA_4_0/BRANCH.TODO

Some more easy bool conversions, update TODO for registry

------------------------------------------------------------------------
r24721 | jelmer | 2007-08-27 21:47:23 +0200 (Mon, 27 Aug 2007) | 1 line

Avoid True and False because they are only available within Samba.
------------------------------------------------------------------------
r24812 | jelmer | 2007-08-31 00:25:59 +0200 (Fri, 31 Aug 2007) | 1 line

Fix headers for external users.
------------------------------------------------------------------------
r24815 | jelmer | 2007-08-31 02:03:54 +0200 (Fri, 31 Aug 2007) | 1 line

Support cpp_quote().
------------------------------------------------------------------------
r24816 | jelmer | 2007-08-31 02:31:32 +0200 (Fri, 31 Aug 2007) | 4 lines
   D /branches/SAMBA_4_0/source/include/core.h

Move the rest of the contents of core.h to more appropriate places. 
include/ now only contains build system related headers, all other headers are 
now near the source code they're related to.

------------------------------------------------------------------------
r24983 | metze | 2007-09-06 15:48:01 +0200 (Thu, 06 Sep 2007) | 4 lines

setup the correct talloc name for structures used in the generated
server stubs

metze
------------------------------------------------------------------------
r25114 | metze | 2007-09-12 14:31:19 +0200 (Wed, 12 Sep 2007) | 7 lines

handle structs and unions without typedefs better
in can_contain_deffered()

jelmer: we need to handle this more genericly, I assume
        we have a lot of other related bugs

metze
------------------------------------------------------------------------
r25166 | jelmer | 2007-09-14 20:06:51 +0200 (Fri, 14 Sep 2007) | 1 line

Simplify can_contain_deferred and add tests for it.
------------------------------------------------------------------------
r25168 | jelmer | 2007-09-14 20:26:23 +0200 (Fri, 14 Sep 2007) | 1 line

Fix include for gen_ndr/misc.h. Patch by Julien Kerihuel.
------------------------------------------------------------------------
r25185 | jelmer | 2007-09-16 01:03:34 +0200 (Sun, 16 Sep 2007) | 1 line

Check that can_contain_deferred returns true if one of the members of a type can contain deferred data.
------------------------------------------------------------------------
============================ Samba log end ==============

svn path=/trunk/; revision=22935
2007-09-24 07:00:59 +00:00
Jörg Mayer 094e2a9a5f Get rid of the remains of NET-SNMP in the build process.
svn path=/trunk/; revision=22934
2007-09-24 06:59:40 +00:00
Jörg Mayer f3c4a9def0 Add ascend-grammar.h explicitely to the generation rules, otherwise
make distclean on a really clean source tree will fail.


svn path=/trunk/; revision=22933
2007-09-24 06:58:23 +00:00
Jörg Mayer 03629ee45d ome files were left even after "make maintainer-clean". Found
with "svn status --no-ignore".


svn path=/trunk/; revision=22932
2007-09-24 06:57:52 +00:00
Jaap Keuter 26e21c2f43 From Jonathan:
Capture files generated on TCP segmentation offload (TSO) hardware have an 
all-zero IP-length field in outbound packets.
Wireshark errors out on the small length and refuses to parse the packet further.

svn path=/trunk/; revision=22931
2007-09-24 06:46:59 +00:00
Jaap Keuter b7d63247ad Get rid of the last warning.
svn path=/trunk/; revision=22930
2007-09-24 06:42:59 +00:00
Jaap Keuter f2c1b7e8f0 From Chad Singer:
I fixed a bug in packet_unistim.c which was causing a 'malformed packet' to
appear when an open stream command is read with no endpoint ip (as is sometimes
done) I added a simple msg_len check to avoid this. 
I also added UFTP to the unistim dissector and adjusted the unistim call-detection 
in voip-info.c to start on an open stream as well as keypresses..

svn path=/trunk/; revision=22929
2007-09-24 06:19:56 +00:00
Bill Meier 149ff53c71 #if 0 dissect_rsl_ie_meas_res_no and dissect_rsl_ie_message_id so buildbot doesn't error out.
svn path=/trunk/; revision=22928
2007-09-24 00:42:34 +00:00
Anders Broman 6146d70f0e Fix a typo.
svn path=/trunk/; revision=22927
2007-09-23 22:30:08 +00:00
Guy Harris 2bf1b3d58e Close yer comments.
svn path=/trunk/; revision=22926
2007-09-23 22:10:59 +00:00
Anders Broman 283b16163c Decode more IE's
svn path=/trunk/; revision=22925
2007-09-23 20:57:00 +00:00
Jaap Keuter 0693598d86 From Allan M. Madsen:
Wireshark is only supporting a very old and deprecated version of the Bluetooth
specification (1.1). The Bluetooth SIG recently ratified version 2.1 of the
Bluetooth specification and a lot of enhancements have been added to the
specification. The HCI dissectors needs a major update to match these changes.

svn path=/trunk/; revision=22924
2007-09-23 19:40:54 +00:00
Gerald Combs b2d3e554db Simplify the parsing of column preferences, which should make it easier
to add column prefs in the future.  Fix up whitespace in a couple of
places.

svn path=/trunk/; revision=22923
2007-09-22 00:16:45 +00:00
Gerald Combs 6805bdaed6 Spell out each of the units in the status bar. A few people have remarked
that this would be helpful for new users.

svn path=/trunk/; revision=22922
2007-09-21 23:04:56 +00:00
Gerald Combs 571ab2dec2 Fix compiler warnings.
svn path=/trunk/; revision=22921
2007-09-21 22:39:02 +00:00
Anders Broman a914bf5b8f Start of a Radio Signalling Link (RSL) dissector (3GPP TS 48.058).
And the makefile :)

svn path=/trunk/; revision=22920
2007-09-21 19:54:20 +00:00
Anders Broman b3a1afa6ac Start of a Radio Signalling Link (RSL) dissector (3GPP TS 48.058).
svn path=/trunk/; revision=22919
2007-09-21 19:53:42 +00:00
Jaap Keuter 2b33ee2fd1 Get the GSM A Interface dissector to compile again.
svn path=/trunk/; revision=22918
2007-09-21 18:56:49 +00:00