Somehow test and compare the behavior between sshesame and OpenSSH server
jaksi opened this issue · 2 comments
Questions:
- What version and configuration of OpenSSH?
- What scenarios (channels, requests, data)?
Idea: Create a basic SSH client in Go which records and dumps server behavior (requests, channels, data, ordering), run it against OpenSSH and sshesame, compare the two results.
Idea: add optional debug logs on all received global requests, channels and channel requests. Build a test client which parses such logs and sends them both to a control server (OpenSSH perhaps) and sshesame. This would let us record sessions with sshesame and play them back against itself and a known good implementation and find differences.
Other idea: build a simple SSH proxy which logs global requests, channels, channel data and channel requests (everything in both directions between the client and the server) in some machine friendly format and a test which takes such logs, plays back client-initiated traffic and compares responses.