diff options
author | Shawn Landden <shawn@churchofgit.com> | 2015-03-10 04:41:59 -0700 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-10 09:00:27 -0400 |
commit | 3b1c524154c876aecebc98787975cc2943100210 (patch) | |
tree | 5e3c403a17419544bba867e24f2ecb41e01ef4c5 /man | |
parent | 54bcf1557c30d97d5ac0afaba003f69e58f82376 (diff) |
add REMOTE_ADDR and REMOTE_PORT for Accept=yes
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.socket.xml | 7 |
1 files changed, 6 insertions, 1 deletions
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 <citerefentry><refentrytitle>inetd</refentrytitle><manvolnum>8</manvolnum></citerefentry> to work unmodified with systemd socket - activation.</para></listitem> + activation.</para> + + <para>For IPv4 and IPv6 connections the <varname>REMOTE_ADDR</varname> + environment variable will contain the remote IP, and <varname>REMOTE_PORT</varname> + will contain the remote port. This is the same as the format used by CGI. + For SOCK_RAW the port is the IP protocol.</para></listitem> </varlistentry> <varlistentry> |