R
Ron Albright
I have a small PC running Fedora Core 3 with kernel 2.6.12-1.1380_FC3. On
it is a Java application that collects data from a serial port and sends
it to a server application. It can do this over a LAN (possible a
broadband internet connection) or a dialup internet connection. In some
cases it has a fixed IP and in some it uses DHCP. The connection can be
either through a normal socket or a SSL socket.
It works fine under all conditions except using SSL over the LAN when the
network interface is configured using DHCP. It works with a normal socket
over dialup or over the LAN with a fixed IP or DHCP. It works with the SSL
socket over dialup or over the LAN with a fixed IP but not DHCP. The
switch from fixed IP to DHCP can be on the same subnet with the
only change being the ifcfg-eth0 script and bringing the network interface
down and up. Switch it back and it works. I can bring up the network
interface with DHCP and switch the application from SSL to normal socket
without any other changes and it stops working. Switch it back and it
works.
The application has excellent logging and comprehensive exception
handling. Both sides show the connection but the app thread just seems to
freeze immediately after with no program exceptions of any kind.
A different small PC running Radhat 7.3 and a somewhat older version
of the app works fine even over SSL using DHCP.
I have no idea where to even start looking for this one. Any pointers on
things to check would be appreciated.
it is a Java application that collects data from a serial port and sends
it to a server application. It can do this over a LAN (possible a
broadband internet connection) or a dialup internet connection. In some
cases it has a fixed IP and in some it uses DHCP. The connection can be
either through a normal socket or a SSL socket.
It works fine under all conditions except using SSL over the LAN when the
network interface is configured using DHCP. It works with a normal socket
over dialup or over the LAN with a fixed IP or DHCP. It works with the SSL
socket over dialup or over the LAN with a fixed IP but not DHCP. The
switch from fixed IP to DHCP can be on the same subnet with the
only change being the ifcfg-eth0 script and bringing the network interface
down and up. Switch it back and it works. I can bring up the network
interface with DHCP and switch the application from SSL to normal socket
without any other changes and it stops working. Switch it back and it
works.
The application has excellent logging and comprehensive exception
handling. Both sides show the connection but the app thread just seems to
freeze immediately after with no program exceptions of any kind.
A different small PC running Radhat 7.3 and a somewhat older version
of the app works fine even over SSL using DHCP.
I have no idea where to even start looking for this one. Any pointers on
things to check would be appreciated.