Re: Disconnecting: Corrupted MAC on input




Hi All,



I am connecting my SSHD server through OpenSSH Client. I am pasting some
of commands in one shot and I see the terminal disconnects throwing "Bad
Packet Length <some number>" on the terminal screen. Google search says
that this happens when you're trying to connect to a ssh 2.x using a
ssh-client which uses ssh 1.x. But that didn't worked either. I tried
changing the cipher to blowfish. And I encountered a new problem.

Message Authentication Code.....

wikipedia ->
http://en.wikipedia.org/wiki/Message_authentication_code

"The MAC value protects both a message's integrity as well as its
authenticity, by allowing verifiers (who also possess the secret key) to
detect any changes to the message content."

Maybe you`re not alone at ya internetconnection.... (somebody manipulating
the packages)
Or bad Hardware.... ?

Try from another network (not related to your work or your home) and see
if that already helps.
You may also wanna do some network analyses to see if there`s a problem
and when where...
Corrupt cables can also appear during the usage of unshilded cables (close
to a power line). Normal TCP/IP Connections will simply resend the packet
as long as something goes wrong but Software like SSH disconnects you but
this implies also that there`s no problem at the TCP/IP layer.

Also use ssh -vvv wich may help to get further informations.

Also the network where your server is (rented server?) stored could be the
source of all 3v1l. :)

Btw:
The MAC is not related to the encryptionalgorithm you`ve specified.
See man ssh...
You can also specify alternative MACs.

Kind regards,
Rembrandt



Relevant Pages

  • Re: Using putty to debug ssh through a firewall
    ... packet 6 is retried 5 times until it times out. ... ssh client nor the Wireshark readout. ... ssh making a TCP connection itself. ... SSH Version string (server to client) ...
    (comp.security.ssh)
  • Re: Using putty to debug ssh through a firewall
    ... packet 6 is retried 5 times until it times out. ... connection in question, can you see the value of the "Send-Q" on ... ssh client nor the Wireshark readout. ... SSH Version string (server to client) ...
    (comp.security.ssh)
  • ssh server waits for an ACK from the client
    ... I have noticed that a large amount of data moving from an ssh server ... to the client pauses occasionally pending a packet from the client. ...
    (SSH)
  • bad packet length
    ... get the following bad packet length errors when trying to ssh to another ... server, however if I specify a diff. ... Local: Bad packet length 1349676916. ...
    (comp.security.ssh)
  • Packet cap diff... for classic dhcp over winxp s/w bridge prob.
    ... the server simultaneously. ... DHCP Discover - Transaction ID 0xe5448fbb ... Time delta from previous packet: ... Time since reference or first frame: ...
    (comp.os.linux.networking)