From f9c83f59ad0f72cc5d3412da9225866739d36b50 Mon Sep 17 00:00:00 2001 From: coelner Date: Wed, 22 Mar 2023 13:39:31 +0100 Subject: [PATCH] minor --- code-snippets.md | 5 ++++- datadiode-driver.md | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/code-snippets.md b/code-snippets.md index bc0f625..d0aa150 100644 --- a/code-snippets.md +++ b/code-snippets.md @@ -53,4 +53,7 @@ curl -4 -k --anyauth -u "${credentials}" \ ``` ### socat as syslog server -`socat -u udp4-listen:514,bind=192.0.2.10, open:/tmp/syslog,creat,append` \ No newline at end of file +`socat -u udp4-listen:514,bind=192.0.2.10, open:/tmp/syslog,creat,append` + +### grep on binary text data +`tr '[\000-\011\013\177-\377]' '.' < Logfile.txt | grep anything` \ No newline at end of file diff --git a/datadiode-driver.md b/datadiode-driver.md index c834342..f0625dc 100644 --- a/datadiode-driver.md +++ b/datadiode-driver.md @@ -1,4 +1,4 @@ -# datadiode netzwork driver +# datadiode network driver ## loose thoughts - based on ethernet or lwl