SecureBridge, Unidac, remote server

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
toneskok
Posts: 9
Joined: Tue 25 Sep 2012 11:14

SecureBridge, Unidac, remote server

Post by toneskok » Wed 25 Jan 2017 07:05

Hi.
I'm using Unidac 4.6.11 and SecureBridge 7.3.4. I'm trying to access MSSQL database over SSH tunnel. I followed instructions and installed CRSSHIOhandler and connected it to UniConnection.
I have SSH server already on remote network, SSH connection from SSHClient to SSHServer is working.
But when I try to connect to database (remote server IP,....) I get error that SQL server does not exists.
I also tried demo provided with Unidac and it also cannot connect to DB.
I think that UniConnection does not make request over CRSSHIOHandler and that is reason that DB server does not exists.
Or perhaps Unidac and SecureBridge versions are not compatible.

Any help appreciated.

Regards, Tone

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

Re: SecureBridge, Unidac, remote server

Post by ViktorV » Thu 26 Jan 2017 10:18

Currently SecureBridge supports integration with UniDAC only when using MySQL and PostgreSQL providers. Therefore, unfortunately, you will not be able to connect to SQL Server through SSH using UniDAC and SecureBridge components.

toneskok
Posts: 9
Joined: Tue 25 Sep 2012 11:14

Re: SecureBridge, Unidac, remote server

Post by toneskok » Fri 27 Jan 2017 06:20

Ok, that is not good for me since I purchased components just for that reason (and did not read support specifications through). Are there any plans to support other providers? I'm mostly using MSSQL in Firebird providers for my clients.

Btw, I solved problem using SSHChannel and local port forwarding capabilities of channel to connect to remote database. UniConnection connect to localhost on port xy and channel reroutes all traffic from that port to remote sshserver and remote IP. My solution works, can I expect some problems with that configuration?

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

Re: SecureBridge, Unidac, remote server

Post by ViktorV » Fri 27 Jan 2017 13:48

MSSQL before connecting through TCP/IP can use UDP protocol. In this case, it is impossible to organise the work using local port forwarding. If a connection to the server is direct - everything should work correctly.
We will consider adding compatibility of SecureBridge and UniDAC when using SQL Server in Direct mode. Adding this support when working with InterBase provider won't work out, because UniDAC interacts with InterBase/Firebird using the client library.

toneskok
Posts: 9
Joined: Tue 25 Sep 2012 11:14

Re: SecureBridge, Unidac, remote server

Post by toneskok » Fri 27 Jan 2017 15:52

Ok, I understand that connecting to remote DB over SSH only with SSHClient, UniConnection and SSHIOHandler connected is limited because of using external library. In case of Direct mode I see that it can bo done.
But somehow I don't agree with you that I could not manage to connect to remote FB over SSH. If SSHClient component is working like putty works then I could solve it same was as I did with SSHChannel.
This can be done with putty with no problem when using port forwarding capabilities of client.

I will try same config but DB is going to be FB on remote server. I'll post here results.

Thanks for help.

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

Re: SecureBridge, Unidac, remote server

Post by ViktorV » Tue 31 Jan 2017 08:53

Perhaps you misunderstood us. We meant that using local port forwarding will work correctly when connecting to Firebird. And it is not possible to connect to Firebird using CRSSHIOHandler.

Post Reply