aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--UDP/README40
1 files changed, 40 insertions, 0 deletions
diff --git a/UDP/README b/UDP/README
new file mode 100644
index 0000000..d77ce7f
--- /dev/null
+++ b/UDP/README
@@ -0,0 +1,40 @@
+# Specifications
+From 2011-09-16:
+## Use Case
+ {
+ {
+ "port": 1337,
+ "pattern": "XXYY",
+ "action" : {
+ "POST": {
+ "url" : "xyz",
+ "data" : "abc"
+ }
+ }
+ }
+ }
+## 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
+
+ "PROCESS" : {
+ {
+ "path": "/usr/bin/bc",
+ "argv": [
+ "bc"
+ ],
+ "envp": {
+ "was": "geht"
+ },
+ "stdout": "/path/to/file",
+ "stderr": "/path/to/file"
+ }
+ }