Skip to content

Instantly share code, notes, and snippets.

@davidbirdsong
Last active August 29, 2015 14:25
Show Gist options
  • Select an option

  • Save davidbirdsong/a6c108ec88412b1f908c to your computer and use it in GitHub Desktop.

Select an option

Save davidbirdsong/a6c108ec88412b1f908c to your computer and use it in GitHub Desktop.
socklog over tcp
[david@foulplay ~]$ sudo tcpsvd -c 300 -u log 0 5112 socklog -R ucspi
local0.info: 2015-07-16T03:43:13Z cache-lax1420 flog-tls[406151]: foo bar
# in another shell
[david@foulplay ~]$ echo "<134>2015-07-16T03:43:13Z cache-lax1420 flog-tls[406151]: foo bar" | nc localhost 5112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment