xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 7 years ago

Closed 7 years ago

Last modified 8 months ago

#704 closed defect (fixed)

xpra does not correctly parse IPv6 addresses

Reported by: Ionic Owned by: Ionic
Priority: major Milestone: 0.15
Component: client Version: trunk
Keywords: Cc:


Giving xpra any IPv6 address to connect to, it fails connecting due to wrong parsing.

Note that this usage is indeed illegal, as it does not specify the address in square brackets, required when allowing abbreviated addresses (with ::):

xpra attach ssh:ionic@2a01:4f8:d16:601:20e:8eff:fe31:5cda:99

xpra initialization error: ('invalid ssh port specified: %s', '4f8:d16:601:20e:8eff:fe31:5cda')

But this should work just fine:

xpra attach ssh:ionic@[2a01:4f8:d16:601:20e:8eff:fe31:5cda]:99

xpra initialization error: ('invalid ssh port specified: %s', '4f8:d16:601:20e:8eff:fe31:5cda]')

Also make sure to please test link-local addresses, like fe80::21b:21ff:fe2a:c4fe%en1 (personal example only, will not work on your machine.)

Change History (5)

comment:1 Changed 7 years ago by Antoine Martin

Milestone: 0.15
Owner: changed from Antoine Martin to Ionic

This should be fixed in r7874.
Please let me know so I can apply to v0.14.x.

Note: I think it is preferable to use this syntax for ipv6 addresses, because it is more clear and also allows you to specify the ssh port number:


comment:2 Changed 7 years ago by Antoine Martin

Backport for v0.14.x in r7896.

comment:3 Changed 7 years ago by Ionic

Resolution: fixed
Status: newclosed

Thanks, seems to be working fine with 0.14.9.


Last edited 7 years ago by Ionic (previous) (diff)

comment:4 Changed 4 years ago by Antoine Martin

Follow up: #1594

comment:5 Changed 8 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/704

Note: See TracTickets for help on using tickets.