On 10/14/10 10:46 PM, Ask Me wrote:
System requirement:
The proprietary hardware should be able to send and receive text data, most 
likely in xml format, to our corporate Mina Server behind firewall.
Server environment:
Mina Server running on Linux server located behind corporate firewall.
Client environment:
Proprietary hardware connected to a Windows PC using RS232 serial connection.
The Windows PC will have either a dial-up /dsl internet connection. The 
proprietary hardware always initiates the message.
Does that mean your Windows PC is opened to the external world ?
My current thoughts:
Install a Mina SerialConnector component on these client systems (Windows PCs) 
which will listen for data coming through the RS232 connector. When the serial 
IoHandlerAdapter receives a server message/request, it send that information to 
our server
Which server ? The MINA's one ?
using a SocketConnection and wait for the response. Once the server response is 
received, write that back to the serial port.
Concerns:
I will have to open up the server port on firewall to outside world,
Why ? Can't you add a proxy server in the middle ?
which might not be acceptable to the security administrator. In that case, I 
might have to move the server in front of the firewall.
Certainly not a good idea.
Any suggestions on how to design and implement such a system would be greatly appreciated.
Does any one have any examples on how to read and write to a serial port?
Just add a proxy between your source of infection (Windows) and your safe MINA server, and add some rules on your firewall to only accept connection from the proxy for the defined protocol.


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to