aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ssl-utils.c
AgeCommit message (Collapse)AuthorFilesLines
2007-11-30- fix warnings in prefs.cTomas Kukosa1-3/+6
- do not flush SSL debug output after each message but only once per packet svn path=/trunk/; revision=23680
2007-11-28Fixes for Windows build w/o ZLIB Bill Meier1-0/+4
svn path=/trunk/; revision=23651
2007-11-05Bug 1954 From Mikael Magnusson :Sake Blok1-3/+7
This patch updates the DTLS dissector to be compatible with OpenSSL 0.9.8f in the following ways: * Handle both SSL version number 0xfeff (RFC 4347 and OpenSSL 0.9.8f), and 0x100 (Used by OpenSSL 0.9.8e and earlier) * Reassemble fragmented handshake messages. svn path=/trunk/; revision=23369
2007-10-16Change more fopen() to eth_fopen() to finish fixing bug 1827:Jeff Morriss1-9/+10
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1827 Update README.developer to tell developers not to use fopen() and friends directly. svn path=/trunk/; revision=23206
2007-10-02review and update list of TLS cipher suitesTomas Kukosa1-13/+77
svn path=/trunk/; revision=23047
2007-09-07Argh! Used the wrong length modifier for size_t.Stig Bjørlykke1-3/+3
svn path=/trunk/; revision=22822
2007-09-07Fixed compiler warnings.Stig Bjørlykke1-4/+4
svn path=/trunk/; revision=22820
2007-08-25Partial fix for bug 1317:Jaap Keuter1-14/+49
Add Elliptic Curve cypher suites Add extension types svn path=/trunk/; revision=22654
2007-07-19Change "lenght" to "length" and "decypt" to "decrypt"Jeff Morriss1-296/+296
svn path=/trunk/; revision=22356
2007-05-25From Brian Vandenberg:Jaap Keuter1-6/+6
I ran into a problem trying to debug some of my stuff yesterday that depends on the http dissector, and the server I'm working with defaults to ssl traffic; whenever I try to debug it, it always gets hung up on the lines I mentioned in the email quoted below (within the ssl dissector). It seems the culprit is in the use of g_malloc within ssl_data_alloc, and free (instead of g_free) in tls_prf. I've attached the diff for the fixes I made. svn path=/trunk/; revision=21929
2007-04-23Add some GCC warnings to the standard set, and add some others to theGuy Harris1-6/+6
--enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526
2007-04-16move string tables from packet-ssl-utils.h to packet-ssl-utils.c and export themTomas Kukosa1-0/+397
svn path=/trunk/; revision=21445
2007-04-11make packet-ssl-utils.c compileable without GnuTLSTomas Kukosa1-10/+15
svn path=/trunk/; revision=21381
2007-04-10fix another warningLuis Ontanon1-1/+1
svn path=/trunk/; revision=21374
2007-04-10fix a number of warnings, and type of ssl_decrypt_record when HAVE_LIBGNUTLS ↵Richard van der Hoff1-8/+8
is not defined. svn path=/trunk/; revision=21371
2007-04-10remove dependency on zlib.hRichard van der Hoff1-0/+13
svn path=/trunk/; revision=21370
2007-04-10- SSL desegmentation supportTomas Kukosa1-34/+195
- SSL DEFLATE compression method support (RFC3749) - fix for Bugzilla Bug 1515: SSL bug with mutual authentication svn path=/trunk/; revision=21368
2007-01-12prepare SSL dissector for similar desegmentation as is in the TCP as current ↵Tomas Kukosa1-0/+50
one does not work well in many cases svn path=/trunk/; revision=20405
2007-01-04fix compilation without GnuTLSTomas Kukosa1-1/+8
svn path=/trunk/; revision=20305
2007-01-04- new ssl_set_master_secret() which can set master secret (and optionally ↵Tomas Kukosa1-2/+11
other parameters) into SSL dissector from external source, e.g. private 'trace protocol' dissector - call 'data' subdissector for decrypted data in real dissector is not found svn path=/trunk/; revision=20300
2006-12-28debug improvementsTomas Kukosa1-9/+18
svn path=/trunk/; revision=20230
2006-12-11SSL keys configuration can be read from fileTomas Kukosa1-6/+6
svn path=/trunk/; revision=20108
2006-08-29get rid of few warningsTomas Kukosa1-1/+1
svn path=/trunk/; revision=19072
2006-08-28- new function ssl_dissector_delete()Tomas Kukosa1-0/+1
- register H.225.0 over TLS (configurable port 1300) - register SIP over TLS (fixed port 5061) - new function proto_tree_get_root() svn path=/trunk/; revision=19059
2006-08-25new ssl_dissector_add() function which can be called from another dissectors ↵Tomas Kukosa1-39/+34
(similar to dissector_add()) svn path=/trunk/; revision=19026
2006-08-10GnuTLS/libgcrypt initialization moved to epan.cTomas Kukosa1-1/+0
svn path=/trunk/; revision=18863
2006-08-02from a. samuelRonnie Sahlberg1-105/+474
ssl and dtls updates svn path=/trunk/; revision=18816
2006-07-01Use #if 0/#endif, not commenting out, to remove a routine, so we don'tGuy Harris1-9/+11
have to worry about comments in the routine. Fix up indentation a bit. svn path=/trunk/; revision=18623
2006-06-27from Authesserre SamuelRonnie Sahlberg1-7/+98
SSL updates and DTLS support svn path=/trunk/; revision=18582
2006-05-03From Paolo Abeni:Anders Broman1-12/+22
authesserre samuel <sauthess@gmail.com> kindly pointed out an issue with session renegotiation in the current ssl decryption code. Encrypted handshake message are decrypted, but the dissector try to interpret the encrypted code. Renegotiation messages are therefore ignored. The attached pcap trace and key can be used to trigger the issue. The attached patch fix the problem storing the decrypted version of encrypted handshake message and dissecting it when available. The patch also fix bad issue with des cipher (alike the issue fixed in my previous post) svn path=/trunk/; revision=18081
2006-04-26authesserre samuel <sauthess@gmail.com>:Jörg Mayer1-2/+2
The current ssl decryption code does not work for 3des session. The attached patch fixes the problem. svn path=/trunk/; revision=18004
2006-03-16Superfluous check on 'secret' removed.Jaap Keuter1-2/+1
Coverity CID 31 svn path=/trunk/; revision=17645
2006-03-08Avoid passing junk to ssl_debug_printf fmt if a weird cipher is found ().Luis Ontanon1-2/+3
FIxes Coverity's run 14 CID 81 svn path=/trunk/; revision=17525
2006-02-13Paolo AbeniJörg Mayer1-93/+91
the attached patch fix a couple of possible memory leak in the ssl decryption code, add some indentation fix, more comments and add the preference to select the debug output (missing in previous patch) svn path=/trunk/; revision=17281
2006-02-11Paolo Abeni:Jörg Mayer1-27/+44
The attached patch cleanup the debug infrastructure for ssl dissector. Debug messages are by default off and can be enabled via the ssl dissector preference. Debug output can be directed to stderr or file. svn path=/trunk/; revision=17253
2006-02-10From Paolo Abeni:Anders Broman1-0/+4
The attached patch fix bug 732. The problem was in the client key dissection. On ssl v3 the encrypted data is the whole record data, on tls v1 the encrypted data is preceded by the 2 bytes length of the encrypted data itself. svn path=/trunk/; revision=17244
2006-02-06From Paolo Abeni:Guy Harris1-7/+7
Set up to build on Windows if we have GNU TLS. Define "ssl_data_set()" regardless of whether we have GNU TLS or not, as it's used in either case. Get rid of an extra #include of epan/gnuc_format_check.h. svn path=/trunk/; revision=17177
2006-02-06Tag some #else/#endif to make it clearer what tests they handle.Guy Harris1-13/+12
Also, remove some trailing white space. svn path=/trunk/; revision=17175
2006-02-06No C++/C99-style comments, please.Guy Harris1-2/+4
svn path=/trunk/; revision=17171
2006-02-06Include <epan/gnuc_format_check.h> in packet-ssl-utils.h, notGuy Harris1-1/+0
packet-ssl-utils.c; everything else that includes it is a header file. svn path=/trunk/; revision=17170
2006-02-06From Paolo Abeni: fix some warnings, etc..Guy Harris1-77/+121
svn path=/trunk/; revision=17169
2006-02-04Paolo AbeniJörg Mayer1-0/+1265
I have developed an external plugin to enable ssl decryption in ethereal. Me - Remove unnecessary $Id$ from acinclude.m4 - Added packet-ssl-utils.h to Makefile.common - Fixed a few warnings TODO - Lots of warning fixes (see separate mail) - Reformat function headers to read like the others do (return value<newline>function-name...) - Test on Windows platform - Review the patch to packet-ssl.c and new files packet-ssl-utils.[hc] svn path=/trunk/; revision=17156