Commit Graph

4833 Commits

Author SHA1 Message Date
Martin Mathieson 7025597eae Try to squash a warning seen on win32 buildbot.
svn path=/trunk/; revision=21092
2007-03-21 17:14:33 +00:00
Jaap Keuter 1f5f997b3c Add ether type for Link Layer Topology Discovery (LLTD)
svn path=/trunk/; revision=21091
2007-03-21 16:14:23 +00:00
Martin Mathieson e418d916ad Squash a couple of warnings.
svn path=/trunk/; revision=21090
2007-03-21 14:00:23 +00:00
Ronnie Sahlberg 8920a7e7f2 change the signature that asn2wrs generates for functions to marm all parameters as _U_
to reduce the number of compiler warnings.

update some template and cnf files to use _U_ as well 


svn path=/trunk/; revision=21088
2007-03-21 10:22:22 +00:00
Ronnie Sahlberg 09efa21b94 remove some compiler warnings
svn path=/trunk/; revision=21087
2007-03-21 08:32:15 +00:00
Ronnie Sahlberg f07bddb94d remove some compiler warnings
svn path=/trunk/; revision=21086
2007-03-21 08:11:37 +00:00
Jörg Mayer 636e20e431 Fixes for: warning: comma at end of enumerator list
svn path=/trunk/; revision=21084
2007-03-21 04:59:53 +00:00
Jörg Mayer 3cb0b3bfc7 Small spelling fixes
svn path=/trunk/; revision=21083
2007-03-21 04:58:38 +00:00
Jörg Mayer d987ac4127 Fixes for: warning: function declaration isn't a prototype
svn path=/trunk/; revision=21082
2007-03-21 04:54:20 +00:00
Jeff Morriss 62c61a071c Add tracking of retransmitted TSNs. That is, for a TSN that we found was
retransmitted, add items to its tree describing those retransmissions (frame
where the retransmission is and RTO).  Limit this to 100 retransmissions to
avoid running out of memory in pathological cases.

This adds the filters "sctp.retransmitted" (TSNs that were retransmitted)
and "sctp.retransmitted_count" (count of number of times the TSN was
retransmitted).

The RTO is intentionally not added to the retransmitted TSN tree as it is
already added to the retransmission(s).  The RTO is displayed, however.

svn path=/trunk/; revision=21081
2007-03-21 04:48:32 +00:00
Luis Ontanon 5fa8e75149 packet_info.c and packet.c
add sccp_info to struct _packet_info (Sorry but the way private_data works and the fact that TCAP uses it and BSSAP/RANAP can be tunnelled on GSMMAP over TCAP makes it impossible to avoid)

SCCP
- Have SCCP to have a TAP,
- Fix associations so that every message belongs to the association.
- Export message type values so that they can be used by a tap listener

RANAP
 - Have RANAP information attached to the sccp_info 

BSSAP + GSM_A
- Have DTAP, BSSMAP and BSSAP info attached to the sccp_info

