All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add missing options to ipvsadm(8)
@ 2019-08-01 10:53 Quentin Armitage
  2019-08-01 10:55 ` [PATCH 1/2] Add --pe sip option in ipvsadm(8) man page Quentin Armitage
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Quentin Armitage @ 2019-08-01 10:53 UTC (permalink / raw)
  To: Jesper Dangaard Brouer, Julian Anastasov, Simon Horman,
	lvs-devel, lvs-users, Inju Song

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(-)

-- 
2.13.7


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] Add --pe sip option in ipvsadm(8) man page
  2019-08-01 10:53 [PATCH 0/2] Add missing options to ipvsadm(8) Quentin Armitage
@ 2019-08-01 10:55 ` Quentin Armitage
  2019-08-01 10:56 ` [PATCH 2/2] In ipvsadm(8) add using nft or an eBPF program to set a packet mark Quentin Armitage
  2019-12-05 12:47 ` [PATCH 0/2] Add missing options to ipvsadm(8) Jesper Dangaard Brouer
  2 siblings, 0 replies; 4+ messages in thread
From: Quentin Armitage @ 2019-08-01 10:55 UTC (permalink / raw)
  To: Jesper Dangaard Brouer, Julian Anastasov, Simon Horman,
	lvs-devel, lvs-users, Inju Song

Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
---
 ipvsadm.8 | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
 
diff --git a/ipvsadm.8 b/ipvsadm.8 
index 256718e..aaee146 100644
--- a/ipvsadm.8
+++ b/ipvsadm.8
@@ -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
-- 
2.13.7


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] In ipvsadm(8) add using nft or an eBPF program to set a packet mark
  2019-08-01 10:53 [PATCH 0/2] Add missing options to ipvsadm(8) Quentin Armitage
  2019-08-01 10:55 ` [PATCH 1/2] Add --pe sip option in ipvsadm(8) man page Quentin Armitage
@ 2019-08-01 10:56 ` Quentin Armitage
  2019-12-05 12:47 ` [PATCH 0/2] Add missing options to ipvsadm(8) Jesper Dangaard Brouer
  2 siblings, 0 replies; 4+ messages in thread
From: Quentin Armitage @ 2019-08-01 10:56 UTC (permalink / raw)
  To: Jesper Dangaard Brouer, Julian Anastasov, Simon Horman,
	lvs-devel, lvs-users, Inju Song

The 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.
 
Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
---
 ipvsadm.8 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/ipvsadm.8 b/ipvsadm.8
index aaee146..64a3526 100644
--- a/ipvsadm.8
+++ b/ipvsadm.8
@@ -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.
-- 
2.13.7


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Add missing options to ipvsadm(8)
  2019-08-01 10:53 [PATCH 0/2] Add missing options to ipvsadm(8) Quentin Armitage
  2019-08-01 10:55 ` [PATCH 1/2] Add --pe sip option in ipvsadm(8) man page Quentin Armitage
  2019-08-01 10:56 ` [PATCH 2/2] In ipvsadm(8) add using nft or an eBPF program to set a packet mark Quentin Armitage
@ 2019-12-05 12:47 ` Jesper Dangaard Brouer
  2 siblings, 0 replies; 4+ messages in thread
From: Jesper Dangaard Brouer @ 2019-12-05 12:47 UTC (permalink / raw)
  To: Quentin Armitage
  Cc: lvs-users, Inju Song, lvs-devel, Julian Anastasov, Simon Horman, brouer

On Thu, 01 Aug 2019 11:53:13 +0100
Quentin Armitage <quentin@armitage.org.uk> wrote:

> 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(-)

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

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-05 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-01 10:53 [PATCH 0/2] Add missing options to ipvsadm(8) Quentin Armitage
2019-08-01 10:55 ` [PATCH 1/2] Add --pe sip option in ipvsadm(8) man page Quentin Armitage
2019-08-01 10:56 ` [PATCH 2/2] In ipvsadm(8) add using nft or an eBPF program to set a packet mark Quentin Armitage
2019-12-05 12:47 ` [PATCH 0/2] Add missing options to ipvsadm(8) Jesper Dangaard Brouer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.