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