[Bug 1734] IPv6 address in port forward options (-L) requires square brackets

2024-02-24 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1734

Marc Herbert  changed:

   What|Removed |Added

 CC||marc.herbert+mindrot@gmail.
   ||com

--- Comment #6 from Marc Herbert  ---
Note "ssh [::1]" still does not work.

https://bugzilla.mindrot.org/show_bug.cgi?id=1602 (2009)

(ssh://[127.0.0.1] works!)

-- 
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.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1734] IPv6 address in port forward options (-L) requires square brackets

2010-08-26 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1734

Darren Tucker  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #5 from Darren Tucker   ---
With the release of OpenSSH 5.6p1 this bug is now considered closed. 
If you have further problems please reopen or file a new bug as
appropriate.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1734] IPv6 address in port forward options (-L) requires square brackets

2010-08-04 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1734

Damien Miller  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #4 from Damien Miller   ---
I have removed mention of the alternate syntax from our manpages. It is
non-standard, rarely used and was implemented at a time before
[addr]:port was supported in OpenSSH or as popular.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1734] IPv6 address in port forward options (-L) requires square brackets

2010-06-17 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1734

--- Comment #3 from Damien Miller   ---
You shouldn't need to escape the square brackets for shells unless you
happen to have files in the local directory that match the pattern
generated, since they should pass patterns that fail to match through
verbatim.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1734] IPv6 address in port forward options (-L) requires square brackets

2010-04-08 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1734

--- Comment #2 from jsburw...@gmail.com 2010-04-09 11:50:52 EST ---
(In reply to comment #1)
> The cause of this seems to be misc.c:hpdelim():
> 
>373  if (*s == '[') {
>374  if ((s = strchr(s, ']')) == NULL)
>375  return NULL;
>376  else
>377  s++;
>378  } else if ((s = strpbrk(s, ":/")) == NULL)
> 
> Consider a forwarding string of /::1/22. hpdelim() will correctly
> extract the first argument, but when called again will break inside the
> IPv6 address. This must have been broken for some time, since I don't
> think this code has been touched in a while. 
> 
> Perhaps it would be better to just remove the promise of '/' separating
> the strings and just require square brackets?

Perhaps.  But it's a bit annoying to have to type the escaped square
brackets.  Maybe use something shells don't treat as special instead? 
But then doing something like that would be just as much effort as
fixing the bug.  :-)

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1734] IPv6 address in port forward options (-L) requires square brackets

2010-04-08 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1734

Damien Miller  changed:

   What|Removed |Added

 CC||d...@mindrot.org
 Blocks||1708

--- Comment #1 from Damien Miller  2010-04-09 11:42:11 EST ---
The cause of this seems to be misc.c:hpdelim():

   373  if (*s == '[') {
   374  if ((s = strchr(s, ']')) == NULL)
   375  return NULL;
   376  else
   377  s++;
   378  } else if ((s = strpbrk(s, ":/")) == NULL)

Consider a forwarding string of /::1/22. hpdelim() will correctly
extract the first argument, but when called again will break inside the
IPv6 address. This must have been broken for some time, since I don't
think this code has been touched in a while. 

Perhaps it would be better to just remove the promise of '/' separating
the strings and just require square brackets?

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1734] IPv6 address in port forward options (-L) requires square brackets

2010-03-11 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1734

jsburw...@gmail.com changed:

   What|Removed |Added

 CC||jsburw...@gmail.com

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs