[Bug 1378] New: incorrect port check in parse_forward()
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Tue Oct 23 03:43:41 EST 2007
https://bugzilla.mindrot.org/show_bug.cgi?id=1378
Summary: incorrect port check in parse_forward()
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: ssh
AssignedTo: bitbucket at mindrot.org
ReportedBy: Jan.Pechanec at Sun.COM
Created an attachment (id=1365)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1365)
fix for the bug
the check whether ports were parsed OK is not correct; it doesn't
recognize when only one of the ports is incorrect:
# ./ssh -L 99999:localhost:4444 localhost
Password:
# ./ssh -L 99999:localhost:88888 localhost
Bad local forwarding specification '99999:localhost:88888'
this happens only when root uses ssh(1). Unprivileged client gets an
error "privileged port".
patch attached.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list