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

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

Gerald Combs <gerald@xxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerald@xxxxxxxxxxxxx

--- Comment #4 from Gerald Combs <gerald@xxxxxxxxxxxxx> 2009-11-29 14:31:14 PST ---
(In reply to comment #3)
> - to support compressed ipv6 address string.
> Question: do we have existing function? that uncompressed IPv6 addresses?

You might try get_host_ipaddr6 in epan/addr_resolv.c.

> - nice to have: support for "any ipv4", "any ipv6" and "any" for both. 
> Question: if Any IPv4 is represented like this:
> char ip_addr_any[] = {0,0,0,0};
> 
> how is this represented in IPv6?  I suppose that would be ::

I'm pretty sure :: is correct.

> - replace sscanf (if possible)
> see line#72 of the attached patch, im quite sure there's a more elegant way to
> do this..

The SSL decryption preferences should probably be replaced with a UAT (User
Accessible Table). UATs are defined in epan/uat.h and you can find examples in
several dissectors including ISAKMP, HTTP, and SNMP.

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