Commit Graph

4692 Commits

Author SHA1 Message Date
Luis Ontanon fc9e7b97ba remove debugging printouts.
svn path=/trunk/; revision=21236
2007-03-27 23:06:24 +00:00
Luis Ontanon 9dbe9adf50 Another iteration over sctp calls (RANAP/BSSAP) a step towards TCAP/(MAP/IMAP/CAMEL)
- Fix SUA calls (I would need some more traces to test this)


svn path=/trunk/; revision=21235
2007-03-27 23:00:55 +00:00
Luis Ontanon 8c6ad121d8 megaco
- replace #pragma for #include
- move register function and remove prototype

h248
- have dissector being called through megaco instead of registering to the same sctp.ppi


svn path=/trunk/; revision=21234
2007-03-27 22:56:07 +00:00
Stephen Fisher ab8f589336 Fix about 100 simple to fix warnings from gcc 4.0 in epan/dissectors
svn path=/trunk/; revision=21233
2007-03-27 22:50:11 +00:00
Luis Ontanon ddddf2d668 Have retransmissions added only once per retransmitted packet.
svn path=/trunk/; revision=21232
2007-03-27 22:41:28 +00:00
Ulf Lamping f1a58d41d4 from Peter Johansson:
compilation warnings fixed

svn path=/trunk/; revision=21230
2007-03-27 21:20:19 +00:00
Anders Broman 898b597dfb Common handling of picture layer.
svn path=/trunk/; revision=21229
2007-03-27 21:10:35 +00:00
Ulf Lamping a66bf7f559 as Gisle Vanem noted that MingW doesn't "like" the #pragmas:
change #ifdef _WIN32 -> #ifdef _MSC_VER around pragma warnings

svn path=/trunk/; revision=21228
2007-03-27 21:09:34 +00:00
Jeff Morriss f50a031bff Include ws_strsplit.h to override glib 1.2's (buggy) g_strsplit() as per rev 20804
svn path=/trunk/; revision=21226
2007-03-27 10:15:28 +00:00
Ulf Lamping c2408435bc fix the remaining MSVC warnings by setting individual #pragma(warning:disable) settings - this is very certainly not the way to go, but the way to prevent additional warnings rushing in ...
svn path=/trunk/; revision=21221
2007-03-27 02:14:56 +00:00
Stephen Fisher d565967b58 From Peter Johansson:
Fix warnings


