diff options
Diffstat (limited to 'Reaktor/UDP/README')
-rw-r--r-- | Reaktor/UDP/README | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Reaktor/UDP/README b/Reaktor/UDP/README new file mode 100644 index 00000000..587c8046 --- /dev/null +++ b/Reaktor/UDP/README @@ -0,0 +1,52 @@ +# Specifications +From 2011-09-16: +## Use Case + [ + { + "port": 1337, + "pattern": "XXYY", + "comment" : "does the right thing", + "action" : { + "POST": { + "url" : "xyz", + "data" : "abc" + } + } + } + ] +## Head definition + { + "bind_addr" : "127.0.0.1", + "port" : 1234, + "pattern" : "XXZZ", + "action" : { }, + } +bind is an optional entry which lets the user define a bind address for the server. +terminator is optional which lets the user define the EOM terminator. + +## Actions +### POST +"POST" : { + "url" : "http://euer.krebsco.de/", + "data" : "{ \"something\" : \"else\" }" + } + +### PROCESS +Process is taken from //hyper/process/test/bc.json - rev:a7fd3f + +stdout/stderr are optional and if left away data will be written to real stdout/stderr +in the process in envp => "payload" will be allocated for the given payload from the network + + "PROCESS" : { + { + "path": "/usr/bin/bc", + "argv": [ + "bc" + ], + "envp": { + "was": "geht", + }, + "stdout": "uri:///path/to/somewhere", + "stderr": "uri:///path/to/somewhere" + } + } |