X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.socket.xml;h=1e9778bc2a94c8587b2d8406ec0e03111f300ee1;hb=c87664fef45fc1dadc2303675ed357e0dde61db9;hp=c8b483c41285a8c672923539085544655b821593;hpb=798d3a524ea57aaf40cb53858aaa45ec702f012d;p=elogind.git diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml index c8b483c41..1e9778bc2 100644 --- a/man/systemd.socket.xml +++ b/man/systemd.socket.xml @@ -1,5 +1,4 @@ - @@ -128,7 +127,7 @@ (see sd_listen_fds3 for details) or via the traditional - inetd8-style + inetd8-style socket passing (i.e. sockets passed in via standard input and output, using StandardInput=socket in the service file). @@ -266,7 +265,7 @@ Takes a one of , or . Controls the IPV6_V6ONLY socket option (see - ipv67 + ipv67 for details). If , IPv6 sockets bound will be accessible via both IPv4 and IPv6. If , they will be accessible via IPv6 @@ -295,7 +294,7 @@ this socket to. If set, traffic will only be accepted from the specified network interfaces. This controls the SO_BINDTODEVICE socket option (see - socket7 + socket7 for details). If this option is used, an automatic dependency from this socket unit on the network interface device unit (systemd.device5 @@ -356,9 +355,14 @@ Accept=true set. Setting Accept=true is mostly useful to allow daemons designed for usage with - inetd8 + 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. @@ -381,7 +385,7 @@ /proc/sys/net/ipv4/tcp_keepalive_time) for all TCP streams accepted on this socket. This controls the SO_KEEPALIVE socket option (see - socket7 + socket7 and the TCP Keepalive HOWTO for details.) Defaults to @@ -393,7 +397,7 @@ Takes time (in seconds) as argument . The connection needs to remain idle before TCP starts sending keepalive probes. This controls the TCP_KEEPIDLE socket option (see - socket7 + socket7 and the TCP Keepalive HOWTO for details.) @@ -406,7 +410,7 @@ individual keepalive probes, if the socket option SO_KEEPALIVE has been set on this socket seconds as argument. This controls the TCP_KEEPINTVL socket option (see - socket7 + socket7 and the TCP Keepalive HOWTO for details.) Defaults value is 75 @@ -419,7 +423,7 @@ unacknowledged probes to send before considering the connection dead and notifying the application layer. This controls the TCP_KEEPCNT socket option (see - socket7 + socket7 and the TCP Keepalive HOWTO for details.) Defaults value is @@ -432,7 +436,7 @@ algorithm works by combining a number of small outgoing messages, and sending them all at once. This controls the TCP_NODELAY socket option (see - tcp7 + tcp7 Defaults to . @@ -441,7 +445,7 @@ Takes an integer argument controlling the priority for all traffic sent from this socket. This controls the SO_PRIORITY socket option (see - socket7 + socket7 for details.). @@ -454,7 +458,7 @@ established. When this option is set, the TCP_DEFER_ACCEPT socket option will be used (see - tcp7), + tcp7), and the kernel will ignore initial ACK packets without any data. The argument specifies the approximate amount of time the kernel should wait for incoming data before falling back @@ -481,7 +485,7 @@ Takes an integer argument controlling the receive or send buffer sizes of this socket, respectively. This controls the SO_RCVBUF and SO_SNDBUF socket options (see - socket7 + socket7 for details.). The usual suffixes K, M, G are supported and are understood to the base of 1024. @@ -491,7 +495,7 @@ Takes an integer argument controlling the IP Type-Of-Service field for packets generated from this socket. This controls the IP_TOS socket option (see - ip7 + ip7 for details.). Either a numeric string or one of , , or may @@ -504,9 +508,9 @@ Time-To-Live/IPv6 Hop-Count field for packets generated from this socket. This sets the IP_TTL/IPV6_UNICAST_HOPS socket options (see - ip7 + ip7 and - ipv67 + ipv67 for details.) @@ -516,7 +520,7 @@ mark of packets generated by this socket. This can be used in the firewall logic to filter packets from this socket. This sets the SO_MARK socket option. See - iptables8 + iptables8 for details. @@ -527,7 +531,7 @@ bind2s to this TCP or UDP port. This controls the SO_REUSEPORT socket option. See - socket7 + socket7 for details. @@ -579,7 +583,7 @@ control the mq_maxmsg field or the mq_msgsize field, respectively, when creating the message queue. Note that either none or both of these variables need to be set. See - mq_setattr3 + mq_setattr3 for details.