CAN protocols have a CAN ID and up to 8 bytes of data.  How the CAN ID and data are presented is the responsibility of the previous layer.  Make the interface be passing the CAN ID in dissector data and have the (up to) 8 bytes be the tvb.  CAN protocols should treat the CAN ID as "generated" data.

svn path=/trunk/; revision=53792
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9503 :
Fix dissection of STK SEND SHORT MESSAGE proactive command

svn path=/trunk/; revision=53793
Try to please OSX-10.5-x86 buildbot

svn path=/trunk/; revision=53794
Remove non-ASCII character

svn path=/trunk/; revision=53795
Initialize the error-reporting routines before scanning for plugins, as
the code to scan for them uses those routines.

This means epan_init() no longer takes those routines as arguments -
which is just as well, given that the mechanism in question is no longer
part of libwireshark, but is part of libwsutil.

This should fix bug 9508.

svn path=/trunk/; revision=53796
Make launching TCP graphs from conversations window work again, by supplying stream and direction when graph is first created

svn path=/trunk/; revision=53797
Include epan/conv_id.h - some of the buildbot machines have errors without it

svn path=/trunk/; revision=53798
dissect Operator Profile's error flag

svn path=/trunk/; revision=53799
int -> gboolean

svn path=/trunk/; revision=53800
Only try to fix absolute Unix paths.

svn path=/trunk/; revision=53801
dtls: dissect tls extensions

This adds dissection for more TLS extensions. The code was mostly
copied from the SSL dissector.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
dtls: set ssl_set_server()

To decrypt packages wireshark has to know if this is a client or a
server package. Setting this member was missing in the DTLS code.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SSL: add decrypt support for CCM and CCM_8 Ciphers

This adds decrypt support for CCM and CCM_8 Ciphers like the ones
specified in rfc6655.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
dtls: add psk decrypt support

This adds support for decryption of DTLS packages when a PSK cipher was
used.

The code for generating a pre master secret was moved from packet-ssl.c
into packet-ssl-utils.c and packet-dtls.c now uses the same code to
generate a pre master secret.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
dlts: add cipher version for OpenSSL pre 0.9.8f

OpenSSL pre 0.9.8f uses the TLS version 0x0100 and is not completely
compatible with DTLS 1.0 or 1.2. One difference is that the encrypted
pre master from TLS 1.0 does not have an own length, which is needed by
TLS and DTLS 1.0, this makes decrypting impossible. This patch makes it
possible for the code to distinguish between this OpenSSL version and
real DTLS 1.0, because they are not using the same code any more. This
is needed to fix the snakeoil-dtls test.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
dtls: fix buffer overflow in mac check

With SHA256 32 bytes and with SHA384 48 bytes are needed for the hash
in dtls_check_mac(), but it only had 20, which was enough for SHA1.
In dtls_check_mac() ssl_hmac_final() is called with a buffer of 20
bytes, but it needed more, which caused a buffer overflow.

This patch also replaces the magic values with a constant and adds a
assertion which should warn if such a problem occurs again like when
SHA512 will be added.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
update cipher list