Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release v1.9.6 #933

Merged
merged 123 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
4dd729f
add/update agent about socket message
Jan 29, 2023
5eb6931
Merge remote-tracking branch 'iqiyi/devel' into dpvs-agent
you-looks-not-tasty Mar 6, 2023
b206396
Merge branch 'devel' of https://github.com/iqiyi/dpvs into dpvs-agent
you-looks-not-tasty Mar 6, 2023
0f3c69f
rename rt6_prefix as rt_addr
you-looks-not-tasty Mar 6, 2023
b855d7b
replace dpvs_service_table_t by dpvs_agent_services_front_t
you-looks-not-tasty Mar 6, 2023
73d5de0
deregister agent_ifa_sockopts in inetaddr.init error return
you-looks-not-tasty Mar 6, 2023
c2d0a2b
deregister dest lcore unicast msg of init error and term
you-looks-not-tasty Mar 6, 2023
9103d89
remove useless code
you-looks-not-tasty Mar 7, 2023
3e0b545
dpvs-agent not put the count of realserver in sockopt DPVSAGENT_VS_GE…
you-looks-not-tasty Mar 20, 2023
76815f9
consistency with dpvs agent memory layout
you-looks-not-tasty Mar 20, 2023
27e066f
add config macro CONFIG_DPVS_AGENT to enable/disable dpvs-agent on co…
ywc689 May 10, 2023
25d9158
Merge pull request #868 from you-looks-not-tasty/dpvs-agent
ywc689 May 15, 2023
c93a1a2
netif: add supports for extended statistics of an ethernet device
ywc689 Mar 8, 2023
2b4aca3
cfgfile: remove the stale config "ipc_msg/unix_domain"
ywc689 Mar 8, 2023
bae7f1d
netif: set nic multicast ether address from master lcore only
ywc689 Apr 26, 2023
fe0e2e2
netif: fix crash problem by ether address list buffer overflow
ywc689 Apr 26, 2023
61bcd36
netif: multicast ether address setting improvements
ywc689 Apr 26, 2023
5e5a618
netif: add config file and dpip supports for allmulticast of netif de…
ywc689 Apr 26, 2023
7eb3c58
netif: fix divided by zero crash problem when bonding slaves sending …
ywc689 Apr 27, 2023
4fc35b7
netif: fix invalid port problem when getting nic extra info
ywc689 Apr 27, 2023
50a863d
keepalived: don't delete and re-add vs/rs when update at reload
May 16, 2023
1b21236
Merge pull request #889 from ywc689/hw-mc-address-bugfix
ywc689 May 30, 2023
fe47065
unregister msg MSG_TYPE_AGENT_GET_DESTS callback
you-looks-not-tasty May 16, 2023
f194cec
return laddr device name to dpvs-agent
you-looks-not-tasty May 16, 2023
27e8ffd
add dest edit
you-looks-not-tasty May 22, 2023
a5ce222
ipvs: backend passive health check
ywc689 Apr 14, 2023
9b96110
ipvs: make backend passive health check configurable per-service
ywc689 Apr 19, 2023
d41afd4
ipvs: backnd passive health check for bidirectional udp flow
ywc689 Apr 19, 2023
7123111
ipvsadm: add option --conn-timeout for service config
ywc689 Apr 19, 2023
48f6881
ipvsadm: fix ambiguity of command opt'-Y'
ywc689 Apr 19, 2023
b901094
doc: add doc for backend passive health check
ywc689 Apr 20, 2023
acc9082
ipvsadm: update scheduler help text
ywc689 May 6, 2023
232bbc3
ipvs: passive health check down only
ywc689 May 8, 2023
9cefc1b
fix use of uninitialize variable problem when dpvs-agent enabled
ywc689 May 15, 2023
ae1820c
ipvs: fix service flag conflicts for synproxy and expire-quiescent
ywc689 May 19, 2023
e242916
ipvs: fix the chaos of dest flag, flags and fwdmode
ywc689 May 19, 2023
3a3a120
ipvs: support external dest-check configs
ywc689 May 23, 2023
851d71c
ipvs: allow dpvs-agent to edit dest's weight and inhibited flag only
ywc689 May 24, 2023
b7477b7
ip_vs_wlc: fix scheduling to inhibited dest problem
ywc689 May 25, 2023
4ac9809
ipvs: fix service flush problem
ywc689 Jun 1, 2023
a60dd13
uoa: add ipv6 enable macro for uoa example server
ywc689 Jun 7, 2023
850ba85
doc: update dest-check doc
ywc689 Jun 27, 2023
046426d
Merge pull request #879 from ywc689/netdev_xstats
ywc689 Jun 27, 2023
4086b34
Merge pull request #884 from ywc689/rs-failure-inhibition
ywc689 Jun 27, 2023
4a4b579
tools: add healthcheck tool and config.mk
ywc689 Jun 27, 2023
258e0f0
Merge branch 'devel' into devel
roykingz Jul 3, 2023
24d681e
ipvs: fix synproxy window scale setting problem
ywc689 Jul 3, 2023
9bcd301
ipvs: adjust outbound window size for synproxy
ywc689 Jul 3, 2023
920552d
Add dpvs-agent source code
you-looks-not-tasty Jul 10, 2023
6652d7e
keepalived: fix vs protocol config change doesn't take effect problem…
ywc689 Jul 10, 2023
c199d06
building dpvs-agent
you-looks-not-tasty Jul 11, 2023
a06f9bc
add license
you-looks-not-tasty Jul 11, 2023
9e6ee30
update readme
you-looks-not-tasty Jul 12, 2023
d31fbab
standardization logfmt
you-looks-not-tasty Jul 12, 2023
f371d84
Merge pull request #891 from roykingz/devel
ywc689 Jul 13, 2023
0dd5120
Merge pull request #899 from ywc689/synproxy-bugfix
ywc689 Jul 13, 2023
7f5b69e
tools: add healthcheck tool and config.mk
ywc689 Jun 27, 2023
29df3fa
Add dpvs-agent source code
you-looks-not-tasty Jul 10, 2023
861916a
building dpvs-agent
you-looks-not-tasty Jul 11, 2023
49d0f2a
add license
you-looks-not-tasty Jul 11, 2023
4601c78
update readme
you-looks-not-tasty Jul 12, 2023
f8b7f0b
standardization logfmt
you-looks-not-tasty Jul 12, 2023
250c0d1
version: release v1.9.5
ywc689 Jul 13, 2023
2b90444
aligning readme code block
you-looks-not-tasty Jul 13, 2023
50b8372
dpvs-agent: update README doc
ywc689 Jul 13, 2023
192e387
tools/healthcheck: use the same port number as dpvs-agent for lb_ifac…
ywc689 Jul 17, 2023
622044d
set byte-order of rs.ID()
you-looks-not-tasty Jul 20, 2023
0cad593
virtual service flags(synproxy&expire_quiescent) value has changed at…
you-looks-not-tasty Jul 20, 2023
ee0de7d
Merge remote-tracking branch 'remotes/wencyu/new-tools' into new-tools
you-looks-not-tasty Jul 20, 2023
2505ab1
Merge pull request #10 from you-looks-not-tasty/new-tools
ywc689 Jul 20, 2023
c893ae6
set ipc socket by options --ipc-sockopt-path (#11)
you-looks-not-tasty Jul 26, 2023
07509fc
ip_vs_conn: fix dest::dfc.master.timer deadlock problem when rs in pe…
ywc689 Jul 28, 2023
b64dae7
dpip: fix line break problem in help message
ywc689 Jul 31, 2023
89e8c30
dpvs: fix ipo option length bug when insert ipo.
Aug 10, 2023
5e0ff90
dpvs-agent: fix conhash service setup problem caused by spelling mistake
ywc689 Aug 14, 2023
0c6152e
bugfix and fix spelling mistake (#12)
you-looks-not-tasty Aug 15, 2023
b1cdb7c
dpvs-agent: add swagger version requirement in Makefile
ywc689 Aug 15, 2023
eaa67b9
Merge pull request #897 from ywc689/new-tools
ywc689 Aug 21, 2023
f016473
Merge pull request #903 from roykingz/devel
ywc689 Aug 21, 2023
5ff809e
dpvs: fix cfgfile parser malloc problem
Aug 21, 2023
279a549
ipvsadm: fix icmpv6 option and improve help message
Aug 21, 2023
d3279f0
add a Dockerfile for DPVS
ywc689 Aug 24, 2023
a568906
add a doc for running dpvs in container
ywc689 Aug 29, 2023
d683835
Merge pull request #906 from roykingz/devel
ywc689 Sep 6, 2023
474b853
healthcheck: add healthcheck method 'udpping' and make it the default…
ywc689 Sep 6, 2023
ff4962b
healthcheck: add HTTP(S) check method
ywc689 Sep 11, 2023
e110554
healthcheck: set config's health state from dpvs properly
ywc689 Sep 12, 2023
e3a7ee0
dpvs-agent: fix confusions for realserver's inhibited and overloaded …
ywc689 Sep 12, 2023
1ca55d8
ipvs: lower 'no dest found' log message level when scheduling a servi…
ywc689 Sep 12, 2023
af47c02
patch: support dcdn toa (#913)
ytwang0320 Sep 15, 2023
e250eb9
dpvs-agent: fix spelling mistake TUNNEL (#914)
you-looks-not-tasty Sep 15, 2023
6e4bbfe
Merge pull request #910 from ywc689/udpping_checker
ywc689 Sep 15, 2023
4eb867f
Merge pull request #908 from ywc689/run-dpvs-in-container
ywc689 Oct 18, 2023
1a7ac1b
ip4_select_id use rte_atomic32_add_return
donghaobo Oct 25, 2023
f9e7422
timer: fix timeout over about 524s do not work as expected
ywc689 Sep 19, 2023
12ef8a9
test: update timer accuracy test program
ywc689 Sep 19, 2023
ab6dd16
clear TOA field, fix security vulnerability.
cfc4n Dec 7, 2023
d5a39f2
route: remove fragile implementation of strategy routing codes for snat
ywc689 Jul 12, 2023
4ff1c75
keepalived: fix dpvs crash problem in issue #911
ywc689 Sep 21, 2023
121e990
test: add demo servers for proxy protocol
ywc689 Oct 17, 2023
28397f4
ipvs: support proxy protocol config
ywc689 Oct 19, 2023
e879335
ipvs: proxy protocol implementation
ywc689 Oct 23, 2023
45ad38b
tools: add supports for proxy protocol
ywc689 Nov 7, 2023
2fd48ed
keepalived: fix a crash problem caused by the missing allowlist/denylist
ywc689 Nov 7, 2023
4a95793
healtcheck: upd_check supports ppv2
ywc689 Nov 8, 2023
70280c1
test: fix serveral trivial problems in proxy protocol test programs
ywc689 Nov 8, 2023
94261d7
ipvs: fix problems found in debug of proxy protocol implementation
ywc689 Nov 8, 2023
60f7789
ipvs: fix standalone tcp proxy protocol packet sent problem
ywc689 Nov 10, 2023
6186642
ipvs: forbid sending proxy protocol data in pure tcp ack packets
ywc689 Nov 10, 2023
57d7bc8
ipvs: fix serveral problems in sending standalone proxy protocol packets
ywc689 Nov 13, 2023
4aa1e68
ipvs: fix dozens of problems found in proxy protocol cascading test
ywc689 Nov 15, 2023
d3f0899
test: add test checklist for proxy protocol
ywc689 Nov 15, 2023
bc95eed
ipvs: fix issues in proxy protocol v2 parsing
ywc689 Nov 17, 2023
679e076
test: update checklist for proxy protocol
ywc689 Nov 17, 2023
af55bca
tools: add more supports for proxy protocol
ywc689 Nov 17, 2023
2b6e457
tools: dpvs-agent supports proxy protocol config
ywc689 Nov 20, 2023
109a491
doc: add doc client-address-conservation-in-fullnat.md
ywc689 Nov 21, 2023
486ed1e
ipvs: protect proxy protocol from source address spoofing attack
ywc689 Dec 1, 2023
30f421d
ipvs: toa enhancements
ywc689 Dec 11, 2023
58a0e75
patch: update dcdn-toa.patch
ywc689 Dec 12, 2023
e42c170
Merge pull request #928 from ywc689/toa-enhancement
ywc689 Dec 19, 2023
3336c3e
release v1.9.6
ywc689 Dec 19, 2023
b7216d1
Merge pull request #930 from ywc689/release-v1.9.6
ywc689 Jan 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
- name: make
run: make -j

build-debug:
build-all:
runs-on: self-hosted
env:
PKG_CONFIG_PATH: /data/dpdk/dpdklib/lib64/pkgconfig
steps:
- uses: actions/checkout@v2
- name: config
run: sed -i 's/#CFLAGS +=/CFLAGS +=/' src/config.mk && sed -i 's/^#DEBUG := 1/DEBUG := 1/' src/Makefile
run: sed -i 's/=n$/=y/' config.mk
- name: make
run: make -j
167 changes: 167 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
# Important Notes:
#
# Two local dependencies should be ready before build container image with the Dockerfile.
# - MLNX_OFED: Please download it from the official website
# `https://network.nvidia.com/products/infiniband-drivers/linux/mlnx_ofed/`
# to the local fileserver indicated by the ARG `MLNX_OFED`.
# We cannot download it in the Dockerfile automatically for the authentication
# restriction of the website.
# - RPM_PKGCONFIG: The `pkg-config` tool of v0.29.2 is required to build DPVS.
# However, the default installation version on centos7 is v0.27.1. You need to
# download it or build the v0.29.2 RPM from source and put it to the the local
# fileserver indicated by the ARG `RPM_PKGCONFIG`. Alternatively, building a
# binary `pkg-config` and installing it in the local binary path is also ok.
#
# No kernel dependencies of dpdk/dpvs or network driver are built and installed.
# You should ensure the host has installed the drivers before running a dpvs
# container on it.
#

ARG BASE_IMAGE=centos:centos7.9.2009

###### `builder` stage builds the docker image for DPVS devel environments ######
FROM $BASE_IMAGE as builder

# replace it with the address of your own file server
ARG FILE_SERVER=127.0.0.1

LABEL maintainer="IQiYi/QLB team"
LABEL email="[email protected]"
LABEL project="https://github.com/iqiyi/dpvs"
LABEL image_maker="docker build --target builder -t github.com/iqiyi/dpvs-builder:{version} ."

# download the tarball from https://network.nvidia.com/products/infiniband-drivers/linux/mlnx_ofed/
# FIXME: remove thefile server dependency
ARG MLNX_OFED=http://$FILE_SERVER/deploy/MLNX_OFED/MLNX_OFED_LINUX-5.6-2.0.9.0-rhel7.9-x86_64.tgz

# the pkgconfig default installed version is 0.27.1 on centos7, update it to 0.29.2
# the 0.29.2 rpm is built from source based on the rpm spec file of 0.27.1.
# FIXME: remove the file server dependency
ARG RPM_PKGCONFIG=http://$FILE_SERVER/deploy/rpms/centos7/pkgconfig-0.29.2-1.el7.x86_64.rpm

# golang install files
ARG GO_PACKAGE=https://go.dev/dl/go1.20.4.linux-amd64.tar.gz

# go-swagger binary
ARG GO_SWAGGER_BIN=https://github.com/go-swagger/go-swagger/releases/download/v0.30.4/swagger_darwin_amd64

ENV PKG_CONFIG_PATH=/dpvs/dpdk/dpdklib/lib64/pkgconfig
ENV PATH=$PATH:/usr/local/go/bin

COPY . /dpvs/
WORKDIR /dpvs

RUN set -x \
&& yum install -y epel-release \
&& yum install -y tcl tk iproute wget vim patch meson python36 emacs-filesystem \
gcc make lsof libnl3 ethtool libpcap pciutils numactl-libs numactl-devel \
openssl-devel automake popt-devel ninja-build meson libnl3-devel cgdb git \
&& mkdir deps \
&& rpm -Uvh $RPM_PKGCONFIG \
&& wget $GO_PACKAGE -P deps \
&& tar -C /usr/local -xzf deps/go*.gz \
&& curl -L -o /usr/local/bin/swagger $GO_SWAGGER_BIN \
&& chmod 544 /usr/local/bin/swagger \
&& wget $MLNX_OFED -P deps \
&& tar xf deps/$(basename $MLNX_OFED) -C deps \
&& pushd deps/$(basename $MLNX_OFED | sed 's/.tgz//') \
&& ./mlnxofedinstall --user-space-only --upstream-libs \
--dpdk --without-fw-update --force \
&& popd \
&& sed -i 's/Denable_kmods=true/Denable_kmods=false/' scripts/dpdk-build.sh \
&& ./scripts/dpdk-build.sh \
&& sed -i 's/CONFIG_DPVS_AGENT=n/CONFIG_DPVS_AGENT=y/' config.mk \
&& make -j && make install \
&& rm -rf deps && yum clean all

RUN set -x \
&& mkdir libraries \
&& ldd bin/dpvs | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp '{}' libraries \
&& ldd bin/ipvsadm | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp '{}' libraries \
&& ldd bin/dpip | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp '{}' libraries \
&& ldd bin/keepalived | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp '{}' libraries

ENTRYPOINT ["/bin/bash"]


###### `runner` stage builds the docker image for DPVS product environments ######
#
# docker run --name dpvs \
# -d --privileged --network host \
# -v /dev:/dev \
# -v /sys:/sys \
# -v /lib/modules:/lib/modules \
# -v {dpvs-directory}:/dpvs \
# github.com/iqiyi/dpvs:{version} \
# -c /dpvs/dpvs.conf -p /dpvs/dpvs.pid -x /dpvs/dpvs.ipc \
# -- -a {nic-pci-bus-id}
#
# docker run --name ipvsadm \
# --rm --network none \
# -v {dpvs-directory}:/dpvs \
# -e DPVS_IPC_FILE=/dpvs/dpvs.ipc \
# --entrypoint=/usr/bin/ipvsadm \
# github.com/iqiyi/dpvs:{version} \
# ...
#
# docker run --name dpip \
# --rm --network none \
# -v {dpvs-directory}:/dpvs \
# -e DPVS_IPC_FILE=/dpvs/dpvs.ipc \
# --entrypoint=/usr/bin/dpip \
# github.com/iqiyi/dpvs:{version} \
# ...
#
# docker run --name keepalived \
# -d --privileged --network host \
# --cap-add=NET_ADMIN --cap-add=NET_BROADCAST --cap-add=NET_RAW \
# -v {dpvs-directory}:/dpvs \
# -e DPVS_IPC_FILE=/dpvs/dpvs.ipc \
# --entrypoint=/usr/bin/keepalived github.com/iqiyi/dpvs:{version} \
# -D -n -f /dpvs/keepalived.conf \
# --log-console --log-facility=6 \
# --pid=/dpvs/keepalived.pid \
# --vrrp_pid=/dpvs/vrrp.pid \
# --checkers_pid=/dpvs/checkers.pid
#
# docker run --name dpvs-agent \
# -d --network host \
# -v {dpvs-directory}:/dpvs \
# --entrypoint=/usr/bin/dpvs-agent \
# github.com/iqiyi/dpvs:{version} \
# --log-dir=/dpvs/logs/dpvs-agent \
# --ipc-sockopt-path=/dpvs/dpvs.ipc\
# --host=0.0.0.0 --port=6601
#
# docker run --name healthcheck \
# -d --network host \
# -v {dpvs-directory}:/dpvs \
# --entrypoint=/usr/bin/healthcheck \
# github.com/iqiyi/dpvs:{version} \
# -log_dir=/dpvs/logs/healthcheck \
# -lb_iface_addr=localhost:6601
#
FROM $BASE_IMAGE as runner

LABEL maintainer="IQiYi/QLB team"
LABEL email="[email protected]"
LABEL project="https://github.com/iqiyi/dpvs"
LABEL image_maker="docker build --target runner -t github.com/iqiyi/dpvs:{version} ."

RUN set -x \
&& yum install -y iproute wget ncat nmap tcpdump socat \
&& yum clean all

COPY --from=builder /dpvs/bin/ /usr/bin
COPY --from=builder /dpvs/libraries /usr/lib64

# Other available entrypoint are:
# * /usr/bin/keepalived
# * /usr/bin/dpvs-agent
# * /usr/bin/healthcheck
# * /usr/bin/ipvsadm
# * /usr/bin/dpip
# * /bin/bash
# use `docker run --entrypoint ...` to override the default entrypoint.

ENTRYPOINT ["/usr/bin/dpvs"]
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
MAKE = make
CC = gcc
LD = ld
RM = rm

SUBDIRS = src tools

Expand All @@ -29,6 +30,8 @@ export INSDIR

export KERNEL = $(shell /bin/uname -r)

include $(CURDIR)/config.mk

all:
for i in $(SUBDIRS); do $(MAKE) -C $$i || exit 1; done

Expand All @@ -43,3 +46,6 @@ distclean:
install:all
-mkdir -p $(INSDIR)
for i in $(SUBDIRS); do $(MAKE) -C $$i install || exit 1; done

uninstall:
-$(RM) -f $(TARGET) $(INSDIR)/*
10 changes: 6 additions & 4 deletions conf/dpvs.bond.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ netif_defs {
}
! mtu 1500
! promisc_mode
! allmulticast
! kni_name dpdk0.kni
}

Expand All @@ -52,6 +53,7 @@ netif_defs {
}
! mtu 1500
! promisc_mode
! allmulticast
! kni_name dpdk1.kni
}

Expand All @@ -68,6 +70,7 @@ netif_defs {
}
! mtu 1500
! promisc_mode
! allmulticast
! kni_name dpdk2.kni
}

Expand All @@ -83,6 +86,7 @@ netif_defs {
}
! mtu 1500
! promisc_mode
! allmulticast
! kni_name dpdk3.kni
}

Expand Down Expand Up @@ -309,9 +313,6 @@ ctrl_defs {
sync_msg_timeout_us 20000
priority_level low
}
ipc_msg {
<init> unix_domain /var/run/dpvs_ctrl
}
}

! ipvs config
Expand All @@ -330,6 +331,7 @@ ipvs_defs {
uoa_mode opp
uoa_max_trail 3
timeout {
oneway 60
normal 300
last 3
}
Expand All @@ -356,7 +358,7 @@ ipvs_defs {
mss 1452
ttl 63
sack
! wscale
! wscale 0
! timestamp
}
! defer_rs_syn
Expand Down
10 changes: 5 additions & 5 deletions conf/dpvs.conf.items
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ netif_defs {
}
! mtu 1500 <1500,0-9000>
! promisc_mode <disable>
! allmulticast <disable>
! kni_name dpdk0.kni <char[32]>
}

Expand All @@ -56,6 +57,7 @@ netif_defs {
}
! mtu 1500
! promisc_mode
! allmulticast <disable>
! kni_name dpdk1.kni
}

Expand Down Expand Up @@ -211,9 +213,6 @@ ctrl_defs {
sync_msg_timeout_us 2000 <2000, 1-∞>
priority_level low <low, low|norm|high|ign>
}
ipc_msg {
<init> unix_domain /var/run/dpvs_ctrl </var/run/dpvs_ctrl, max chars: 256>
}
}

! ipvs config
Expand All @@ -232,6 +231,7 @@ ipvs_defs {
uoa_mode opp <opp for private protocol by default, or ipo for IP-option mode>
uoa_max_trail 3 <max trails for send UOA for a connection>
timeout { <1-31535999>
oneway 300 <300>
normal 300 <300>
last 3 <3>
}
Expand All @@ -258,10 +258,10 @@ ipvs_defs {
mss 1452 <1452, 1-65535>
ttl 63 <63, 1-255>
sack <enable>
! wscale <disable>
! wscale <0, 0-14>
! timestamp <disable>
}
close_client_window <enable>
!close_client_window <disable>
!defer_rs_syn <disable>
rs_syn_max_retry 3 <3, 1-99>
ack_storm_thresh 10 <10, 1-999>
Expand Down
8 changes: 4 additions & 4 deletions conf/dpvs.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ netif_defs {
}
! mtu 1500
! promisc_mode
! allmulticast
kni_name dpdk0.kni
}

Expand All @@ -52,6 +53,7 @@ netif_defs {
}
! mtu 1500
! promisc_mode
! allmulticast
kni_name dpdk1.kni
}

Expand Down Expand Up @@ -275,9 +277,6 @@ ctrl_defs {
sync_msg_timeout_us 20000
priority_level low
}
ipc_msg {
<init> unix_domain /var/run/dpvs_ctrl
}
}

! ipvs config
Expand All @@ -296,6 +295,7 @@ ipvs_defs {
uoa_mode opp
uoa_max_trail 3
timeout {
oneway 60
normal 300
last 3
}
Expand All @@ -322,7 +322,7 @@ ipvs_defs {
mss 1452
ttl 63
sack
! wscale
! wscale 0
! timestamp
}
close_client_window
Expand Down
8 changes: 4 additions & 4 deletions conf/dpvs.conf.single-bond.sample
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ netif_defs {
}
! mtu 1500
! promisc_mode
! allmulticast
! kni_name dpdk0.kni
}

Expand All @@ -50,6 +51,7 @@ netif_defs {
}
! mtu 1500
! promisc_mode
! allmulticast
! kni_name dpdk2.kni
}

Expand Down Expand Up @@ -216,9 +218,6 @@ ctrl_defs {
sync_msg_timeout_us 20000
priority_level low
}
ipc_msg {
<init> unix_domain /var/run/dpvs_ctrl
}
}

! ipvs config
Expand All @@ -237,6 +236,7 @@ ipvs_defs {
uoa_mode opp
uoa_max_trail 3
timeout {
oneway 60
normal 300
last 3
}
Expand All @@ -263,7 +263,7 @@ ipvs_defs {
mss 1452
ttl 63
sack
! wscale
! wscale 0
! timestamp
}
close_client_window
Expand Down
Loading
Loading