From cc64d0175a3c2c974709e9962c00fbe04d74c43f Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 15 Mar 2014 15:58:03 -0400 Subject: journal-remote: HTTP(s) support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The whole tool is made dependent on µhttpd availability. It should be easy to make the µhttpd parts conditional, but since transfer over HTTP seems to be the primary use case, currently this is not done. Current implementation uses nested epoll loops: sd-event is used for the external event loop, and µhttpd uses epoll in its own loop. Unfortunately µhttpd does not expose enough information to add the descriptors it uses to the external event loop. This means that starvation of other events is possible, if one of the inner µhttpd loops is constantly busy. This means that µhttpd servers should not be mixed with other sources. The TLS authentication parts haven't been really tested properly, and should not be take too seriously. --- man/systemd-journal-remote.xml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'man/systemd-journal-remote.xml') diff --git a/man/systemd-journal-remote.xml b/man/systemd-journal-remote.xml index 036d0bcb4a..ef123ce481 100644 --- a/man/systemd-journal-remote.xml +++ b/man/systemd-journal-remote.xml @@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> - + systemd-journal-remote @@ -130,8 +130,8 @@ along with systemd; If not, see . - must be an address - suitable for (c.f. + ADDRESS must be an + address suitable for (c.f. systemd.socket5). systemd-journal-remote will listen on this socket for connections. Each connection is expected to be a @@ -139,6 +139,21 @@ along with systemd; If not, see . + + + + + ADDRESS must be an + address suitable for (c.f. + systemd.socket5). + HTTP or HTTPS server will be spawned on this port, + respectively, for the first and second options. Currenntly + Only POST requests to /upload with + Content-Type: application/vnd.fdo.journal + are supported. + + + $LISTEN_FDS -- cgit v1.2.3-54-g00ecf