Hi all,

I work with Tom, and I'm more deeply entrenched in this project than he is, so 
let me try to "clarify" what Tom is asking for.

Here's the facts:

* We have a development server running RedHat Linux 5.6 and UniVerse 10.3.3.
* The development server has the uvtelnetd service installed and running.
* The development server has ssh installed and running.
* We can use HostAccess to connect to the server using BOTH ssh and "Secure 
Sockets (SSL)" which makes an encrypted telnet session to the uvtelnetd 
backend.  This proves to me that uvtelnetd is running successfully.

Here's the task at hand:

We are working with our vendor to replace a front-end application written in 
Delphi with a new front-end application written in .net.  The vendor has 
decided to remove support for SSH and telnet completely.  The only connection 
they will make is to a UniVerse server running uvtelnetd.  The way I understand 
this, it is simply Telnet over SSL.  They have this process working with a 
UniVerse server running on Windows.  We are now trying to make it work with our 
UniVerse server running on linux and it will not connect.

Has anyone gone through something like this before?  If so, can you help us 
understand why it will connect to Windows uvtelnetd, and not linux uvtelnetd?

Thanks,
-Mike


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Brian Leach
Sent: Tuesday, August 02, 2011 10:05 AM
To: U2 Users List
Subject: Re: [U2] Using SSL, with .Net to make a connection to Linux/Unix

cd `cat /.uvhome`/bin
ls -ls uvtelnetd


But you only need this one is if you want to use their own secure telnet. 


Brian

Sent from my ASUS Eee Pad

Tom Whitmore <[email protected]> wrote:

>Actually, Universe ships a telnet for Window but not *nix.  The reason, 
>according to U2 support, is that *nix provides telnet and Windows does not.
>Tom
>
>-----Original Message-----
>From: [email protected] 
>[mailto:[email protected]] On Behalf Of Brian Leach
>Sent: Monday, August 01, 2011 6:34 PM
>To: John Thompson; [email protected]
>Subject: Re: [U2] Using SSL, with .Net to make a connection to Linux/Unix
>
>John
>
>Universe ships with its own secure telnet daemon for *nix running telnet over 
>ssl (uvtelnetd). That's what you need to configure.
>
>Brian
>
>Sent from my HTC
>
>----- Reply message -----
>From: "John Thompson" <[email protected]>
>Date: Mon, Aug 1, 2011 21:44
>Subject: [U2] Using SSL, with .Net to make a connection to Linux/Unix
>To: "U2 Users List" <[email protected]>
>
>Another thing to think about is that by default most Linux distro's heavily 
>restrict telnet.
>
>My first question would be, are your Universe users using telnet or ssh?
>
>If they are using ssh only, then I doubt a telnet system is even installed on 
>the Linux machine.
>
>If they are using telnet, you might try checking the following files to see if 
>there are any security restrictions set:
>
>One place might be /etc/hosts.allow AND /etc/hosts.deny Here is a random blog 
>entry on tcpwrappers (One package that can restrict telnet access) 
>http://linuxhelp.blogspot.com/2005/10/using-tcp-wrappers-to-secure-linux.html
>
>I think also many linux distro's use xinetd (instead of inetd) to run their 
>telnet daemon.
>
>So, there may be some restrictions there also.
>I think the config file is called:
>xinetd.conf
>http://www.xinetd.org/sample.shtml
>
>>From a root prompt... do a:
>find / -name xinetd.conf
>
>Other than that, I've never done a .NET telnet connection, but, I have worked 
>with configuring telnet on Linux.
>
>
>
>On Sun, Jul 31, 2011 at 8:49 PM, Tom Whitmore <[email protected]> wrote:
>
>> Thank you everyone.  I'll let you know how things progress this week.
>> Tom
>>
>> -----Original Message-----
>> From: [email protected] [mailto:
>> [email protected]] On Behalf Of Brian Leach
>> Sent: Saturday, July 30, 2011 11:43 AM
>> To: 'U2 Users List'
>> Subject: Re: [U2] Using SSL, with .Net to make a connection to 
>> Linux/Unix
>>
>> Tom
>>
>> I don't know what '.NET TELNET tool' you refer to - but I wrote a 
>> customized terminal emulator in .NET for a client that makes a 
>> connection Telnet/SSL connection to UniVerse on Solaris and tested fine on 
>> Linux.
>>
>> For the server configuration and details on setting up the secure 
>> telnet daemon take a look at my blog (you can get to it from my website).
>>
>> As far as the client is concerned, I can't give too much away as I 
>> don't own it - it was funded by a customer - but I can probably share 
>> the following if you're tempted to roll your own!
>>
>> 1. for the low level connection I use a SecureTCPClient that wraps an 
>> SslStream - here are the salient pieces:
>>
>> public delegate void SecureConnectionResultsCallback(object sender, 
>> SecureConnectionResults args);
>>    public delegate void ReceivedDataEvent( object sender, string data);
>>    public delegate void ReceiveErrorEvent( object sender );
>>
>>    public class SecureTcpState
>>    {
>
>
>_______________________________________________
>U2-Users mailing list
>[email protected]
>http://listserver.u2ug.org/mailman/listinfo/u2-users
>_______________________________________________
>U2-Users mailing list
>[email protected]
>http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to