Displaying 3 results from an estimated 3 matches for "ssh2_msg_min".
2023 Apr 09
2
"Bad packet length 1231976033"
...ots of error messages
which start with this which are sent with error() or fatal() or
fprint(stderr, ...), but two which stand out as being a bit different:
# kex.c
?invalid:
??????????????? send_error(ssh, "Invalid SSH identification string.");
# packet.c
??????? if (*typep < SSH2_MSG_MIN || *typep >= SSH2_MSG_LOCAL_MIN) {
??????????????? if ((r = sshpkt_disconnect(ssh,
??????????????????? "Invalid ssh2 packet type: %d", *typep)) != 0 ||
If it happens to be either of these, then the tcpdump showing the
exchange prior to this point would be enlightening.
2023 Apr 09
1
"Bad packet length 1231976033"
I have a cron script that polls various machines for their configs and archives any changes.
When it connects to an OpenWrt router running "OpenSSH_9.1p1, OpenSSL 1.1.1s 1 Nov 2022", it sometimes gets this error:
Bad packet length 1231976033.
ssh_dispatch_run_fatal: Connection to 192.168.8.1 port 22: message authentication code incorrect
What's odd is that the length is *always*
2023 Apr 23
1
"Bad packet length 1231976033"
...his which are sent with error() or fatal() or fprint(stderr, ...), but two which stand out as being a bit different:
>
> # kex.c
>
> invalid:
> send_error(ssh, "Invalid SSH identification string.");
>
> # packet.c
>
> if (*typep < SSH2_MSG_MIN || *typep >= SSH2_MSG_LOCAL_MIN) {
> if ((r = sshpkt_disconnect(ssh,
> "Invalid ssh2 packet type: %d", *typep)) != 0 ||
>
> If it happens to be either of these, then the tcpdump showing the exchange prior to this point would be enlighten...