| Summary: | ssh should handle leading comma in authentication method list | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Graeme Hewson <ghewson> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED WONTFIX | ||
| Severity: | normal | CC: | djm, dtucker |
| Priority: | P2 | ||
| Version: | 4.7p1 | ||
| Hardware: | ix86 | ||
| OS: | Linux | ||
|
Description
Graeme Hewson
2007-09-12 20:57:00 AEST
What is the endpoint that is exhibiting this behaviour? BTW zero-length name entries a name-list are expressly prohibited by RFC4251:
A string containing a comma-separated list of names. A name-list
is represented as a uint32 containing its length (number of bytes
that follow) followed by a comma-separated list of zero or more
names. A name MUST have a non-zero length, and it MUST NOT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
contain a comma (","). As this is a list of names, all of the
elements contained are names and MUST be in US-ASCII.
It's a Netscreen firewall. It only exhibits this behaviour when we try to log in to the admin account, and we intend to change the config to allow publickey,password authentication. I still maintain it's possible to interpret ",password" as one name, not as two with one having zero length. (In reply to comment #4) > I still maintain it's possible to interpret ",password" as one name, > not as two with one having zero length. The comma is a separator. What's it separating? (In reply to comment #4) > I still maintain it's possible to interpret ",password" as one name, > not as two with one having zero length. A string containing a comma-separated list of names. A name-list is represented as a uint32 containing its length (number of bytes that follow) followed by a comma-separated list of zero or more names. A name MUST have a non-zero length, and it MUST NOT ^^^^^^^^^^^^^^^ contain a comma (","). As this is a list of names, all of the ^^^^^^^^^^^^^^^^^^^^^^ elements contained are names and MUST be in US-ASCII. Close resolved bugs after release. |