EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TTY_OP_ISPEED and TTY_OP_OSPEED

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#11347
Posted: 10/15/2009 05:35:37
by Mike Scriven (Standard support level)
Joined: 05/19/2006
Posts: 102

Does SBB ActiveX version 5.0.107 support these opcodes? I don't see them in the help file. My app is connecting to an OpenVMS SSH and is running very slowly. Very small SSH packets are being received. PuTTY runs much faster and is using these opcodes set to 38400,38400. Apparently the default is 300,300!

Thanks,
Mike
#11348
Posted: 10/15/2009 05:50:51
by Eugene Mayevski (EldoS Corp.)

I have no idea what these opcodes mean, but SecureBlackbox doesn't support *any* opcodes. SecureBlackbox provides a transport for generic data and it doesn't care about what data is transferred over SSH channel. If you mean that Putty sends those opcodes and communication goes faster, than you can send these codes yourself as well.

If you describe your actual task, maybe we will be able to address it's problems rather than digging into opcode question.


Sincerely yours
Eugene Mayevski
#11349
Posted: 10/15/2009 05:56:44
by Mike Scriven (Standard support level)
Joined: 05/19/2006
Posts: 102

Thanks, I'll try sending them as SetOpCodes(128/129, 38400).

What does SBB send in the SSH_MSG_CHANNEL_OPEN message for the maximum packet size?

My problem is that my app is receiving very small SSH packets but PuTTY is receiving the same data all wrapped together into one large SSH packet.

Mike
#11350
Posted: 10/15/2009 06:39:14
by Mike Scriven (Standard support level)
Joined: 05/19/2006
Posts: 102

I'm using my own socket and handling OnSendElsimplesshclientx and OnReceiveElsimplesshclientx. In these handlers I would like to trace the unencrypted SSH packets so I can see what is being sent/received. Is there a function to unencrypt these packets?

Thanks
Mike
#11351
Posted: 10/15/2009 06:45:40
by Eugene Mayevski (EldoS Corp.)

The packet size is 32Kb for Tectia and WS_FTP servers and 262144 bytes otherwise. This is for SecureBlackbox 7.1, I can't say for sure for version 5.0.

Did you try running version 7.1 to check speed? SSH and SFTP are improved for better compatibility with various servers all the time, so it's very likely that newer version will work faster for you.


Sincerely yours
Eugene Mayevski
#11352
Posted: 10/15/2009 06:53:33
by Mike Scriven (Standard support level)
Joined: 05/19/2006
Posts: 102

Thanks. I haven't tried version 7.1 yet. It looks like a lot of work to upgrade.

Mike
#11353
Posted: 10/15/2009 07:02:22
by Eugene Mayevski (EldoS Corp.)

You can try building a test case with it to check if it solves your speed problems.


Sincerely yours
Eugene Mayevski
#11354
Posted: 10/15/2009 07:14:36
by Mike Scriven (Standard support level)
Joined: 05/19/2006
Posts: 102

SetOpCodes(128, 38400) doesn't work, I get error message "Invalid OPCODE index" when during connection. Is that coming from SBB?
#11355
Posted: 10/15/2009 08:10:06
by Eugene Mayevski (EldoS Corp.)

Yes, this is SecureBlackbox's message. However, you are most likely looking in the wrong direction. If you explain a bit, how you use the component, maybe we will find some solution.


Sincerely yours
Eugene Mayevski
#11356
Posted: 10/15/2009 08:18:36
by Mike Scriven (Standard support level)
Joined: 05/19/2006
Posts: 102

RFC 4254 section 8 (Encoding of Terminal Modes) states:

"Opcodes 1 to 159 have a single uint32 argument."

so SBB should accept an index up to 159.

However you are right, I am looking in the wrong direction. I changed the terminal type to "xterm" and it seems to have increased speed (so far).

Did you see my other question about tracing unencrypted SSH packets?

Thanks
Mike
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 3929 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!