[Bug 3386] [FEATURE REQUEST]Option to set client source port.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Feb 4 17:07:34 AEDT 2022


https://bugzilla.mindrot.org/show_bug.cgi?id=3386

--- Comment #5 from Darren Tucker <dtucker at dtucker.net> ---
Just noticed a problem with this patch: previously bare IPv6 addresses
would be accepted:

$ ssh -vvv -b '::1' ::1

however with this patch it can't distinguish between a bare IPv6
address and an optional port:

$ ssh/obj/ssh -b '::1' ::1
Invalid BindAddress specification '::1'
ssh: connect to host ::1 port 22: failure

So this would potentially break currently working configs.

We have a convention of putting addresses inside square brackets for
that case, but that doesn't work in the patch (hpdelim2 has code to
support this but AFAICT it doesn't work, at least for this case).

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list