Commit graph

20504 commits

Author SHA1 Message Date
Guy Harris
2b75ac83af Eliminate __inline - not all compilers support it.
svn path=/trunk/; revision=20932
2007-02-25 23:25:23 +00:00
Guy Harris
3496de0ff1 ANSI C defines size_t; if we don't have that defined, we have bigger
problems, and there's no guarantee that _SIZE_T is defined on all ANSI C
platforms, so you might end up with a redefinition and a compile failure.

svn path=/trunk/; revision=20931
2007-02-25 22:46:54 +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
Luis Ontanon
a2a25e7586 revert (most) changes in rev #20753, to avoid items being created on a wrong menu on windows.
svn path=/trunk/; revision=20928
2007-02-25 18:03:05 +00:00
Ulf Lamping
cd08e6448f fix the padding in the read/write headers, some other minor changes
svn path=/trunk/; revision=20927
2007-02-25 15:50:40 +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
Ulf Lamping
036484c6c1 don't cache the downloaded file, so changes in the update file will have an effect while experimenting
svn path=/trunk/; revision=20925
2007-02-25 15:44:38 +00:00
Ulf Lamping
c51dc21954 fix the WinPcap version detection, some minor enhancements to the update logic
svn path=/trunk/; revision=20924
2007-02-25 15:42:56 +00:00
Ulf Lamping
ecc5482c03 fix #1399: don't assert the oidlength returned from the network card driver, but simply return that the PacketRequest call failed in that case.
BTW: this is a serious bug in the specific network card driver of this report, it returned a buffer length LONGER than the provided buffer length one!

svn path=/trunk/; revision=20923
2007-02-25 12:50:21 +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
Ulf Lamping
d5003bcf80 give some reasons why older windows versions are no longer supported, add links to the versions known to still work with Win9x / NT 4.0
svn path=/trunk/; revision=20915
2007-02-24 13:11:47 +00:00
Ulf Lamping
f6d80cf41b better reflect the current Windows installer
svn path=/trunk/; revision=20914
2007-02-24 12:40:35 +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
Ulf Lamping
b72efa7a49 mention that Windows with 256 colors still work with GTK1
svn path=/trunk/; revision=20912
2007-02-24 10:26:38 +00:00
Ulf Lamping
bc28ec6953 WS won't work well with 256 colors
svn path=/trunk/; revision=20911
2007-02-24 09:49:43 +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
5b9457a104 have megaco handing over to h248 in case it does not recognize the buffer as text encoded megaco
svn path=/trunk/; revision=20907
2007-02-23 20:04:09 +00:00
Ulf Lamping
44b6dd623e prohibit installation on Win NT 4.0
svn path=/trunk/; revision=20906
2007-02-23 19:48:59 +00:00
Luis Ontanon
13c9782e21 remove another hidden item
svn path=/trunk/; revision=20905
2007-02-23 19:47:02 +00:00
Ulf Lamping
bfe862b91e system requirements Windows updates:
- Vista is no longer beta
- disk space min. 75MB
- be a bit more specific about no longer supported NT 4.0
- some editing

svn path=/trunk/; revision=20904
2007-02-23 19:40:27 +00:00
Jaap Keuter
a8fb7d24d0 Properly introduce packet-pn.c as a helper
svn path=/trunk/; revision=20903
2007-02-23 19:37:01 +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
Gerald Combs
aa49bdf665 Try to fix distcheck.
svn path=/trunk/; revision=20894
2007-02-21 18:10:43 +00:00
Anders Broman
a1e273b325 From Richard van der Hoff:
The H.223 dissector contains code to deal with "bitswapped" captures - ie, where all of the bytes have their bits backwards. It seems that this is much better handled as a separate dissector entry point, so that the right one can be chosen when the dissector is registered, rather than the current dubious heuristics.

svn path=/trunk/; revision=20893
2007-02-21 07:26:33 +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
Anders Broman
367125d4fe Include "emem.h".
svn path=/trunk/; revision=20890
2007-02-21 06:42:31 +00:00
Anders Broman
e93195a7b3 From Richard van der Hoff:
This patch replaces g_assert() calls in epan/stream.c with DISSECTOR_ASSERT().

svn path=/trunk/; revision=20889
2007-02-21 06:25:13 +00:00
Anders Broman
e2cab6caa9 From Richard van der Hoff:
01_reassemble_test.patch
------------------------
I didn't want to do anything without some unit tests, so here they are. 
This 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.
NOTE the changes to makefile.am NOT checked in currently.

Incidentally: is it possible to get the buildbot to run things like this, exntest and tvbtest?

02_reassemble_refactor.patch
----------------------------
fragment_add_seq, fragment_add_dcerpc_dg and fragment_add_seq_check_work were all pretty much carbon-copies of each other. This patch factors out the common parts of the routines into a new routine, fragment_add_seq_key().

03_reassemble_partial_reassembly.patch
---------------------------------------
This makes fragment_set_partial_reassembly() work for datagrams assembled with fragment_add_seq(). The patch itself is actually quite small, but it adds another unit test which is reasonably lengthy.

svn path=/trunk/; revision=20888
2007-02-21 06:19:03 +00:00
Stephen Fisher
d5f4bfe773 Remove two empty itemized lists that are breaking XML validation and
stopping the Windows buildbot in its tracks.


svn path=/trunk/; revision=20887
2007-02-21 01:27:28 +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