ircsnapshot icon indicating copy to clipboard operation
ircsnapshot copied to clipboard

IPv6 Support

Open thefinn93 opened this issue 11 years ago • 3 comments

(<class 'socket.gaierror'>, gaierror(-5, 'No address associated with hostname'), <traceback object at 0x17f9ab8>)

no v6 support :(

thefinn93 avatar Jan 31 '14 22:01 thefinn93

I have some prospective code for this, just need to test.

Bwall avatar Feb 01 '14 01:02 Bwall

Somewhere else I saw you suggest use of command line args to enable v6. Why not just socket.getaddrinfo()?

thefinn93 avatar Feb 01 '14 01:02 thefinn93

The server address being parsed on the command line right now is host[:port] and the parsing for that is very simple. Just need to separate the host and port into separate arguments so its still easy to parse. That is in the prospective code.

One issue with getaddrinfo though is that if a hostname is supplied, it will try to resolve the hostname. I'll need to implement a means of explicitly resolving DNS over the proxy to avoid leaking if a proxy is being used.

Bwall avatar Feb 01 '14 01:02 Bwall