Socat help on Suse?

bapace

Senior member
Jul 7, 2004
720
1
0
I'm trying to secure log transfer off of a server and I am attempting to use Socat to do this. I am using the following syntax:

tail -f /var/log/messages | socat -u - openssl:servername:443,verify=0

The command runs and continues to run as if it is tailing a file, however, I get no response at the other end on my SSL listener. It DOES make the connection though, just nothing comes through. Netstat shows a connection established. Generic certs are being used, but they aren't checked for this example.

Thanks,

bapace
 

bapace

Senior member
Jul 7, 2004
720
1
0
The server is a windows box and does not have SSH for unknown reasons. The application that I am connecting to has a listener for SSLized traffic which is what I'm trying to use. I like that solution for *nix to *nix however. Thanks for the input, could come in use later.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
You realize that once the log file gets rotated you'll stop getting messages because tail will still have the old log file opened, right?