[Merge] lp:~jamesodhunt/upstart/upstart-local-bridge into lp:upstart
James Hunt
james.hunt at canonical.com
Thu Jul 25 19:55:35 UTC 2013
James Hunt has proposed merging lp:~jamesodhunt/upstart/upstart-local-bridge into lp:upstart.
Requested reviews:
Upstart Reviewers (upstart-reviewers)
For more details, see:
https://code.launchpad.net/~jamesodhunt/upstart/upstart-local-bridge/+merge/177027
This branch introduces a new bridge (the upstart-local-bridge) that accepts connections on a local socket and emits a named event (decided upon by the bridge, not the client), appending a name=value pair read from the socket to the event.
This bridge is extremely simple and as a result suffers from some limitations...
= Limitations =
- Only Local sockets are supported.
- The data is read in line-oriented fashion from the socket and only a single name=value pair is read / line
(meaning that the event can only have a single variable added by the client).
- Only a single client connection is serviced at any one time.
= Security =
By default, the bridge will only accept connections from clients running under the same uid as the bridge, the expectation being that the bridge will run as root and only accept connections from root clients).
The bridge does nothing to prevent a possible DoS should a client send an arbitrarily large amount of data in the single name=value pair.
--
https://code.launchpad.net/~jamesodhunt/upstart/upstart-local-bridge/+merge/177027
Your team Upstart Reviewers is requested to review the proposed merge of lp:~jamesodhunt/upstart/upstart-local-bridge into lp:upstart.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 24941 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20130725/69136344/attachment-0001.diff>
More information about the upstart-devel
mailing list