Page 1 of 1

Unexpected Packet type

Posted: Mon 27 Apr 2015 18:55
by egrobler
Hi,

I am trying to connect to a Mikrotik router (RouterOS) but I get a protocol error "unexpected packettype error".
I can connect using putty.

Any suggestions?

Best regards
Eric

Re: Unexpected Packet type

Posted: Tue 28 Apr 2015 07:57
by ViktorV
Thank you for the information. We are investigating this behavior of SecureBridge, and we will inform you about the results.

Re: Unexpected Packet type

Posted: Tue 28 Apr 2015 09:13
by egrobler
Thanks for your prompt reply,

I messed around last night and in 2 places I just ignored the error and I managed to login and get a directory listing, but did not really test.

For example I turned response=3 into success:

Code: Select all

TSsh2Connection.ProcessAuthenticationResponse
  while True do begin
    Response := TSSH2DataReader.Create(SyncReceivePacket);
    try
      h := Response.ReadPacketType;
      IF H=3 THEN H := SSH_MSG_USERAUTH_SUCCESS;

Regards
Eric

Re: Unexpected Packet type

Posted: Wed 06 May 2015 12:19
by ViktorV
The new SecureBridge version 6.5.8 with a fix for the "Protocol error: unexpected packet type 3" error is available for download now.