Add missing options to ipvsadm(8)
cover Add missing options to ipvsadm(8)
Quentin Armitage (2):
Add --pe sip option in ipvsadm(8) man page
In ipvsadm(8) add using nft or an eBPF program to set a packet mark
ipvsadm.8 | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-)
Signature · 1 line
2.13.7
PATCH 1/2 Add --pe sip option in ipvsadm(8) man page
--- ipvsadm.8 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)
ipvsadm.8 +9 -5
@@ -94,11 +94,11 @@ The command has two basic formats for execution: The first format manipulates a virtual service and the algorithm for assigning service requests to real servers. Optionally, a persistent timeout and network mask for the granularity of a persistent service -may be specified. The second format manipulates a real server that is -associated with an existing virtual service. When specifying a real -server, the packet-forwarding method and the weight of the real -server, relative to other real servers for the virtual service, may be -specified, otherwise defaults will be used. +and a persistence engine may be specified. The second format manipulates +a real server that is associated with an existing virtual service. +When specifying a real server, the packet-forwarding method and the +weight of the real server, relative to other real servers for the +virtual service, may be specified, otherwise defaults will be used. .SS COMMANDS \fBipvsadm\fR(8) recognises the commands described below. Upper-case commands maintain virtual services. Lower-case commands maintain real
@@ -313,6 +313,10 @@ resolve problems with non-persistent cache clusters on the client side. IPv6 netmasks should be specified as a prefix length between 1 and 128. The default prefix length is 128. .TP +.B --pe \fIpersistence-engine\fP +Specify an alternative persistence engine to be used. Currently the +only alternative persistence engine available is sip. +.TP .B -b, --sched-flags \fIsched-flags\fP Set scheduler flags for this virtual server. \fIsched-flags\fP is a comma-separated list of flags. See the scheduler descriptions for
Signature · 1 line
2.13.7
PATCH 2/2 In ipvsadm(8) add using nft or an eBPF program to set a packet mark
In reply to Quentin ArmitageThe ipvsadm(8) man page specified that a packet mark could be set using iptables. It is now also possible to set the packet mark using nft, and also via an eBPF program.
--- ipvsadm.8 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
ipvsadm.8 +4 -3
@@ -196,9 +196,10 @@ Use SCTP service. See the -t|--tcp-service for the description of the .TP .B -f, --fwmark-service \fIinteger\fP Use a firewall-mark, an integer value greater than zero, to denote a -virtual service instead of an address, port and protocol (UDP or -TCP). The marking of packets with a firewall-mark is configured using -the -m|--mark option to \fBiptables\fR(8). It can be used to build a +virtual service instead of an address, port and protocol (UDP, TCP or +SCTP). The marking of packets with a firewall-mark is configured using +the -m|--mark option to \fBiptables\fR(8), the meta mark set \fIvalue\fR +option to \fBnft\fR(8) or via an eBPF program. It can be used to build a virtual service associated with the same real servers, covering multiple IP address, port and protocol triplets. If IPv6 addresses are used, the -6 option must be used.
Signature · 1 line
2.13.7
Quoted 6 lines · On Thu, 01 Aug 2019 11:53:13 +0100 Quentin Armitage <[email protected]>…
Quentin Armitage (2):
Add --pe sip option in ipvsadm(8) man page
In ipvsadm(8) add using nft or an eBPF program to set a packet markipvsadm.8 | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-)
This patchset is now applied to ipvsadm kernel.org git tree. Sorry for not doing this sooner.
https://git.kernel.org/pub/scm/utils/kernel/ipvsadm/ipvsadm.git/commit/?id=e904a8cd1d7712
https://git.kernel.org/pub/scm/utils/kernel/ipvsadm/ipvsadm.git/commit/?id=089387716f0252
Signature · 4 lines
Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer