SourceForge has been redesigned. Learn more.
Close

#10 hmap connection failed on ipv6 hostname (rev 4588)

closed-fixed
None
5
2011-12-22
2011-12-21
No

Running the hmap plugin on a hostname for an ipv6 site generated the following error:
A w3afException occurred while running hmap: "Connection failed to hostname:443"

The socket was hard coded for AF_INET, added a socket.getaddrinfo() call before the connect to determine the address type before the connect and conditionally use AF_INET or AF_INET6 when needed.

Discussion

  • Chris Frederick

    Chris Frederick - 2011-12-21

    patch for ipv6 support for socket connection

     
  • Andres Riancho

    Andres Riancho - 2011-12-22

    Thanks for the patch! I just commited it to the trunk after some light testing in IPv4 environment. I'll trust you on the ipv6 side :)

     
  • Andres Riancho

    Andres Riancho - 2011-12-22
    • labels: 1093989 -->
    • milestone: 829888 -->
    • assigned_to: nobody --> andresriancho
    • status: open --> closed-fixed