Commit graph

20504 commits

Author SHA1 Message Date
Anders Broman
fd3a3c5d52 More dissecting of H.263 according to RFC 4629.
svn path=/trunk/; revision=20983
2007-03-06 20:58:14 +00:00
Martin Mathieson
262de6677a Append ms calculation to DLSR field.
Show number of bytes derived from length field.

svn path=/trunk/; revision=20982
2007-03-06 13:37:39 +00:00
Luis Ontanon
c0a373d26b + get the Acks in the block where they belong.
+ change the ack tree root to be the TSN being acked and have the chunk frame and rtt under it.

still to do: TSN wrap

svn path=/trunk/; revision=20981
2007-03-06 00:48:46 +00:00
Stephen Fisher
2865e52843 Export Object code/documentation updates:
- Note in the user's guide that export object is not available 
   in GTK1 builds of Wireshark.
 - Make scanning through the slists more efficient
 - Use new tap.c function called have_tap_listener() to only save
   object payload data when the export object listener is actively
   listening for it.
 - Save objects in the HTTP dissector with g_malloc() instead of
   se_malloc() and free it when we're done with it - when the
   export object window is closed (Fixes bug #1412)
 - Various minor improvements


svn path=/trunk/; revision=20980
2007-03-06 00:36:25 +00:00
Stephen Fisher
8d8452b419 Introduce a new function called have_tap_listener(int tap_id) to
tell if a specific tap id is currently listening for data.
This complements the function have_tap_listeners(), which checks
to see if any tap is currently listening.


svn path=/trunk/; revision=20979
2007-03-06 00:35:35 +00:00
Luis Ontanon
61c8b55913 prepare for in-tree call tracing of bssap and ranap.
svn path=/trunk/; revision=20978
2007-03-05 23:50:08 +00:00
Anders Broman
fc16dece75 From Mikael Magnusson:
This patch adds support for key-mgmt session attributes in SDP (defined in RFC 4567). The patch also contains a Multimedia Internet KEYing (MIKEY is defined in RFC 3830) dissector plugin for "mikey" key-mgmt data.

svn path=/trunk/; revision=20977
2007-03-05 23:11:11 +00:00
Luis Ontanon
1b65a2e986 + Quick and dirty fix in association matching code to avoid a vtag==0 (init) to "curse" an entire association. Yes, it has to be reworked... but I need it for debugging purposes.
+ Add the fields sctp.sack_gap_block_start_tsn and sctp.sack_gap_block_end_tsn so that one can filter over a tsn ack acked by a gap block.


svn path=/trunk/; revision=20976
2007-03-05 22:47:40 +00:00
Anders Broman
9e973c4e1d Add Dave Butt to the AUTHORS file.
svn path=/trunk/; revision=20975
2007-03-05 22:04:51 +00:00
Jaap Keuter
88a508d407 From Richard van der Hoff:
I've had a good look at the code in packet-tcp.c, and whilst it's
somewhat impenetrable, I've come to the conclusion that it just doesn't
support multiple pdus as described.

That's not entirely unreasonable in itself; my objection is solely to
the fact that README.developer is completely misleading. In fact, even
the example dissect_cstr won't work on the tcp dissector, because if you
set desegment_len=1 the tcp dissector believes that you know what you
are doing and doesn't let you change your mind later.

Furthermore, 2.7.2 says that you can set desegment_len=-1; that doesn't
work either, because the tcp dissector expects
DESEGMENT_ONE_MORE_SEGMENT, which is 0x0fffffff, which is nowhere near -1.

In short, I think the relevant section of README.developer needs a
rewrite. I attach a patch - comments welcome.

svn path=/trunk/; revision=20974
2007-03-05 20:25:54 +00:00
Jörg Mayer
1cbc97b03d Some updates to the tunnel protocol decoding.
Make tapa.discover.x and tapa.tunnel.y more consistent.

svn path=/trunk/; revision=20973
2007-03-04 21:26:47 +00:00
Luis Ontanon
2688c9b3f3 do not return before ENDTRY when handling an exception, this would leave the fat stack without the top and cause the dereferencing of a null pointer later on when popping in the next ENDTRY.
Oddly enough this shows up only on windows. Maybe there's something good in my Mac's temporary disability!

svn path=/trunk/; revision=20972
2007-03-04 16:00:05 +00:00
Jörg Mayer
379a3e53ec The beginnings of a TAPA dissector (Trapeze Access Point Access Protocol).
Admittedly not much, so if you have any ideas what the rest means or where
I'm wrong please provide feedback.

As tapa uses udp 5000 and ip protocol 4, I needed to add a hack for the
ip part to properly dispatch betweeen ipip and tapa-tunnel (actually I
was unable to turn the ipip dissector into a heuristic dissector :-)

svn path=/trunk/; revision=20971
2007-03-04 11:48:07 +00:00
Luis Ontanon
4b4d4fed2a protect callbacks of derived windows from dereferencing a null pointer if the main table has being closed in the meanwhile.
svn path=/trunk/; revision=20970
2007-03-04 02:27:11 +00:00
Luis Ontanon
3b8dd4e462 add sections for the various user tables.
svn path=/trunk/; revision=20969
2007-03-04 01:55:02 +00:00
Ronnie Sahlberg
22ba8c3ad5 add dissection of the WINREG specific bits in the accessmask for WINREG objects
svn path=/trunk/; revision=20968
2007-03-04 01:15:44 +00:00
Luis Ontanon
628d990885 Add an optional generated id to each association and have a tree with links to all messages of the association bellow it.
svn path=/trunk/; revision=20967
2007-03-03 23:38:35 +00:00
Luis Ontanon
b874efb47d - have the signal name to be in the right subtree
svn path=/trunk/; revision=20966
2007-03-03 23:33:56 +00:00
Luis Ontanon
76518e6d1b + improve dissection of PkdName
+ complete H.248.1 E.1 Generic Package

svn path=/trunk/; revision=20965
2007-03-03 16:36:19 +00:00
Graeme Lunt
ebf5874d29 Ensure that the correct U3 environment variables are set when the U3 Wireshark is started from a file association (e.g. opening a pcap file).
Also tweak the space requirements and restore the VERSION_EXTRA information to the description, both within the manifest.u3i.


svn path=/trunk/; revision=20964
2007-03-03 15:05:03 +00:00
Ulf Lamping
00335ac48e fix read handling of index 0x8051 and 0xe00c
svn path=/trunk/; revision=20963
2007-03-03 09:33:02 +00:00
Ulf Lamping
499624d0ee use the official PROFINET names (only comments changed)
svn path=/trunk/; revision=20962
2007-03-03 09:30:15 +00:00
Stephen Fisher
2c5ccc66ef Update object export code:
- Add to User's Guide
 - Add a help button
 - Move a lot of code into the shared export_object.c file and out of
   dissector specific file export_object_http.c.  This will make adding
   additional protocols much easier.
 - Change comment in packet-http.c to reflect new name (Export Object)
 - Various other minor improvements 


svn path=/trunk/; revision=20961
2007-03-03 03:14:00 +00:00
Gerald Combs
7f88f16077 Bugs 1095 and 1096 in the Ethereal bug database both pointed out that we
were looking at the wrong bits when displaying the port and protocol VLAN
flags.

svn path=/trunk/; revision=20960
2007-03-02 23:44:54 +00:00
Stephen Fisher
f8d82fab38 Activate the File -> Export menu when a capture is in
progress in addition to when a capture file is open.


svn path=/trunk/; revision=20959
2007-03-02 21:47:34 +00:00
Stephen Fisher
a68006f995 Add a description for errno EINVAL (Invalid Argument) to
file_open_error_message().  In this context, the error means
that an invalid filename was specified.


svn path=/trunk/; revision=20958
2007-03-02 21:17:44 +00:00
Graeme Lunt
2449bf2db5 If the VERSION_EXTRA is set in config.nmake, this can lead to an invalid U3 package version in the manifest file.
So we now create the U3 package version from the base components.


svn path=/trunk/; revision=20957
2007-03-02 17:28:43 +00:00
Stephen Fisher
d3b6887d80 Fix bug #1409:
There is an error in the page:
http://wireshark.org/docs/wsug_html_chunked/ChCapCaptureFilterSection.html

According to Example 4.2, the filter 'tcp port 23 and not host 10.0.0.5'
captures all telnet traffic not from 10.0.0.5. But this filter also discards
traffic to 10.0.0.5. Either you use this filter to capture all telnet traffic
not to and not from 10.0.0.5 or you use filter 'tcp port 23 and not src host
10.0.0.5'.


svn path=/trunk/; revision=20955
2007-03-01 21:08:01 +00:00
Ulf Lamping
ae89a24c37 add export_object.h so distcheck don't fail
svn path=/trunk/; revision=20954
2007-03-01 09:36:01 +00:00
Stephen Fisher
bdf7c9bfb1 Wrap long lines in simple dialogs so that the dialog and its message
won't ever extend off the screen.


svn path=/trunk/; revision=20953
2007-03-01 02:18:18 +00:00
Luis Ontanon
aa654a1f8a Those two spaces before sdp were bctp (Q.1990), a protocol conveniently encoded to be two spaces in case of IPBCP (SDP+extras).
There's probably something similar in packet-isup.c

svn path=/trunk/; revision=20952
2007-03-01 00:24:57 +00:00
Stephen Fisher
d3b873b60d Sync up my changes so far to the content list (now called object
list) feature for http traffic.  It's now available under File->
Export->Objects->HTTP.  More changes to come..


svn path=/trunk/; revision=20951
2007-02-28 23:20:40 +00:00
Stephen Fisher
793e70956e Fix problem where specifying -b duration:xx on tshark wasn't working by
testing for the "duration specified" variable along with the "maximum
file size" variable.
 

svn path=/trunk/; revision=20950
2007-02-28 22:45:18 +00:00
Anders Broman
6265ac771c Start dissecting H.263 according to RFC 4629.
svn path=/trunk/; revision=20949
2007-02-28 21:46:06 +00:00
Anders Broman
12fd61a5de Add a missing OPTIONAL.
svn path=/trunk/; revision=20948
2007-02-28 21:10:25 +00:00
Luis Ontanon
e8c5d47e26 SCTP TSN analysis part 1.
Up and running.
As it is analysis will stop at TSN rollover (0xffffffff->0x00000000).

And It will start to misbehave when a TSN is seen again in the same half association (that's a case where an out-of-memory error will probably had happened before).

It still needs testing.

svn path=/trunk/; revision=20947
2007-02-28 14:09:25 +00:00
Stephen Fisher
b740e4528d Fix for bug #1408:
Add proto_tree_add_bitmask to epan/libwireshark.def


svn path=/trunk/; revision=20946
2007-02-28 00:08:23 +00:00
Jörg Mayer
a933299791 Update from samba tree revision 21535 to 21565
============================ Samba log start ============
------------------------------------------------------------------------
r21545 | jelmer | 2007-02-26 18:43:01 +0100 (Mon, 26 Feb 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl

Fix pidl test.
------------------------------------------------------------------------
r21555 | jelmer | 2007-02-27 13:46:19 +0100 (Tue, 27 Feb 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/Conformance.pm
   M /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl

Some tests for TYPE in wireshark conformance files.
------------------------------------------------------------------------
r21559 | jelmer | 2007-02-27 14:41:56 +0100 (Tue, 27 Feb 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl

More tests.
------------------------------------------------------------------------
------------------------------------------------------------------------
============================ Samba log end ==============

svn path=/trunk/; revision=20945
2007-02-27 20:32:15 +00:00
Luis Ontanon
bef1c99feb fix Bug 1407
as per bug 1406 actual values aren't raw bytes, they are BER encoded octet strings.


svn path=/trunk/; revision=20944
2007-02-27 10:47:58 +00:00
Luis Ontanon
b1d91e4d2b fix Bug 1406:
it looks like 1 byte parameters are ber encoded integers, not raw data.

svn path=/trunk/; revision=20943
2007-02-27 10:27:05 +00:00
Jeff Morriss
01a71d7277 Some minor readability enhancements to the (still disabled) sequence analysis: use PROTO_ITEM_SET_GENERATED() on all the new fields and change hf_sctp_dup_ack's description to indicate that it's showing you the frame number of the previous ack.
svn path=/trunk/; revision=20942
2007-02-27 10:02:28 +00:00
Ronnie Sahlberg
bf87640840 add PIDL friendly helper to manage unicode strings
svn path=/trunk/; revision=20941
2007-02-27 09:37:48 +00:00
Anders Broman
6df7878bd5 Add some AVP:s
svn path=/trunk/; revision=20940
2007-02-27 07:02:29 +00:00
Anders Broman
7725763b35 Add $Id:$
svn path=/trunk/; revision=20939
2007-02-27 07:00:11 +00:00
Anders Broman
f73b16ffc0 From Douglas Pratley:
This patch gives brief instructions on how to build the RPM package target for Wireshark.

svn path=/trunk/; revision=20938
2007-02-27 06:58:30 +00:00
Anders Broman
bcdcace17b From Daniel Krüger:
I attached a patch to this dissector, which includes some corrections, updates and SDO by UDP support. I will upload a sample capture of SDO by UDP to the wiki. The patch is fuzzy tested against the current SVN rev under Linux and it builds also under MSVC2005.

svn path=/trunk/; revision=20937
2007-02-27 06:54:41 +00:00
Anders Broman
ccf3253f35 From Floren Drouin:
This patch add a test on the GTK version to avoid a warning with the "gtk-label-select-on-focus" configuration parameter, introduced in GTK-2.9.0.

svn path=/trunk/; revision=20936
2007-02-27 06:38:49 +00:00
Anders Broman
c637027427 From Richard van der Hoff:
- Registers H.223 as a dissector for RTP CLEARMODE payloads -
and makes some other modifications to the H.223 dissector to make this
work correctly.

-Allows a standalone binary, epan/reassemble_test, to be built; this can be run from the commandline and should end up printing out "success" 
if all goes well.

svn path=/trunk/; revision=20935
2007-02-27 06:25:07 +00:00
Jaap Keuter
cf13f56dc8 -Add the compiler version to the plugin resource
-Remove the SPECIAL_BUILD tag
-Set to OS type to NT_WINDOWS32

svn path=/trunk/; revision=20934
2007-02-26 20:39:38 +00:00
Jörg Mayer
c7fd37e49c Update from samba tree revision 21471 to 21535
============================ Samba log start ============
------------------------------------------------------------------------
r21484 | jelmer | 2007-02-21 11:31:14 +0100 (Wed, 21 Feb 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl

Fix Needed* for nested datastructures.
------------------------------------------------------------------------
r21486 | jelmer | 2007-02-21 11:55:03 +0100 (Wed, 21 Feb 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm

Remove spurious semicolons.
------------------------------------------------------------------------
r21487 | jelmer | 2007-02-21 12:32:48 +0100 (Wed, 21 Feb 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/librpc/idl/echo.idl
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm

Fix warning when using anonymous types, initial work on nested type support in ejs.
------------------------------------------------------------------------
r21490 | jelmer | 2007-02-21 13:35:21 +0100 (Wed, 21 Feb 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm
   A /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl

Add some tests for the EJS code
More work on supporting nested types in EJS.

------------------------------------------------------------------------
r21492 | jelmer | 2007-02-21 15:35:25 +0100 (Wed, 21 Feb 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/TODO
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm

Finish work on nested type support in EJS.

------------------------------------------------------------------------
r21493 | jelmer | 2007-02-21 21:59:01 +0100 (Wed, 21 Feb 2007) | 15 lines
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm

Patch from Ronnie Sahlberg. From his email:

This patch changes the function name and signature that pidl generate
a call for when dissecting a policy handle to a new, more
PIDL-friendly function.

It also stores the procedure name in a new pinfo-> field so that
helpers that want to know the procedure name can finbd out easily.

The new PIDL helper function for policy handles use this new field and will show
   OpenHKU(<...>)
       opened in frame X
	   closed in frame Y
for the policy handle.

------------------------------------------------------------------------
r21531 | jelmer | 2007-02-25 10:35:32 +0100 (Sun, 25 Feb 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm

Use pidl-specific utility functions. Patch from Ronnie Sahlberg
------------------------------------------------------------------------
r21532 | jelmer | 2007-02-25 10:55:57 +0100 (Sun, 25 Feb 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/TODO
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl

Add tests for StripPrefixes utility function.
------------------------------------------------------------------------
r21534 | jelmer | 2007-02-26 02:03:19 +0100 (Mon, 26 Feb 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl

Add some more tests for wireshark.
------------------------------------------------------------------------
------------------------------------------------------------------------
============================ Samba log end ==============

svn path=/trunk/; revision=20933
2007-02-26 08:57:03 +00:00