svn path=/trunk/; revision=21076
2007-03-21 00:48:46 +00:00
Martin Mathieson 09f3f70a7a Try to squash a warning seen by win32 buildbot
svn path=/trunk/; revision=21074
2007-03-20 17:20:36 +00:00
Ronnie Sahlberg 5fb41ba524 remove some unused variables
svn path=/trunk/; revision=21073
2007-03-20 15:07:28 +00:00
Ronnie Sahlberg d3192b2095 remove some compiler warnings about unused variables
svn path=/trunk/; revision=21072
2007-03-20 15:05:04 +00:00
Ronnie Sahlberg 97ee85b682 remove some compiler warnings
svn path=/trunk/; revision=21071
2007-03-20 14:58:55 +00:00
Ronnie Sahlberg 9cd50d5064 remove some compiler warnings about unused parameters
svn path=/trunk/; revision=21070
2007-03-20 14:50:15 +00:00
Ronnie Sahlberg f40aef922b remove some compiler warnings for unused parameters
svn path=/trunk/; revision=21069
2007-03-20 14:42:49 +00:00
Ronnie Sahlberg d8087438e9 ifdef out a function that is not yet used to get rid of a compiler warning
packet-bacapp.c:4269: warning: `fDeviceObjectPropertyReference' defined but not
used


svn path=/trunk/; revision=21068
2007-03-20 14:27:13 +00:00
Gerald Combs 54df000b3a Extend the bad checksum description to include '(maybe caused by "UDP
checksum offload"?)', similar to the TCP dissector.

Minor whitespace fixups.

svn path=/trunk/; revision=21067
2007-03-19 20:13:01 +00:00
Jeff Morriss 93af79c80d - Set hf_sctp_acked and hf_sctp_rtt as generated.
- Change "sctp.retransmitted" to "sctp.retransmission" since that field
  is set on messages that are retransmissions, not messages that were
  retransmitted.
- Change some formatting to make it more consistent.

svn path=/trunk/; revision=21065
2007-03-19 10:34:26 +00:00
Guy Harris 70e3ec388f Get rid of unused variable.
svn path=/trunk/; revision=21064
2007-03-19 02:36:30 +00:00
Luis Ontanon d3120ba507 bzero the tap data.
svn path=/trunk/; revision=21062
2007-03-19 00:32:33 +00:00
Guy Harris 7c7ccebace From Charles Lepple: in a Get Descriptor message, the descriptor index
comes before the descriptor type.

svn path=/trunk/; revision=21061
2007-03-19 00:03:17 +00:00
Luis Ontanon c12852a0e1 add an mtp3 tap to m3ua to allow VoIP Calls to see ISUP/BICC calls over M3UA
svn path=/trunk/; revision=21058
2007-03-18 23:14:06 +00:00
Luis Ontanon 151b327368 add a tap to h248
svn path=/trunk/; revision=21055
2007-03-18 21:55:00 +00:00
Luis Ontanon 001350a7fb protect from multiple inclussion
svn path=/trunk/; revision=21053
2007-03-18 18:55:52 +00:00
Bill Meier 04d29de81d Fix Windows Makefiles so clean removes all pdb files (PDB_FILE no longer defined)
svn path=/trunk/; revision=21052
2007-03-18 15:36:22 +00:00
Luis Ontanon 9812caa079 make sure curr_info.sig is not-NULL before derreferencing it.
similar to  Bug 1451

svn path=/trunk/; revision=21051
2007-03-18 14:57:26 +00:00
Luis Ontanon c6244e9671 make sure curr_info.evt is not-NULL before derreferencing it.
fixes Bug 1451

svn path=/trunk/; revision=21049
2007-03-18 13:53:28 +00:00
Luis Ontanon cd9c4643d4 dissect H.248 over TPKT over TCP
svn path=/trunk/; revision=21047
2007-03-17 21:44:22 +00:00
Jeff Morriss c833b61b6b Strengthen TAPA's heuristics some:
- check if the tunnel type is known
	- if it's a discover_request, check that the (first) request type
	  is known

svn path=/trunk/; revision=21041
2007-03-17 08:28:20 +00:00
Martin Mathieson 7114ed8349 Turn an error that I've encountered into an easily findable expert item.
svn path=/trunk/; revision=21036
2007-03-16 14:09:12 +00:00
Graham Bloice 0e59733dac Corrected dissection when reading binary inputs that have per point indexes, found by Steven J. Schaeffer
svn path=/trunk/; revision=21035
2007-03-16 11:39:19 +00:00
Stephen Fisher 4eeb29a8a7 Fix bug #1394: Runtime error crash after clicking on HTTP packet
The capture file the user supplied had a HTTP chunked response
in it with no actual chunks other than the zero length chunk
indicating the end of the chunks.  The fix is to only create
a new_tvb and copy it over the tvb going into the
chunked_encoding_dissector() function if the chunk size is > 0.
 

svn path=/trunk/; revision=21034
2007-03-16 00:47:26 +00:00
Jörg Mayer a00dc2564e strncmp(NULL, ...) isn't such a good idea.
svn path=/trunk/; revision=21033
2007-03-14 22:58:09 +00:00
Guy Harris a0fecf54bd Correctly return the item value through the pointer.
svn path=/trunk/; revision=21030
2007-03-14 18:25:19 +00:00
Guy Harris 78b8245bcc "dissect_tapa_static()" is a new-style dissector; register it as such.
svn path=/trunk/; revision=21029
2007-03-14 18:23:19 +00:00
Graeme Lunt c05709dc70 "When X.264/ISO 11570 default identification is being used, there is no user data field in the
CALL REQUEST packet.  This is for X.225/ISO 8073 COTP."

Added this default handling.


svn path=/trunk/; revision=21026
2007-03-14 17:28:55 +00:00
Jörg Mayer e2c6534c5e Improve the heuristic for the tapa discovery classification.
This should fix bug 1437.

svn path=/trunk/; revision=21025
2007-03-14 15:40:44 +00:00
Stephen Fisher eeea95ccbe HTTP Export Object updates:
- Split the HTTP tap into two taps: one for the HTTP statistics
   and the other for the export object function.  This allows the
   HTTP statistics to work again (they seem to have been
   partially broken since SVN rev 18901).
 - Pass the conversation data (conv_data) between functions now
   instead of using the global variable stat_info (now only used
   for the HTTP stats)
 - Pass only pointers from the HTTP dissector to the Export Object
   tap, where we'll then copy the values and insert into the slist.
 - Make sure we free all memory allocated by this feature when
   we're done with it.
 - Various other minor improvements


svn path=/trunk/; revision=21021
2007-03-13 20:42:04 +00:00
Martin Mathieson e14e7fe455 Make m2pa dissector findable by name.
svn path=/trunk/; revision=21020
2007-03-12 11:21:02 +00:00
Jeff Morriss 62596bffb3 Fix bug 552:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=552

by enforcing that header fields have names of length > 0.  This should fix
the display of those fields and also make them filterable (which was the
subject of the bug).  Abbreviations are (still) optional: if they are empty
then the field is not filterable.

Update README.developer with this information.

Add header field names in several dissectors where they were missing.

In packet-arp.c give "packet-storm-detected" a name (as above) but also set it
as _GENERATED.

Also remove trailing white space from all the files checked in.

svn path=/trunk/; revision=21018
2007-03-11 06:16:00 +00:00
Jeff Morriss 44328ec205 From David Buechi:
- don't show EPL src- and dst-address of SoC frame (same as SoA)
- show SoA requested service only if it's not "NO_SERVICE"
- NMT state in StatusResponse in words, not numbers
- don't show MC and PS flags in SoC (it's now configurable via "Preferences")

Furthermore I extended the value_string struct for the NMT-Command-IDs
(asnd_cid_vals). This change is used to fully decode the NMTRequest frames.

svn path=/trunk/; revision=21017
2007-03-10 15:06:11 +00:00
Jeff Morriss e9ca912aab From Joost Yervante Damad via bug 1383: support for Erlang Port Mapper Daemon
message dissection.

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1383

svn path=/trunk/; revision=21016
2007-03-10 08:36:24 +00:00
Luis Ontanon 0c8d5247b6 Make sure ENDTRY is evaluated.
On windows if ENDTRY is not evaluated after a exception is being thrown wireshark will crash in dissect_packet() while attempting to pop the last frame of the exception stack.

svn path=/trunk/; revision=21015
2007-03-10 02:13:00 +00:00
Luis Ontanon 403fa20bf1 Make sure ENDTRY is evaluated.
On windows if ENDTRY is not evaluated after a exception is being thrown wireshark will crash in dissect_packet() while attempting to pop the last frame of the exception stack.

svn path=/trunk/; revision=21014
2007-03-10 02:11:51 +00:00
Ronnie Sahlberg 10588355f9 move some variable declarations to the start of the block.
many compilers do not support the nonstandard feature to declare variables in the middle of a block.



svn path=/trunk/; revision=21012
2007-03-09 20:02:25 +00:00
Jörg Mayer fb820f0a07 GCC warning fixes
epan/dissectors/
packet-bctp.c:
	no newline at end of file
packet-epl.c:
	C++ style comments are not allowed in ISO C90
packet-sccp.c:
	missing initializer
packet-sccp.h:
	comma at end of enumerator list
packet-sctp.c:
	suggest parentheses around assignment used as truth value
packet-vnc.c:
	control reaches end of non-void function
	pointer targets in passing argument 1 of 'g_strtod' differ in
		signedness
	pointer targets in passing argument 3 of 'vnc_client_to_server'
		differ in signedness
gtk/
main.c:
	C++ style comments are not allowed in ISO C90
u3.h:
	function declaration isn't a prototype

Other (trivial) stuff
packet-sccp.h:
	Add svn properties


svn path=/trunk/; revision=21011
2007-03-09 13:14:09 +00:00
Jörg Mayer f9560b982a Regenerated with current pidl compiler
svn path=/trunk/; revision=21009
2007-03-09 13:11:33 +00:00
Michael Tüxen da56836f74 Add HMAC Algo constants.
svn path=/trunk/; revision=21008
2007-03-09 10:49:23 +00:00
Gerald Combs 0e181d05c8 Fix for bug 1264 from Julian Cable:
I've refactored the offending code branch and added some comments so
  hopefully the intent is a bit clearer. The loop termination conditions
  are now obviously independent of the content on the wire (they were
  meant to be before, but I admit it was obscure). I've tried using the
  ephemeral memory routines.

Add a check for a maximum fragment count, and bail out of reassembly instead
of triggering an ep_alloc exception.  Add Julian to AUTHORS.  Update the 
release notes.

svn path=/trunk/; revision=21007
2007-03-09 01:40:30 +00:00
Luis Ontanon 7f413f1325 actually compile H.248.7
svn path=/trunk/; revision=21003
2007-03-08 22:59:44 +00:00
Luis Ontanon a3099a387c Yet another H.248 package: H.248.7 Gateway control protocol: Generic Announcement package
svn path=/trunk/; revision=21001
2007-03-08 09:59:16 +00:00
Luis Ontanon b6ab56f26d fix a syntax error on the last check-in...
svn path=/trunk/; revision=21000
2007-03-08 00:43:08 +00:00
Luis Ontanon 8c8595e496 avoid using an "uninitialized" start variable on gap blocks
svn path=/trunk/; revision=20999
2007-03-08 00:37:07 +00:00
Luis Ontanon cf0379278b in TSN tracking: handle the TSN rollover.
I'll keep TSN tracking disabled by default, as it slows down dissection significantly and eats tons of memory!

svn path=/trunk/; revision=20998
2007-03-08 00:18:25 +00:00
Michael Tüxen af7bdd06db Add support for draft-ietf-rserpool-policies-04.txt.
svn path=/trunk/; revision=20996
2007-03-07 20:28:48 +00:00
Michael Tüxen 0204c1dc93 Fix a crash: You can not combine unsinged types like FT_INT32 and BASE_HEX.
svn path=/trunk/; revision=20995
2007-03-07 18:37:56 +00:00
Luis Ontanon 99f6a7feef props
svn path=/trunk/; revision=20994
2007-03-07 14:17:08 +00:00
Luis Ontanon 28764c409b another (very small) H.248 package, H.248.10 : Media gateway resource congestion handling package
svn path=/trunk/; revision=20993
2007-03-07 14:13:56 +00:00
Luis Ontanon 7a213ffb15 two inverted value_strings
svn path=/trunk/; revision=20988
2007-03-06 23:23:59 +00:00
Luis Ontanon 170386ac5b terminate an array!
svn path=/trunk/; revision=20987
2007-03-06 23:16:59 +00:00
Luis Ontanon 37802e5e21 Pubate Satienpoch keeps finding typos and incongruences in H.248 packages:
- for Q.1950 I used the value_string for GB events as the value_string for the parameters of BNC change.

> In observed event descriptor, it is called “eventName”, but in event descriptor,
> it is called “pkgdName”. It should be “eventName” in both cases.

svn path=/trunk/; revision=20986
2007-03-06 22:13:12 +00:00
Anders Broman ecbf96d04e From Stig Bjørlykke:
When dumping elements in a constructor in dissect_unknown_ber the last element is not put in the correct subtree, because the while- loop does not include the header length when checking for the end.

svn path=/trunk/; revision=20984
2007-03-06 21:03:27 +00:00
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
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
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
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
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
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
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
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
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 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
Guy Harris 219a24a642 The type argument to dnp3_al_obj_quality() isn't taken from the packet,
so invalid type arguments are programming errors; check for them with
DISSECTOR_ASSERT().

Fix a call to use the right value from the packet.

The dissector is a new-style dissector, so register it as such.

svn path=/trunk/; revision=20930
2007-02-25 21:57:23 +00:00
Luis Ontanon 83682b6a5f I'm checking in what I got so far for TSN analysis.
It's disabled. To enable uncomment the preference, recompile and enable it from preferences.

I checking it in because I need it as a reference.

svn path=/trunk/; revision=20929
2007-02-25 18:22:08 +00:00
Ulf Lamping 7887d478cc add a new function dissect_dcom_HRESULT_item() for some more flexibility, use it in the CBA-ACCO dissector - as the value_strings from dcom can't be used in hf_register_info from a plugin
svn path=/trunk/; revision=20926
2007-02-25 15:48:43 +00:00
Ronnie Sahlberg 66cf1f33e0 add new flag for PIDL conformance files : PIDL_SET_COL_INFO
which applies (for now only) to integer types.
when this flag is specified as PARAM_VALUE the fields name and its value will be pushed onto the info column of the summary line



svn path=/trunk/; revision=20922
2007-02-25 11:48:06 +00:00
Luis Ontanon 0743cac9a4 remove warnings
svn path=/trunk/; revision=20921
2007-02-25 11:23:49 +00:00
Luis Ontanon 679cf729d3 + some cosmetic changes to package dissection.
+ add more Q.1950 packages and parameters

svn path=/trunk/; revision=20920
2007-02-25 10:13:49 +00:00
Ronnie Sahlberg 470e92125e move the defines for PIDL_POLHND_{OPEN|CLOSE} to packet-dcerpc.h
also change their values to use the top order bits of an uint32 instead of the least significant ones



svn path=/trunk/; revision=20919
2007-02-25 01:47:43 +00:00
Ronnie Sahlberg aa3d3793b7 add new PIDL friendly helpers for dissection of integer types.
these new helpers take a parameter that can be used to decorate the tree and summary line (when this parameter is acted upon/implemented in the code inside the helpers)

WINREG was regenerated using a patched version of PIDL. Mainline version of PIDL does not yet have this patch applied.



svn path=/trunk/; revision=20918
2007-02-25 01:34:41 +00:00
Ronnie Sahlberg 87f05b8bda update EFS and EVENTLOG conformance files to use the new defines
for when policy handles are opened/closed and regenerate the dissector
with the latest version of PIDL



svn path=/trunk/; revision=20917
2007-02-24 21:34:29 +00:00
Anders Broman 7a615b9729 Add basic support for RFC4585.
svn path=/trunk/; revision=20916
2007-02-24 17:31:55 +00:00
Luis Ontanon 215b7eecc5 have sdp ignoring useless caracters efore the first element (this is a hack to avoid the two spaces found before the v= in sdp messages embeded in h248/q1950)
svn path=/trunk/; revision=20913
2007-02-24 12:24:13 +00:00
Stephen Fisher fe0e340bff From Mark Lewis:
The current RTP/MPEG2 Transport Stream dissector has a bug. When both
Adaptation Field and Payload are present in a packet (AFC==3) the
payload is ignored and Wireshark marks the packet as malformed.
This patch to epan/dissectors/packet-mp2t.c fixes the problem.


svn path=/trunk/; revision=20910
2007-02-23 21:31:11 +00:00
Luis Ontanon 46956317e2 I unadvertedly checked in this one, it adds tsn analysis to sctp which is still broken (although it is disabled by default).
Revert to previous version.

svn path=/trunk/; revision=20909
2007-02-23 21:12:25 +00:00
Luis Ontanon 4211d0dba2 fix some bugs introduced in the latest releases and add value_strings for param, evt, sig and stat ids s well as "sub-parameters".
svn path=/trunk/; revision=20908
2007-02-23 20:57:22 +00:00
Luis Ontanon 13c9782e21 remove another hidden item
svn path=/trunk/; revision=20905
2007-02-23 19:47:02 +00:00
Luis Ontanon 1600480f1b Wow!
hidden fields appear twice defeating the purpose, that's what I call deprecating a function!! 

svn path=/trunk/; revision=20902
2007-02-23 19:26:09 +00:00
Luis Ontanon 9a2d0d9511 add hidden fields for mtp3.dpc mtp3.opc mtp3.pc to m3ua so that if someone filters by mtp3.pc can get both m2ua and m3ua packets directed towars a caertain pc.
svn path=/trunk/; revision=20901
2007-02-23 19:04:41 +00:00
Jaap Keuter 1d60ad8ce7 From Morro Roberto:
Please find attached a patch to the RSVP dissector that fixes a small inaccuracy when printing the SENDER TSPEC object.
Substantially, it changes the string
"C-type: 1 - Integrated Services" into the correct one
"C-type: 2 - Integrated Services"

svn path=/trunk/; revision=20900
2007-02-23 15:22:24 +00:00
Anders Broman 4098c5e357 From Charles Lepple:
When dissecting RTP packets with a H.263 payload, the "Mark" flag runs into the Mode A/B flag in the info column.

From me abriviate Payload type to PT.

svn path=/trunk/; revision=20899
2007-02-23 06:47:07 +00:00
Anders Broman 33910c713f From Richard van der Hoff:
Along with this bug, identified by Mark, there is another problem, in that one of the chunks of my earlier patch seemed to get missed off when Anders committed it. This won't break anything yet, as the H.223-over-RTP dissection hasn't landed on trunk yet, but it will cause all sorts of nasties when it does.

Here is a new patch, against current trunk, which should fix Mark's bug, my bug, and a comment typo.

And a patch wich improves the general robustness of the h.223 dissector (making it less likely to crash on malformed data).

Hopefully this also fixes a bug raised by Fabio Sguanci a few weeks ago. 
Fabio: I think a better way to fix the problem is to stop the dissector crashing when it finds a malformed PDU, so that it just treats the first pdu as malformed; there is then no need to special-case it.

svn path=/trunk/; revision=20898
2007-02-22 20:40:19 +00:00
Bill Meier 211cdda386 From Ryan Wamsley: Add Connection Configuration Object support to EtherNet/IP dissector
svn path=/trunk/; revision=20897
2007-02-22 03:21:26 +00:00
Ronnie Sahlberg 4fb922c2c8 regenerate WINREG as a test with the some new PIDL enhancements to show ithe name of the iprocedure a policy handle was created in.
also
fix some mistakes in the conformance file for when handles are opened/created


svn path=/trunk/; revision=20896
2007-02-21 20:23:44 +00:00
Ronnie Sahlberg 8ed1260c2c add a field in pinfo where dcerpc/pidl can store the name of the current dcerpc procedure
use this field in the policy handle helper to indicate not only which frames the handle was opened/close in but also the name of the function that opened it.
eventually, when other pidl support infrastructure is developed it would be nice if this could be expanded to also contain the name of the object/handle opened.



svn path=/trunk/; revision=20895
2007-02-21 20:21:11 +00:00
Anders Broman f34fa9c0ef From Richard van der Hoff:
This patch makes the defragmentation code in the iax2 dissector handle 
pinfo->desegment_len=DESEGMENT_ONE_MORE_SEGMENT, in line with
Ronnie's changes to the tcp dissector of 11 November.

svn path=/trunk/; revision=20892
2007-02-21 06:48:28 +00:00
Anders Broman 86671a0de0 From Richard van der Hoff:
Here's a patch which adds an option enabling subdissectors to request defragmentation of packets over RTP streams, using the 
pinfo->desegment_{len,offset} API.

svn path=/trunk/; revision=20891
2007-02-21 06:45:34 +00:00
Stephen Fisher 2d334be55d Major overhaul of VNC dissector: split everything into its own function and
bring the server message type dissection nearly to completion.  As for RealVNC
protocol dissection, the only things not working at 100% is the TCP
reassembly and some ZRLE subencoding types.  However, it is is much more useful
shape now than before.
 

svn path=/trunk/; revision=20886
2007-02-21 00:59:16 +00:00
Luis Ontanon da3cc2efa8 + add some more packages from 3GPP TS 29.232
- fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1385


svn path=/trunk/; revision=20885
2007-02-21 00:00:49 +00:00
Anders Broman 33c97b6a1f Get rid of yet another printout that does not go well with optional IE:s
svn path=/trunk/; revision=20884
2007-02-20 22:12:54 +00:00
Anders Broman fd3aa71e67 Test before comitting...
svn path=/trunk/; revision=20883
2007-02-20 21:58:30 +00:00
Ronnie Sahlberg dd7323f981 dont use _U_ when typedeffing a function pointer.
gcc 2.96 does not like _U_ here.



svn path=/trunk/; revision=20882
2007-02-20 20:21:49 +00:00
Uwe Girlich 19fd47b805 DTPT: Improve Blob handling, more error codes
svn path=/trunk/; revision=20881
2007-02-20 20:07:50 +00:00
Anders Broman 0c0367bfa1 Fix a typo and some reported compiler warnings(hopefully).
svn path=/trunk/; revision=20879
2007-02-20 19:40:14 +00:00
Anders Broman 564fd0fa57 From Florent Drouin:
This patch provide a new function to decode messages when several ASN1 encoding can be used.
This is the case, for example, when a same message has different encoding according to the MAP version, or in case of ASN1 encoder optimization.
 At the same time, I did remove the configuration variable "old_gsm_map_version", which is taken into account in the patch.
And likewise, for all the messages defined with the ASN1 sequence "[3] SEQUENCE", this function is called for the decoding.

svn path=/trunk/; revision=20878
2007-02-20 19:37:06 +00:00
Jörg Mayer 27c1729f0e Update to current version of openchange
svn path=/trunk/; revision=20877
2007-02-20 19:19:57 +00:00
Ronnie Sahlberg 83c66c05e9 add a PIDL specific helper for managing dissection of policy handles.
let this helper take a parameter to describe how the policy handle should be
managed (is this an open, close ?) to improve policy handle tracking.
(centralizing to a single function of code makes other changes easier)

create defines to indicate OPEN/CLOSE and use them as a start/test in the winreg conformance file.



svn path=/trunk/; revision=20872
2007-02-20 09:01:50 +00:00
Ronnie Sahlberg 0dfc6a0bf7 changes to comments generated for winreg using the latest svn of pidl
pidl will probably be in flux for a short while and this checkin is to reduce the some noice generated to winreg while other changes are implemented.

this change only affects c-code comments in the pidl generated code


svn path=/trunk/; revision=20871
2007-02-20 08:05:26 +00:00
Gerald Combs 5ddc9ab395 Clarify the description of frame.time_delta. This partially addresses
bug 491.

svn path=/trunk/; revision=20870
2007-02-20 01:32:14 +00:00
Stephen Fisher 7a2bfb7a61 Initial version of the new Statistics -> Content List -> HTTP feature. This
feature lists all of the content found in an HTTP stream (images, http, etc.)
and displays it in a list that allows the user to save each one as a file that
is already reassembled by the dissectors.


svn path=/trunk/; revision=20867
2007-02-19 22:37:45 +00:00
Bill Meier 103bf29730 Continuing the tradition: squelch some compiler warnings ....
svn path=/trunk/; revision=20866
2007-02-19 22:29:23 +00:00
Jeff Morriss 0787b688cc Squelch a few unused parameter warnings.
svn path=/trunk/; revision=20863
2007-02-19 15:30:06 +00:00
Ronnie Sahlberg 1401a27b06 the policy handles created/opened in CreateKey and OpenKey are now called "handle" and not "new_handle"
update the conformance file so the correct functions are loaded with the correct PARAM value to signal "in this frame, this policy handle was created"



svn path=/trunk/; revision=20857
2007-02-19 08:26:27 +00:00
Anders Broman 7164abe385 Decode some RANAP elements.
svn path=/trunk/; revision=20854
2007-02-19 06:09:33 +00:00
Stephen Fisher 6c1dce1710 From Kriang Lerdsuwanakij:
While I reading source code of IuUP dissector, I notice some
obvious bugs inside the code. One is a missing assignment
that causes the following "if (iuup_circuit)" block to never execute.
Another is wrong field names.

Althoug both won't show up in final result (for the first bug, the call to
g_hash_table_insert several lines later will do the right thing anyway;
for the second bug, there is no services utilizing more than 3 subflows),
I think it is better to have them fixed.


svn path=/trunk/; revision=20853
2007-02-19 05:32:01 +00:00
Stephen Fisher d4fffce05f Add comments to the statistics functions to tell which is which
svn path=/trunk/; revision=20852
2007-02-19 05:21:12 +00:00
Bill Meier 3dbfb21cf9 packet-afp: remove unneeded line of code;
packet-sctp: register sctp dissector since packet-lge-monitor wants to call same


svn path=/trunk/; revision=20850
2007-02-19 01:27:16 +00:00
Guy Harris eaf1ae2df2 wep_decrypt() isn't needed if we have AirPDCap.
Use "break" instead of "goto done" when possible, don't goto a label
that follows immediately, and get rid of labels for which there's no
goto.

svn path=/trunk/; revision=20846
2007-02-19 01:18:26 +00:00
Guy Harris 8bc5fca60a Get rid of an unused variable.
svn path=/trunk/; revision=20845
2007-02-19 01:15:22 +00:00
Guy Harris d00fe9517b dissect_x411_mts_apdu() is an old-style dissector, so it shouldn't
return any value.

svn path=/trunk/; revision=20844
2007-02-19 01:09:55 +00:00
Guy Harris 1a2a777a1f Declare nbytes to match what the routine getting a pointer to it
expects.

svn path=/trunk/; revision=20843
2007-02-19 00:59:20 +00:00
Uwe Girlich ab177ee1cd Added a DTPT (DekTop PassThrough) dissector.
svn path=/trunk/; revision=20839
2007-02-18 13:24:30 +00:00
Jeff Morriss 43e550c754 Fix bug 1380:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1380

by registering the spnego dissector by name (e.g., call 'register_dissector()').


svn path=/trunk/; revision=20837
2007-02-18 10:18:53 +00:00
Stephen Fisher 4017f3c43a From Mike Duigou:
Adds support for dissecting the new version 2 binary wire format messages.


svn path=/trunk/; revision=20836
2007-02-18 03:30:20 +00:00
Anders Broman 0e706015c2 From Florent Drouin:
Update the Camel dissector to have the same structure as the gsm map dissector.
Now the dissector correctly handles the Tcap return error component.
Some improvement have been made for ApplyChargingReport too.

svn path=/trunk/; revision=20835
2007-02-17 20:04:10 +00:00
Graeme Lunt 38515fbf22 From X.690 8.6.2.3
"If the bitstring is empty, there shall be no subsequent octets, and the initial octet shall be zero." 

The BER dissector marked empty bitstrings as "Padding", but they are now marked as "Empty". 

http://www.wireshark.org/lists/wireshark-dev/200702/msg00574.html


svn path=/trunk/; revision=20834
2007-02-17 14:23:09 +00:00
Graeme Lunt 1864da87a8 This patch looks for a confounder in GSSWrap for DES_MAC_MD5 algorithm.
This is purely empirical as I can find no standard that says it should be there.
However successful LDAP/SASL/GSSAPI between AD and Java client shows it seems to be present.
If the confounder is not dissected, the LDAPMessage to fail to be decoded.


svn path=/trunk/; revision=20833
2007-02-17 11:16:52 +00:00
Graeme Lunt c09afc2db6 This patch adds some new features to the BER dissector:
- Added option to decode OCTET STRINGs as BER encoded data
- Added decoding of unknown VisibleString and GeneralString
- Some code cleanup

http://www.wireshark.org/lists/wireshark-dev/200702/msg00482.html


svn path=/trunk/; revision=20831
2007-02-17 11:10:02 +00:00
Graeme Lunt c55b754264 Tidy ups for SASL/GSSAPI support:
1) Handle empty (zero length) saslCredentials
2) Handle "GSSAPI" auth_mech when identified from the bind
3) Annotate column info to show SASL service applied to LDAP operation


svn path=/trunk/; revision=20830
2007-02-17 11:06:25 +00:00
Ronnie Sahlberg 657bf78561 if the KRB-ERROR PDU contains a pw-salt containing an NT status code, show that NT status code on the summary line since it gives more precise error description to why there was an kerberos error.
svn path=/trunk/; revision=20827
2007-02-17 00:47:09 +00:00
Ronnie Sahlberg ffc2333ea8 decode the known 4 bytes of the 16 byte blob that prepends the ndr encoded logoninfo and constraineddelegation ndr encoded blobs inside the PAC
svn path=/trunk/; revision=20826
2007-02-17 00:13:57 +00:00
Ulf Lamping d6e22b2d9a major code cleanup:
- move dcom-cba and pn-rt files into profinet plugin (where they really belong)
- move some common pn functionality into new packet-pn.c/h instead of having duplicate code

svn path=/trunk/; revision=20825
2007-02-16 21:53:36 +00:00
Ronnie Sahlberg 7214c88fa2 when decrypting a blob allocate a new private memory area to return to the caller instead of reusing the same one over and over (g_free followed by g_malloc by the same size often result in the same area being returned)
this resolves some issues where the decode is ok  but the hexpane shows corrupted memory where the decrypted blob should be.



svn path=/trunk/; revision=20824
2007-02-16 21:04:45 +00:00
Anders Broman 9288918d6b From Florent Drouin:
A patch to update the gsm map definition up to 3GPP TS 29.002 V7.5.0 (2006-09) Release 7 There is a little impact on the GTP dissector, because I had to change the name of the Local ErrorCode in the gsm map asn1 definition due to a conflict with the Camel dissector.

svn path=/trunk/; revision=20823
2007-02-16 21:02:19 +00:00
Martin Mathieson 946897ace7 Make RFC2198 pt preference work (wasn't calling
proto_reg_handoff_rtp when prefs changed).

svn path=/trunk/; revision=20822
2007-02-16 13:47:49 +00:00
Anders Broman f30812691b Fix the bugs part of http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1371.
- a typor in in hf_bssgp_ie_type
- id def out debug code.

svn path=/trunk/; revision=20821
2007-02-16 06:54:32 +00:00
Gerald Combs c4a52b1995 According to David Young, IEEE80211_RADIOTAP_FCS was never officially
assigned.

svn path=/trunk/; revision=20817
2007-02-15 18:35:30 +00:00
Ronnie Sahlberg 02a8ed7abc using the latest SVN of PIDL it is now possible to compile the corrected WINREG.IDL where QueryInfoKey responses are parsed correctly.
(since we do not yet use all of the various idl files from s4 i commented out the import directove from the idl file since othervise it would generate #include directives for files we do not yet provide)



svn path=/trunk/; revision=20816
2007-02-15 09:33:12 +00:00
Jörg Mayer b068c93dea Guess the meaning of some trailer bytes
svn path=/trunk/; revision=20815
2007-02-15 08:40:18 +00:00
Gerald Combs 2e89206961 Try to fix a naming conflict on Windows.
svn path=/trunk/; revision=20814
2007-02-14 22:03:39 +00:00
Martin Mathieson 958a67763d Change fp_info struct to be more general by removing DCT2000-specific field.
Also:
- Fix a division-by-zero error in FP dissector
- Correct the way DCT2000 IPPrim addresses and ports are dissected and displayed

svn path=/trunk/; revision=20812
2007-02-14 15:41:43 +00:00
Jörg Mayer 4bc0860be2 Dissect the Cisco proprietary encapsulation of IPSEC/ISAKMP
in TCP (incomplete).
Add preference to select the tcp port (default: 10000)

svn path=/trunk/; revision=20809
2007-02-14 13:22:55 +00:00
Ronnie Sahlberg bfcb77a3ff show the share mode bits that are SET on the share mode expansion line so one can see easily which share modes are requested without having to open the share mode expansion
svn path=/trunk/; revision=20808
2007-02-14 11:49:01 +00:00
Tomas Kukosa a91eb30021 H.225.0 updated to 05/2006, Amendment 1 01/2007
svn path=/trunk/; revision=20807
2007-02-14 08:08:44 +00:00
Stephen Fisher 3f3d725506 Changes to the ansi_map and ospf dissectors to use new RVAL() (range string)
feature.


svn path=/trunk/; revision=20806
2007-02-14 01:16:19 +00:00
Stephen Fisher 0ebc01dc03 From Sebastien Tandel:
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override
the buggy g_strsplit() function when compiling for GTK1.  Include this
work-around function (ws_strsplit) in libwireshark.def.  Add notes on usage
to README.developer.  Include epan/ws_strsplit.h in all files that use
g_strsplit().


svn path=/trunk/; revision=20804
2007-02-13 20:57:22 +00:00
Anders Broman 79a551e513 Display 2 octet length field correctly.
svn path=/trunk/; revision=20801
2007-02-12 22:04:58 +00:00
Anders Broman ef318fcf0a Return correct length.
svn path=/trunk/; revision=20800
2007-02-12 21:48:41 +00:00
Ronnie Sahlberg 10cace66eb add dissection of SMC POSITION TO ELEMENT cdb
svn path=/trunk/; revision=20799
2007-02-12 20:26:52 +00:00
Luis Ontanon b26c1c4ca2 Add a description of UAT fields, and have it as a tooltip in the New/Edit Dialog.
svn path=/trunk/; revision=20797
2007-02-12 19:57:41 +00:00
Ronnie Sahlberg 327d0a646c add dissection of SMC OPEN/CLOSE IMPORT/EXPORT ELEMENT cdb
svn path=/trunk/; revision=20794
2007-02-12 10:30:10 +00:00
Anders Broman c1fcb99d13 Fix Bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1365 Authentication Quintuplet decoding fails.
svn path=/trunk/; revision=20793
2007-02-12 08:13:56 +00:00
Stephen Fisher 280ab16dfa Remove unused variable
svn path=/trunk/; revision=20786
2007-02-11 06:44:18 +00:00
Stephen Fisher 0c72000b0d From Joe McEachern:
Attached is a wireshark patch that adds support for decoding DHCP option 125
and the DHCP option 125 suboptions defined by the DSL Forum's TR-111
specification.


svn path=/trunk/; revision=20783
2007-02-11 03:36:04 +00:00
Ronnie Sahlberg e8fccdb0b6 update the SMC MOVEMEDIUM cdb dissector
svn path=/trunk/; revision=20782
2007-02-11 01:59:53 +00:00
Ronnie Sahlberg 8acfc173c4 add dissection of the two SMC cdbs
INITIALIZE ELEMENT STATUS
INITIALIZE ELEMENT STATUS WITH RANGE


svn path=/trunk/; revision=20781
2007-02-11 01:50:16 +00:00
Ronnie Sahlberg e2ddfcecfb add dissection of SMC EXCHANGE MEDIUM cdb
svn path=/trunk/; revision=20780
2007-02-11 01:32:53 +00:00
Ronnie Sahlberg f6f95ea6a0 remove the revision number from the spc symbols
change all spc2 and spc3 to spc



svn path=/trunk/; revision=20779
2007-02-11 00:45:15 +00:00
Ronnie Sahlberg 9535fb5e42 dont encode a specific revision of the standard in the symbol names
change all symbols from smc2 to smc

svn path=/trunk/; revision=20778
2007-02-11 00:20:37 +00:00
Ronnie Sahlberg ab7f2457a1 add the name for two missing SMC cdbs
svn path=/trunk/; revision=20777
2007-02-11 00:09:46 +00:00
Ronnie Sahlberg f87d187669 add dissection of SSC SETCAPACITY cdb
the SSC dissector should be in fairly good shape now   modulo some missing
dissectors for a few data in/out buffers that someone that needs them can easily add


svn path=/trunk/; revision=20776
2007-02-10 22:01:27 +00:00
Ronnie Sahlberg e7ebd50244 update the REWIND cdb dissector
svn path=/trunk/; revision=20775
2007-02-10 21:53:09 +00:00
Ronnie Sahlberg 7fa46e0aaf add dissection of REPORTDENSITYSUPPORT cdb
svn path=/trunk/; revision=20774
2007-02-10 21:48:12 +00:00
Ronnie Sahlberg 991ec50ba5 add dissection of the RECOVER BUFFERED DATA cdb
svn path=/trunk/; revision=20773
2007-02-10 21:39:40 +00:00
Ronnie Sahlberg 5bb268fa7c add dissection of VERIFY6 cdb
dissect SPACE6/16 code field using a value_string


svn path=/trunk/; revision=20772
2007-02-10 21:26:38 +00:00
Ronnie Sahlberg 8d3413ef55 add dissection of the SSC READREVERSE6 cdb
svn path=/trunk/; revision=20771
2007-02-10 20:55:37 +00:00
Ronnie Sahlberg 62e27d2ce3 change all SSC2 into SSC to indicate this is an SSC dissector and not specific to SSC v2
svn path=/trunk/; revision=20770
2007-02-10 20:38:59 +00:00
Ronnie Sahlberg c6a7dc376a add dissection of the WRITE16 and the WRITEFILEMARKS16 cdbs
svn path=/trunk/; revision=20769
2007-02-10 20:31:01 +00:00
Ronnie Sahlberg 38fef4967b add dissection of SSC VERIFY16 cdb
svn path=/trunk/; revision=20768
2007-02-10 20:23:38 +00:00
Ronnie Sahlberg 2661699e01 add dissection of SSC READREVERSE16 cdb
svn path=/trunk/; revision=20767
2007-02-10 20:13:03 +00:00
Ronnie Sahlberg 5f7321abae add dissewction of the SSC READ16 cdb
svn path=/trunk/; revision=20766
2007-02-10 20:06:01 +00:00
Ronnie Sahlberg 462a5a9358 prettify READ6 and dissect the flags bits properly instead of using a proto_tree_add_text()
svn path=/trunk/; revision=20765
2007-02-10 19:56:41 +00:00
Ulf Lamping 5fef4e745b add STATUS_STACK_OVERFLOW to the possible Win32 exception codes - unfortunately, this exception seems to corrupt the stack at least in a way that the TRY / CATCH pair later causes an access violation ...
svn path=/trunk/; revision=20764
2007-02-10 10:28:59 +00:00
Michael Tüxen fc753d3f70 Provide a correct argument to g_hash_table_foreach_remove.
svn path=/trunk/; revision=20761
2007-02-09 23:29:57 +00:00
Michael Tüxen 63ff1f4bc1 Fix whitespaces.
svn path=/trunk/; revision=20760
2007-02-09 23:14:15 +00:00
Ronnie Sahlberg f4fcbc9e14 use se_alloc() instead of g_malloc() to allocate storage for the key to the hash table.
this allows us to use g_hash_table_new() instead of g_hash_table_new_full() and thus make it compileable under gtk1.2


this should probably be completely converted into se_tree's and se_alloc to completely remove the hashtable altogether



svn path=/trunk/; revision=20758
2007-02-09 21:03:41 +00:00
Michael Tüxen f20299ba4b Add support for SCTP reassembly from Robin Seggelmann.
You must enable this feature via Edit/Preferences/Protocols/SCTP

svn path=/trunk/; revision=20756
2007-02-09 16:38:57 +00:00
Luis Ontanon 7c57c05ed5 * Add a Submenu (/Views/User Tables) where UATs can be accessed.
* Remove macros_dlg, the DFMacros UAT goes in the menu with all the rest
* in packet-user_encap.c WTAP_ENCAP=XXX has become useless information for the user leave just the DLT#



svn path=/trunk/; revision=20753
2007-02-09 03:11:14 +00:00
Luis Ontanon 7432291121 From: Kriang Lerdsuwanakij
In the attached patch, the K12 wiretap now saves the content of record
after captured packet data. The K12 dissector then could extract them and provide
useful information to properly dissect FP frames (user plane of UTRAN Iub
interface).



svn path=/trunk/; revision=20749
2007-02-08 17:35:03 +00:00
Graeme Lunt 53f97b16aa This patch adds some expert info in DMP when:
- Checksum failure
- Decoding of SIC failure
- Negative ACK response
- Unsupported DMP version
- Error uncompressing content

http://www.wireshark.org/lists/wireshark-dev/200702/msg00358.html


svn path=/trunk/; revision=20748
2007-02-08 17:17:36 +00:00
Graeme Lunt 835fd8749e This patch adds some expert info in P_Mul when:
- Checksum failure
- Missing sequence numbers

http://www.wireshark.org/lists/wireshark-dev/200702/msg00357.html


svn path=/trunk/; revision=20747
2007-02-08 17:15:45 +00:00
Graeme Lunt 4a6b87d35e This patch adds some expert info in CDT when:
- Unable to get compressed content
- Unable to uncompress content

http://www.wireshark.org/lists/wireshark-dev/200702/msg00356.html


svn path=/trunk/; revision=20746
2007-02-08 17:12:38 +00:00
Graeme Lunt 06e7801472 This patch adds support for decoding BER-encoded files as "X.411 Message".
http://www.wireshark.org/lists/wireshark-dev/200702/msg00355.html


svn path=/trunk/; revision=20745
2007-02-08 17:09:15 +00:00
Guy Harris 49808356a3 The length of the UDP packet, according to IP, is the reported length,
not the data length (the packet might've been cut short by a snapshot
length).

Fetch the reported length with an accessor.

svn path=/trunk/; revision=20743
2007-02-08 10:26:15 +00:00
Luis Ontanon 4e55e354bb Have the windows buildot compiling again.
svn path=/trunk/; revision=20742
2007-02-08 10:15:04 +00:00
Luis Ontanon 9422dfd084 UAT: filed definitions for proto (a dissector hanlde obtained by name)
UATify user-DLTs


svn path=/trunk/; revision=20740
2007-02-07 20:45:14 +00:00
Luis Ontanon b08d8470e7 Oddly enough MSVC cannot compile this one.
svn path=/trunk/; revision=20738
2007-02-07 18:51:44 +00:00
Luis Ontanon 2006fac500 * Add a category param to the uat.
* UATify SNMP Users


svn path=/trunk/; revision=20736
2007-02-07 14:54:35 +00:00
Luis Ontanon 92fd73681d From: Gisle Vanem
The file epan/dissectors/packet-k12.c uses the function
strcasestr() which is not available on e.g. Windows. So I cooked
up a patch to epan/strutil.c to add epan_strcasestr() (is there a more
suited place for such a function?)





svn path=/trunk/; revision=20734
2007-02-07 13:45:28 +00:00
Jeff Morriss 0a9304dc6f Fix for bug 1350: Add return value for
dissect_ansi_map_sms_originationrestrictions()

Also close a couple of comments, remove one /* embedded in a comment,
remove a couple unused variables (still lots of unused params in there),
and fix indentation of some proto_item and proto_tree variable declarations.

svn path=/trunk/; revision=20730
2007-02-07 02:41:10 +00:00
Ronnie Sahlberg 8f3630cfb7 fixup LOCATE10 and LOCATE16
replace a few proto_tree_add_text() with proper dissection of the partition byte


svn path=/trunk/; revision=20729
2007-02-06 21:19:17 +00:00
Anders Broman 951cb6ee63 Fix a copy error.
svn path=/trunk/; revision=20728
2007-02-06 07:59:24 +00:00
Gerald Combs 41c66690fc From Clay Jones:
This patch adds decodes for 802.11n information elements.  Since 802.11n
isn't a formal standard yet they are not using the final packet
structures or ie type numbers.  But there are already 802.11n pre
release devices out there and these decodes do seem to correctly decode
the IEs that they use.

svn path=/trunk/; revision=20725
2007-02-06 01:59:50 +00:00
Ulf Lamping 0f7e40945e dissector changes:
- new: ICBALogicalDevice2::PBAddressInfo
- enhanced: GROUPERRORDEF

simplify ett registration
add a callback for SAFEARRAY data dissection

svn path=/trunk/; revision=20723
2007-02-06 01:33:39 +00:00
Jaap Keuter 352f0eeb68 From Andrej Mikus:
Wireshark complains about bogus udp length when processing last fragment of UDP data.
It compares length field from UDP header with payload size of last fragment.
Attached is my attempt to fix this by referring to tvp->length instead of pinfo->iplen - pinfo->iphdrlen.

Also set some items attribute to generated.

svn path=/trunk/; revision=20722
2007-02-05 21:42:41 +00:00
Ronnie Sahlberg a99fb4ebb7 add the remaining TAPE ALERT log flags from ssc3r01c
svn path=/trunk/; revision=20719
2007-02-05 11:31:21 +00:00
Ronnie Sahlberg 059f550b16 add some infrastructure to enable us to dissect the content of LOG SENSE pages and parameters
dissect the READ WARNING flag in the TAPE-ALERT log page as an example


svn path=/trunk/; revision=20718
2007-02-05 09:39:36 +00:00
Luis Ontanon 2b22bcb1a3 * Add a help facility for UATs
* export help_topic_html()


svn path=/trunk/; revision=20717
2007-02-05 05:06:21 +00:00
Stephen Fisher 6c56afbed4 From Sebastien Tandel:
Execute permission should be changed [removed] on files 
packet-fmp.[c,h] and packet-fmp_notify.[c,h].


svn path=/trunk/; revision=20713
2007-02-04 19:16:24 +00:00
Graeme Lunt 74fa87ddb2 Small fix for incorrect column use when dissecting a BER file.
svn path=/trunk/; revision=20709
2007-02-04 12:00:25 +00:00
Luis Ontanon 96f517647a UATify k12 configuration
svn path=/trunk/; revision=20707
2007-02-04 02:30:59 +00:00
Ronnie Sahlberg c1ccab43aa update the LOG SELECT dissector slightly and harmonize the hf fields so both LOG SELECT and LOG SENSE use the same variables
svn path=/trunk/; revision=20703
2007-02-03 22:03:39 +00:00
Jaap Keuter b536022566 From J. Bruce Fields:
Fix an obvious error in the nfs4 stateid parsing.  The stateid is used in a number of common operations (such as open and setattr), so this caused a lot of misparsing.

svn path=/trunk/; revision=20700
2007-02-03 20:31:40 +00:00
Ronnie Sahlberg b06f81f4b4 updates to the LOG SELECT CDB decoding
svn path=/trunk/; revision=20696
2007-02-03 16:21:21 +00:00
Graham Bloice 9cc5985cec Corrected handling of udp messages, don't call tcp_dissect_pdus for udp fragments
svn path=/trunk/; revision=20683
2007-02-02 10:21:43 +00:00
Ronnie Sahlberg 78042d4e77 replace a rotating buffer for the udp header structure with ep allocated memory
svn path=/trunk/; revision=20682
2007-02-02 08:47:43 +00:00
Ronnie Sahlberg 5f521f725b Ian Schorr <ian.schorr@gmail.com>
Wed, Jan 31, 2007 at 7:24 PM 
To: wireshark-dev@wireshark.org 


Hello,

Please consider for checkin the following new dissectors, for the FMP protocol.

FMP (File Mapping Protocol) is the network protocol basis for EMC's HighRoad (MPFS) technology.  Highroad is used to allow multiple clients to share access to NAS-shared files while allowing clients to directly access data volumes (via, for example, Fibre Channel or iSCSI).  EMC currently uses this technology in our Celerra NAS servers, and we're currently in the process of open sourcing portions of the technology. 

FMP actually consists of two ONC/RPC-based protocols - the core FMP protocol, and FMP/Notify.  The latter is used as an asynchronous callback to inform clients of status changes, such as lock revocation.

We'd like to offer these dissectors to Wireshark users for help in debugging or otherwise troubleshooting MPFS-related problems.  There are still a few minor changes that need to be made ( i.e. a handful of fields that aren't decoded) but the dissector is overall fairly complete and very usable.

Let me know if there are questions or feedback, or otherwise if other info is needed (like sample captures, which I don't want to send out to the mailing list). 

Thanks,
Ian Schorr
EMC Corporation
 


svn path=/trunk/; revision=20679
2007-02-01 20:56:36 +00:00
Anders Broman f2b23aaffb Don't call subdissector for dynamic PT based on PT number if conversation info exists.
svn path=/trunk/; revision=20678
2007-02-01 20:49:34 +00:00
Ronnie Sahlberg 9a0b5c4d4a use the correct offset to access the service action in PERSISTENT RESERVE IN
svn path=/trunk/; revision=20672
2007-02-01 20:10:51 +00:00
Ronnie Sahlberg a8699793aa logoncontrol2 response is a Win32 error code not an nt status code
svn path=/trunk/; revision=20666
2007-02-01 10:10:15 +00:00
Jeff Morriss 088ef0165a From Abhik Sarkar: support for decoding SS7 MSUs embedded in a syslog message
(as generated by the Cisco ITP packet logging facility).


svn path=/trunk/; revision=20665
2007-02-01 09:55:52 +00:00
Anders Broman 5541864c73 Extend the events valuestring with Bearer Modification Support Event.
svn path=/trunk/; revision=20657
2007-01-31 22:59:41 +00:00
Martin Mathieson 899c936d3f Add some missing RFC references to header long text.
svn path=/trunk/; revision=20652
2007-01-31 17:42:45 +00:00
Graham Bloice 773a04c9e4 Major upgrades to dissector: Added defragmentation of tcp pdus, fixed defragmention of application layer fragments, many more object types decoded thanks to Chris Bontje
svn path=/trunk/; revision=20651
2007-01-31 13:58:55 +00:00
Martin Mathieson a9c08b914e Fix bug 1332 properly.
svn path=/trunk/; revision=20650
2007-01-31 10:57:54 +00:00
Luis Ontanon 5ea201cacf Merge Anders' and my own fixes to some bugs
- most paramaters have data set to NULL, have them added to the tree
- avoid the context tracing mecanism bailing out if a ContextList appears in the packet.
- in q9150 do not attempt to dissect sdp unless we believe it is sdp
    (BTW we need heuristics for sdp and other potential payloads of this parameter..)


svn path=/trunk/; revision=20649
2007-01-31 09:30:08 +00:00
Anders Broman c9ea62712c Fix bug 1328 and related bugs found when examining the trace.
svn path=/trunk/; revision=20634
2007-01-30 22:52:09 +00:00
Stephen Fisher 750e036e4c Add descriptions to radiotap fields. Fix some formatting. Add an extra
linebreak between hf field definitions for readability.


svn path=/trunk/; revision=20633
2007-01-30 20:57:51 +00:00
Guy Harris 9633ac8fee From Paolo Abeni: update to support the new DLT_USB_LINUX format header.
Modified to support the header as a pseudo_header rather than as part of
the packet data.

Fixed some calls that fetch data from the USB packet to fetch it in
little-endian byte order.

Got rid of redundant code to get conversation-specific data (the
get_usb_conv_info() call already does that).

For control packets, only parse the setup information if setup_flag is
0.

Don't interpret a control packet as a standard request unless the setup
type is "Standard".

svn path=/trunk/; revision=20632
2007-01-30 20:07:55 +00:00
Stephen Fisher 7317125c33 From Patrick vd Lageweg:
The PERSISTENT REVERVE OUT dissectors uses the table of the PERSISTENT REVERVE
IN command to decode the Service Action field which is obviously not correct.
This patch fixes the problem.


svn path=/trunk/; revision=20631
2007-01-30 19:43:29 +00:00
Martin Mathieson 4f6e3c9930 Size passed to IP address fields is now fixed (reported AVP size includes 2 bytes of padding), causing assertion reported in bug 1332.
svn path=/trunk/; revision=20623
2007-01-30 13:39:58 +00:00
Anders Broman 43e6ba8b9f Fix bug 1328 (Still Malformed packet) update some of the other packages.
svn path=/trunk/; revision=20621
2007-01-30 06:16:39 +00:00
Gerald Combs 063621f11b Fix potential buffer overruns in address_to_str_buf() found by Andrej
Mikus.  Add a buf_len parameter to ip_to_str_buf(), and make sure it's 
enforced.  Copy the release notes over from the 0.99.5 trunk and add a
note about the ISUP dissector (which is affected by the overrun).

svn path=/trunk/; revision=20607
2007-01-29 20:25:26 +00:00
Jaap Keuter 54f4d487f4 From Francesco Fondelli:
Gerrit Renker fixed a bug in DCCP dissector about long timestamps. (bad offsets)
He wrote:
> attached is a patch which updates the offsets of the timestamps.
> I have verified this against [RFC 4342, sec. 13] and it seems correct.

Also fixed file properties

svn path=/trunk/; revision=20606
2007-01-29 18:06:45 +00:00
Graeme Lunt c4b562e988 Support for SMIMECapabilities and KeyPreference attributes.
ContentInfo syntax for .p7s, .p7c and .p7m files.


svn path=/trunk/; revision=20585
2007-01-28 10:20:51 +00:00
Graeme Lunt 7edc7aea68 Definition of a per-recipient extension to prevent failure of dissection.
(Don't know what the extension actually is.)


svn path=/trunk/; revision=20584
2007-01-28 10:15:46 +00:00
Graeme Lunt 428435dcd8 Fix for per-domain-bilateral-information (bilateral-information field wasn't handled).
svn path=/trunk/; revision=20583
2007-01-28 10:12:51 +00:00
Luis Ontanon c6009ed5ab From Kriang Lerdsuwanakij:
1 Add ALCAP and NBAP as subdissectors of SSCOP. Previously it only
 knows about SSCF-NNI and data. (Changes in packet-sscop.c,
 packet-sscop.h)

2 Add capability for lower layer to force SSCOP to choose a particular
 dissector. It is passed as "subdissector" field of SSCOP protocol
 data. This is required because different payload protocol is
 distinguished by different VPI/VCI. There is no protocol field inside
 SSCOP frame. (Changes in packet-sscop.c, packet-sscop.h)

3 Make K12xx configuration file supporting the following syntax:
   C:\k1297\stacks\umts_iub\umts_iub_aal2l3.stk sscop:alcap
 This says dissect with SSCOP first and then pass to ALCAP.
 The change is made general, so it supports arbitrary number of
 protocol, like "proto1:proto2:proto3". Using ":" as separator
 allow us to expand the syntax further to support parameters like
 "proto1 param1:proto2 param2 param3". (Changes in packet-k12.c)

With above 3 changes together, dissecting Iub traces are correct for
control and signaling planes. I am still investigating user plane
frames because writing UMTS RLC/MAC protocol dissector is required.
The patch and sample .rf file (same as my previous patch) is in the
attachment.

plus:
Add Kriang to the AUTHORS list (and once at it upate my own record)


svn path=/trunk/; revision=20580
2007-01-28 01:41:58 +00:00
Gerald Combs f9e2736d7c Add support for "wildcard" WPA keys in the form "wpa:passphrase" (note
the lack of SSID).  Wildcarding combines the passphrase with the last
seen SSID and attempts decryption.  The last-seen stack is only one
element tall, which means it may get clobbered on busy and diverse
networks.  We can expand it if needed.

Make internal functions static in airpdcap.c.  Rearrange the
AIRPDCAP_KEY_ITEM struct so that the passphrase and SSID don't get
clobbered when we set our PSK.

svn path=/trunk/; revision=20572
2007-01-26 21:54:59 +00:00
Jaap Keuter f8be165898 From Patrick vd Lageweg:
This patch fixes three problems with the SCSI persistent reserve in command:
- The Additional length starts at offset 4 and not 0
- The len field contains the length used by the keys and doesn't include the header length. 
  So don't substract the header length from the length.
- The key list is traversed from the beginning to end end and not the other way around.

svn path=/trunk/; revision=20568
2007-01-26 17:06:17 +00:00
Martin Mathieson b731274da6 Use previously unused hf_cops_obj_c_type (cops.c_type) field
svn path=/trunk/; revision=20566
2007-01-26 12:14:06 +00:00
Tomas Kukosa 9c332d6799 TLS 1.0/1.1 just ignores unknown records - RFC 2246 chapter 6. The TLS Record Protocol
(some implementations use it like "keepalive")

svn path=/trunk/; revision=20565
2007-01-26 12:08:45 +00:00
Martin Mathieson ebb948cd3c Make COPS dissector findable by name
svn path=/trunk/; revision=20564
2007-01-26 11:31:51 +00:00