Ticket #72 (closed defect)

Opened 9 years ago

Last modified 9 years ago

Illegal '-' used in identification banner

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: misc Version:
Keywords: Cc: bagder
Blocked By: Blocks:

Description

RFC 4253, section 4.2, states that:

"Both the 'protoversion' and 'softwareversion' strings MUST consist of printable US-ASCII characters, with the exception of whitespace characters and the minus sign (-)."

However, the LIBSSH2_VERSION define in libssh2.h, which is used to build the 'softwareversion' part of LIBSSH2_SSH_BANNER and LIBSSH2_SSH_DEFAULT_BANNER, contains a '-' between the version number and the date.

I haven't encountered any clients that complain over this, but it is a violation of the RFC and also trivial to correct, so it should be.

I would suggest simply replacing the '-' with a '_'.

Björn Stenborg

Change History

comment:1 Changed 9 years ago by bagder

Thanks, committed now. cased closed!

Note: See TracTickets for help on using tickets.