Unexpected Packet type

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
egrobler
Posts: 29
Joined: Mon 03 Dec 2012 14:35

Unexpected Packet type

Post by egrobler » Mon 27 Apr 2015 18:55

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unexpected Packet type

Post by ViktorV » Tue 28 Apr 2015 07:57

Thank you for the information. We are investigating this behavior of SecureBridge, and we will inform you about the results.

egrobler
Posts: 29
Joined: Mon 03 Dec 2012 14:35

Re: Unexpected Packet type

Post by egrobler » Tue 28 Apr 2015 09:13

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unexpected Packet type

Post by ViktorV » Wed 06 May 2015 12:19

The new SecureBridge version 6.5.8 with a fix for the "Protocol error: unexpected packet type 3" error is available for download now.

Post Reply