[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/5] misc: fix ssh_analyze_banner for ssh-keyscan(1)


On master, `ssh_analyze_banner` will reject a banner that looks like
"SSH-2.0-OpenSSH-keyscan".

Included here is a patch series for `ssh_analyze_banner` to add unit
tests, fix its error-checking, and a change to not consider failure to
parse OpenSSH-looking banners as fatal.

Jon Simons (5):
  tests: torture-misc: fix 4-space indentation
  tests: torture-misc: add torture_ssh_analyze_banner
  misc: reindent ssh_analyze_banner, update docs
  misc: fix error-checking in ssh_analyze_banner
  misc: relax fatal errors in ssh_analyze_banner

 src/misc.c                     | 166 +++++++++++++++++++++--------------------
 tests/unittests/torture_misc.c | 150 ++++++++++++++++++++++++++++++++++++-
 2 files changed, 232 insertions(+), 84 deletions(-)

--
2.13.2


Archive administrator: postmaster@lists.cynapses.org