From 3b1c524154c876aecebc98787975cc2943100210 Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Tue, 10 Mar 2015 04:41:59 -0700 Subject: add REMOTE_ADDR and REMOTE_PORT for Accept=yes --- man/systemd.socket.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml index 3938345fac..6808179e87 100644 --- a/man/systemd.socket.xml +++ b/man/systemd.socket.xml @@ -357,7 +357,12 @@ daemons designed for usage with inetd8 to work unmodified with systemd socket - activation. + activation. + + For IPv4 and IPv6 connections the REMOTE_ADDR + environment variable will contain the remote IP, and REMOTE_PORT + will contain the remote port. This is the same as the format used by CGI. + For SOCK_RAW the port is the IP protocol. -- cgit v1.2.3-54-g00ecf