Wireshark-bugs: [Wireshark-bugs] [Bug 3343] SSL decryption support for IPv6

Date: Sun, 29 Nov 2009 13:04:48 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3343

Ivan Sy <ivan_jr@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |ivan_jr@xxxxxxxxx
           Platform|SPARC                       |All
            Summary|No SSL decryption using     |SSL decryption support for
                   |IPv6                        |IPv6
         OS/Version|Solaris                     |All

--- Comment #2 from Ivan Sy <ivan_jr@xxxxxxxxx> 2009-11-29 13:04:47 PST ---
hi all,

i managed some ipv6 www servers and to my suprise to know that WS doesnt
decrypt over SSL. So i did something and im attaching the patch here. I'm
positive that there's a lot of room for improvements for this patch. for your
review and comments please.

thanks,

format:
(taken from http://wiki.wireshark.org/SSL)

127.0.0.1,443,http,/path/to/snakeoil2.key;10.1.1.1,8080,smtp,/other/path/key.pem

(proposed)
2001:db8:dead:beef:cd53:5203:efb:4e80,443,http,/path/to/snakeoil2.key;2001:db8:dead:beef:0:0:0:1,8080,smtp,/other/path/key.pem

Notes:
- tested with 443 https only (TLS-RSA with RC4 128 SHA)
- patch still uses the sscanf technique, i think there's something there to
redo.
- "any" is supported for ipv4 only. 

----
Version 1.3.3svn31120

Copyright 1998-2009 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.16.6, with GLib 2.22.2, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with c-ares 1.6.0, with Lua 5.1, without Python, with GnuTLS 2.8.5, with Gcrypt
1.4.4, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built Nov 30
2009), with AirPcap, with new_packet_list.

Running on 32-bit Windows Vista Service Pack 2, build 6002, with WinPcap
version
4.1.1 (packet.dll version 4.1.0.1753), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.8.5, Gcrypt 1.4.4, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 21022

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.