svn path=/trunk/; revision=21214
2007-03-26 21:16:21 +00:00
Luis Ontanon 395f48b869 add context tracing and tap to packet-megaco.c
(have to fix the matching of wildcarded terminations as it doesn't work as it should)

svn path=/trunk/; revision=21212
2007-03-26 21:10:58 +00:00
Ronnie Sahlberg d5d5159b6d From Sebastien Tandel
fixes for various compiler warnings

svn path=/trunk/; revision=21210
2007-03-26 11:06:26 +00:00
Ronnie Sahlberg 29440eb4a9 from Jon Smirl
add defines for data direction (which direction in/out is data being transferred for this particylar request/response pair)
and a mask for which bits of the byte contains the type.



svn path=/trunk/; revision=21207
2007-03-26 07:58:17 +00:00
Ronnie Sahlberg 80fe723473 From Jon Smirl
add a whole bunch of new descriptor types


svn path=/trunk/; revision=21199
2007-03-26 01:59:02 +00:00
Ronnie Sahlberg f88aa196a0 From
Charles Lepple


This patch enables packet-usb.c to display all descriptors in the GET
CONFIGURATION request, regardless of whether we know how to decode
them. (All descriptors in that request share the same first two
bytes.)

It also adds the HID descriptor type (not the report descriptor,
though - that is buried in a class request, not a device request). I
am still working on actually decoding this descriptor.



svn path=/trunk/; revision=21197
2007-03-26 01:41:50 +00:00
Ronnie Sahlberg d3283d23ea From
Martin Sustrik

additions to AMQP dissector and prettifications to the information column



svn path=/trunk/; revision=21196
2007-03-26 01:34:06 +00:00
Ronnie Sahlberg 09814fac51 From a Jon Smirl patch
rename the conversation field "class" to "interfaceClass"


svn path=/trunk/; revision=21194
2007-03-25 23:51:40 +00:00
Ronnie Sahlberg 747b009566 From Jon Smirl
change the private data pointer name from  masstorage to class_data
since there will be future class specific dissectors that will also want to hang
some extra data off these structures



svn path=/trunk/; revision=21193
2007-03-25 22:53:35 +00:00
Luis Ontanon 296a77efdc migrate packet-megaco.c from plugins/megaco to epan/dissectors
svn path=/trunk/; revision=21191
2007-03-25 21:59:16 +00:00
Luis Ontanon 0b3d2a90ff Migrate context tracing code from packet-h248.[ch] to gcp.[ch], so that the same code can be used by megaco (upcoming).
svn path=/trunk/; revision=21189
2007-03-25 21:42:26 +00:00
Guy Harris fecd335762 Before accepting a packet in a heuristic dissector, don't fetch any data
without first checking to make sure it's available.

Clear the Info column as soon as we've accepted a packet.

In the "MPEG" dissector, if no subdissector accepts the packet, dissect
it as just "MPEG" data.

svn path=/trunk/; revision=21187
2007-03-25 21:10:10 +00:00
Guy Harris 79561053bb Before we've decided to dissect a frame, don't fetch any data before
checking to make sure it's available.

Don't dissect an audio frame if it doesn't have a valid version or layer
value.

Don't do anything with the columns until we've decided to accept a
frame.

The register routines are only called once; we don't have to check
whether they've already been called.

svn path=/trunk/; revision=21186
2007-03-25 21:07:24 +00:00
Ronnie Sahlberg 58b174de83 take the address to the structure and not the address to the first element of the structure when doing a SET_ADDRESS
svn path=/trunk/; revision=21178
2007-03-25 11:20:09 +00:00
Ronnie Sahlberg ab407b08cf Change USB address structure back to 8 bytes in length.
It is suboptimal to have the endpoint both being the "port" and also 4 bytes out of the address.
But it looks better to have addresses as <device>.<endpoint> .


svn path=/trunk/; revision=21177
2007-03-25 11:15:09 +00:00
Ronnie Sahlberg 1053745b1c create a tap for usb so that we can do conversation/host lists
svn path=/trunk/; revision=21176
2007-03-25 09:55:49 +00:00
Ronnie Sahlberg ab2e40bcb5 Add a small example on how to prettify the AMQP dissector
svn path=/trunk/; revision=21175
2007-03-25 08:49:47 +00:00
Ronnie Sahlberg 0e6e4b0795 From Martin Sustrik
New protocol: AMQP


svn path=/trunk/; revision=21174
2007-03-25 08:26:44 +00:00
Ronnie Sahlberg 3689e6f460 unbreaking the usb dissector
since dlt189 was introduced   the dissector has been suboptimal


assuming the capture   usb_memory_stick.pcap on the wiki shows what this linktype
should look like, this patch
- adds request in/response in/time  generated fields to the dissect pane
- fixes the tracking of what is a request and what is a response (the old code just can not have worked!)
- fixes conversation tracking to work (dont add the port/endpoint into the length of the address)
- handles some mysterious extra 8 bytes prepended to a lot of different packets.



svn path=/trunk/; revision=21173
2007-03-25 05:20:56 +00:00
Ronnie Sahlberg 8d8f94f1ae fix a bug (found by compiler warning) where we initialize the wrong variable.
svn path=/trunk/; revision=21169
2007-03-24 21:56:14 +00:00
Jeff Morriss 109388d263 Clean up some more warnings: unused variables, unitialized variables, wrong format (%ld instead of %d) in packet-sccp.c
svn path=/trunk/; revision=21167
2007-03-24 13:46:41 +00:00
Jeff Morriss 10e8a95401 Add brackets to extern of ssl_version_short_names[] to fix compiler warnings.
svn path=/trunk/; revision=21166
2007-03-24 13:21:08 +00:00
Jeff Morriss 59159fe03e Fix bug 1452: Don't pass a null pointer to g_strsplit().
svn path=/trunk/; revision=21165
2007-03-24 10:07:20 +00:00
Stephen Fisher aa4d4f727c From Sebastien Tandel:
Fixes for warnings


svn path=/trunk/; revision=21164
2007-03-24 07:33:25 +00:00
Stephen Fisher dfc2b16e29 Fix mess with ssl_version_short_names[] being defined multiple places
now that it is no longer a static variable in packet-ssl-utils.h.
Leaving it as static caused a warning turned error that it was unused
in the current file (packet-ssl-utils.h).  Resolution: Move the variable
to packet-ssl.c and declare as extern in packet-dtls.c - the only other
place that needs it.


svn path=/trunk/; revision=21161
2007-03-24 01:38:58 +00:00
Stephen Fisher 1909b97d4d Remove all warnings under Unix for the gtk/ directory.
svn path=/trunk/; revision=21160
2007-03-24 00:45:11 +00:00
Stephen Fisher 2896811274 Fix about 150 warnings new to gcc 4.0 in the error on warning directories.
Comment out -Werror in plugins/asn1/ until warnings can be fixed.


svn path=/trunk/; revision=21158
2007-03-23 22:49:23 +00:00
Stephen Fisher 64cc1b407c From Sebastien Tandel:
(Fixing warnings)

stripped away some unused variables/parameters
+ in prefs.c
    suggestion of parentheses makes gcc happy


svn path=/trunk/; revision=21156
2007-03-23 18:45:21 +00:00
Stephen Fisher 6d8d2854c8 From Sake Blok:
Fix for bug #491: Unexpected frame.time_delta behavior

This patch ... fixes bug 491. It does this by changing the
behaviour of the frame.time_delta field so it reflects the delta
time between captured packets (tshark already did this).  To keep
the delta time between displayed packets, the field 
frame.time_delta_displayed is created.


svn path=/trunk/; revision=21154
2007-03-23 18:08:17 +00:00
Graeme Lunt 1f9eafa4fb Support for Microsoft-defined enhancedKeyUsage OIDs.
svn path=/trunk/; revision=21152
2007-03-23 16:52:22 +00:00
Graeme Lunt 4829b901de Support for recognising RC4 algorithm.
svn path=/trunk/; revision=21151
2007-03-23 16:45:49 +00:00
Graeme Lunt e9aa0abd32 Support for:
RFC2247 objectclasses and attributes (specifically "dc")
Microsoft-defined User Principal Name subjectAltName extension (used in certificates)


svn path=/trunk/; revision=21150
2007-03-23 16:44:08 +00:00
Graeme Lunt aa2b2c82ab Support for the Microsoft-specific certificate-template and application-certificate-policies certificate extensions.
svn path=/trunk/; revision=21149
2007-03-23 16:41:26 +00:00
Graeme Lunt 53eff34d66 Support for X.411 "additional information" field.
svn path=/trunk/; revision=21148
2007-03-23 16:38:52 +00:00
Ulf Lamping c436a70b49 /* prevent redefinition warnings in kfw-2.5\inc\win_mac.h */
#undef HAVE_STDARG_H
#undef HAVE_SYS_TYPES_H

svn path=/trunk/; revision=21144
2007-03-23 01:56:09 +00:00
Ulf Lamping db963eeb59 fix some more warnings
svn path=/trunk/; revision=21143
2007-03-23 01:55:29 +00:00
Ulf Lamping 7994794ad9 fix a lot more warnings
svn path=/trunk/; revision=21142
2007-03-23 01:29:52 +00:00
Ulf Lamping 411249419d fix some more warnings (type casts)
svn path=/trunk/; revision=21141
2007-03-23 00:51:21 +00:00
Ulf Lamping 81297cee31 fix various const warnings
svn path=/trunk/; revision=21139
2007-03-23 00:20:59 +00:00
Luis Ontanon 7f3e4fea48 Mine:
* add SUA to the "VoIP Calls" tap.
* propagate changes to packet-sccp.h to other dissectors

From Neil Piercy:
* add SLR, DLR and CAUSE to COL_INFO

svn path=/trunk/; revision=21126
2007-03-22 22:59:20 +00:00