Flavien Lebarbe wrote:
> "make tests" fails in dynamic-forward.sh on FreeBSD here. I just
> retried 4.3p2, "make tests" runs ok with this version, including
> dynamic-forward.sh

Thanks for testing.

> nc: unexpected reply size 31 (expected 10)
> ssh_exchange_identification: Connection closed by remote host
> cmp: EOF on /usr/home/flavien/src/openssh/regress/ls.copy
> corrupted copy of /bin/ls
> nc: unexpected reply size 31 (expected 10)

I suspect that's a bug in your netcat not handling the SOCKS header and
data arriving in the same packet. This was fixed in OpenBSD's nc a
while back:


Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
openssh-unix-dev mailing list