Hi all,
if you always wanted to see what was going on at the transport layer
(Martin and I wanted to see that to figure out why the web interface
restarts its client every so often - not that we found it out yet :(),
here is how you can do it using socat:
socat -v UNIX-LISTEN:/tmp/test.socket,fork
UNIX-CONNECT:/path/to/your/openxpki.socket | tee /tmp/socket.log
Then configure the client to use /tmp/test.socket as its socket and
you'll be able to track the complete socket communication.
Maybe this is useful for someone else, too. If you've never looked at
socat, you might want to have a look even without the need for debugging
"our" socket, it is also pretty useful for a lot of other things ...
Regards,
Alex
--
Dipl.-Math. Alexander Klink | IT-Security Engineer
[EMAIL PROTECTED] | working @ urn:oid:1.3.6.1.4.1.11417
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
OpenXPKI-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel