aboutsummaryrefslogtreecommitdiffstats
path: root/UDP/README
diff options
context:
space:
mode:
authorroot <root@krebs>2011-09-25 02:53:05 +0200
committerroot <root@krebs>2011-09-25 02:53:05 +0200
commit18e0376ffd9dee51f554f422b8e83bcfaa0ab218 (patch)
treee5cda395701b7b89d5a4d930f50e6302c14880ea /UDP/README
parent821f9a450a9140f1ef63fb317a564d0251bc967e (diff)
Reaktor/UDP: working release
Reaktor/UDP is customizable via a single json config parsed at the very beginning, starting a number of asynchronous UDP listeners. See Readme for more info
Diffstat (limited to 'UDP/README')
-rw-r--r--UDP/README7
1 files changed, 4 insertions, 3 deletions
diff --git a/UDP/README b/UDP/README
index ad7117f..587c804 100644
--- a/UDP/README
+++ b/UDP/README
@@ -5,6 +5,7 @@ From 2011-09-16:
{
"port": 1337,
"pattern": "XXYY",
+ "comment" : "does the right thing",
"action" : {
"POST": {
"url" : "xyz",
@@ -15,10 +16,9 @@ From 2011-09-16:
]
## Head definition
{
- "bind" : "127.0.0.1",
+ "bind_addr" : "127.0.0.1",
"port" : 1234,
"pattern" : "XXZZ",
- "terminator" : "\r\n"
"action" : { },
}
bind is an optional entry which lets the user define a bind address for the server.
@@ -35,6 +35,7 @@ terminator is optional which lets the user define the EOM terminator.
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" : {
{
@@ -43,7 +44,7 @@ stdout/stderr are optional and if left away data will be written to real stdout/
"bc"
],
"envp": {
- "was": "geht"
+ "was": "geht",
},
"stdout": "uri:///path/to/somewhere",
"stderr": "uri:///path/to/somewhere"