Archive Index
This month's Index
|
Subject: [libssh2] [ libssh2-Bugs-2064371 ] Illegal '-' used in identification banner
[libssh2] [ libssh2-Bugs-2064371 ] Illegal '-' used in identification banner
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 21 Aug 2008 09:46:26 +0000
Bugs item #2064371, was opened at 2008-08-21 09:46
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
"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 '_'.
Bjrn Stenborg
----------------------------------------------------------------------
You can respond by visiting:
-------------------------------------------------------------------------
|