Control: tags -1 + pending

On 27.04.2023 19:23, Ivan Vilata i Balaguer wrote:
Preuße, Hilmar (2023-03-23 23:01:22 +0100) wrote:
On 13.03.2014 16:37, Ivan Vilata i Balaguer wrote:

Hi,

The handling of IPv6 addresses is broken since the ``parse_host_entry()``
function in ``psshutil.py`` thinks the colons in it are an indication for a
port and the last component is taken apart.  Enclosing the address in brackets
doesn't work either because the host name resolution includes the brackets
around the IP address.

Upstream released version 2.3.5, which says "Fix IPv6 address as host".
I've put new packages on [1]. Could you check if they solve the issue?

[1] https://freeshell.de/~hille42/pssh/

2. A bracketed IPv6 works just fine.

Yes, this is expected.

3. A bracketed IPv6 plus `:PORT_NUMBER` raises `TypeError` in
    psshlib/task.py:40 as it tries to join the host string to the integer port.

So I'd say that the original issue is fixed as per point 2, but using an
alternative port will fail as per point 3 (though that wasn't part of the
issue).

I tag that bug as pending, but I won't push the new version to bookworm.
Sorry!

Hilmar

Reply via email to