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

Stable/2009 #34

Open
wants to merge 129 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
fb6d768
misc: Initial changes for stable/2009 branch
ayourtch Sep 9, 2020
f96ce15
misc: edit the MAINTAINERS entries for crypto plugins for common style
ayourtch Sep 11, 2020
f1b7953
dpdk: fix coverity defect #214232, #182930
Sep 11, 2020
758e677
af_xdp: documents incompatibility with 1GB hugepages and high buffers…
Sep 10, 2020
6f1a86f
quic: fix coverity warning
AloysAugustin Sep 10, 2020
cb94290
misc: selinux fixes (packet_socket r/w)
Millnert Sep 10, 2020
c13aab8
ikev2: fix memory leaks
bganne Sep 10, 2020
649ba15
l2: fix null deref in l2_to_bvi()
mgsmith1000 Sep 10, 2020
a238082
vlib: fix call to vlib_get_node_by_name
bganne Sep 10, 2020
ec8a577
wireguard: coverity fixes
Sep 14, 2020
89bdb83
vcl: always fill buffer or drain rx fifo
florincoras Sep 10, 2020
047eebf
build: fix build for Debian 9 and Debian 10
bganne Sep 9, 2020
57b16c6
ikev2: fix copy-paste error when freeing memory
Sep 10, 2020
748bf82
build: fix the the build on centos/rhel 8
yicwang Jul 1, 2020
ddd8c0f
crypto-native: fix issues detected by coiverity
dmarion Sep 15, 2020
c71dad4
crypto: Crypto SW Scheduler Coverity Warnings
Sep 15, 2020
58db34c
wireguard: increase FIB source priority
Sep 14, 2020
911d756
wireguard: fix handshake procedure
glazychev-art Sep 10, 2020
7bae491
lisp: fix crash with arp and packet trace on
onong Sep 4, 2020
6c25154
quic: Clean quic_crypto_setup_cipher
sknat Sep 11, 2020
1f18c50
nat: endian mismatch
Sep 8, 2020
95a77a2
nat: Fix next feature for ED with multiple workers
Aug 27, 2020
2ee0098
avf: fix race between avf process node and avf_delete_if(...)
dmarion Aug 20, 2020
d5f713c
lisp: fix lisp|one_eid_table_dump's local|remote options in vat
onong Sep 15, 2020
c669272
lisp: fix spelling mistake in option name
onong Sep 11, 2020
a14f367
lisp: fix help msg of show eid-table command
onong Sep 11, 2020
21cbdc7
lisp: fix vat crash with one_add_del_local_eid api
onong Sep 10, 2020
6efd393
wireguard: Fix for tunnel encap
Sep 10, 2020
97109b1
avf: add assert to ensure that adminq is used only from avf process
dmarion Sep 11, 2020
ec7e8d8
vppapigen: crcchecker: report deprecated messages
ayourtch Sep 11, 2020
00f21fb
api: clean up use of deprecated flag
Sep 15, 2020
4b952f8
avf: fix race between avf and cli/api process
dmarion Sep 9, 2020
fb66fcf
avf: change promisc mode from the avf process node
dmarion Sep 11, 2020
4035daf
crypto: Crypto set handler API to support set all as CLI
yyllpei Sep 15, 2020
a87deb7
vppapigen: crcchecker: report in-progress messages
ayourtch Sep 16, 2020
56eed87
vmxnet3: gso fixes
Sep 15, 2020
ef51f36
build: touch files when extracting rpm tarballs
dwallacelf Sep 16, 2020
dd49451
build: missing deb pkg on ubuntu-20.04
dwallacelf Sep 18, 2020
d88c9a1
build: remove opensuse build infra
dwallacelf Sep 18, 2020
d69b12a
crypto: revert crypto set handler all API
yyllpei Sep 21, 2020
f72b1af
vxlan-gbp: Mark APIs as in-progress
Sep 22, 2020
73903d7
dpdk: call the meson-based build instead of Makefiles
Sep 15, 2020
1aa63b8
build: allow for rc3/rc4 style tags
ayourtch Sep 22, 2020
226e8e6
vppapigen: crcchecker: harmonize the in_progress marking
ayourtch Sep 22, 2020
7a76017
dpdk: prevent linking dpdk against libbsd
Sep 18, 2020
ef73a07
build: fix fts.py to run on debian-9/python3.5
dwallacelf Sep 23, 2020
cc4f3d9
avf: wrong argument passed to avf_log_err
Sep 16, 2020
dccf863
vppinfra: allow handoff to main thread
dmarion Sep 17, 2020
c359dfa
build: fix missing openssl package on debian-10
dwallacelf Sep 24, 2020
48d81b5
wireguard: add handoff node
glazychev-art Sep 14, 2020
df143bf
wireguard: fix uninitialized peer index in handoff
florincoras Sep 25, 2020
a26b40a
bfd: add missing unlock
Sep 25, 2020
c7b359f
misc: documentation fixes
ayourtch Sep 25, 2020
a0b1329
dpdk: Revert "prevent linking dpdk against libbsd"
ayourtch Sep 28, 2020
29fd163
dpdk: Revert "call the meson-based build instead of Makefiles"
ayourtch Sep 28, 2020
6cb1063
build: remove OS distros which are EOL
dwallacelf Sep 24, 2020
db17fa2
ikev2: fix memory leaks
bganne Sep 17, 2020
c6f50a3
ikev2: fix false positive NAT detection
Sep 25, 2020
36e6570
virtio: fix the gro enable/disable on tx-vrings
mohsinkazmi Sep 25, 2020
ddb070e
tap: do not use strlen on vector
Sep 18, 2020
47e0bd7
virtio: fix txq locking
bganne Sep 15, 2020
8eb1e6d
virtio: fix modern device queue notify
mohsinkazmi Sep 29, 2020
3c54140
misc: 20.09 Release Notes
ayourtch Sep 25, 2020
072def4
build: fix the version in 'show version' for RPM
ayourtch Sep 30, 2020
93a786b
build: fix build for debian testing
river8 Sep 25, 2020
94f5335
ikev2: fix issue when decrypting packet with no keys
Sep 30, 2020
4a232f8
ikev2: fix leaking pending INIT requests
Oct 1, 2020
53604e5
build: add missing dnf-plugins-core package on centos-8
dwallacelf Sep 21, 2020
d5f8a9b
build: Add missing debian dependencies
river8 Oct 15, 2020
4b50a90
build: backport dpdk usertools support python3 only patch
dwallacelf Oct 15, 2020
9ef7eae
build: fix broken debian dependencies on ubuntu-18.04 & debian-9
dwallacelf Oct 19, 2020
312e441
build: fix external patch application to not create .orig files
dwallacelf Oct 21, 2020
ee3ea11
build: fix typo in dpdk-20.08 patch #0003
dwallacelf Oct 23, 2020
1116645
virtio: checksum error reported for ip6 traffic with GSO enable
Oct 12, 2020
7ed6a73
pci: set PCI memory enable before mapping PCI BAR
Oct 21, 2020
8cfcbaa
rdma: various fixes for chained buffers tx
Nov 2, 2020
0713282
svm: fix ASAN annotations for external chunks
bganne Oct 20, 2020
019ce71
ip: fix doxygen doc for address add/del command
bganne Oct 20, 2020
52bbd86
ipsec: fix outer table id lookup in ipsec tun script
bganne Nov 6, 2020
dcb9fcf
af_xdp: add option to claim all available rx queues
bganne Sep 15, 2020
9c73329
build: better detection of libbpf dependencies
bganne Oct 8, 2020
32c2b2a
rdma: add RSS support for IPv6 and TCP
bganne Oct 16, 2020
19b477f
ikev2: fix cli memory leak
bganne Sep 30, 2020
b2a92ff
svm: fix fifo unit test
bganne Oct 21, 2020
020f02c
ipsec: fix unformat types
bganne Nov 6, 2020
07aeedd
vpp: fix main heap init
bganne Sep 15, 2020
73a3476
wireguard: reset secret data before freeing it
bganne Oct 20, 2020
087d81d
af_xdp: fix NUMA node parsing
bganne Oct 19, 2020
e36b854
feature: reset interface feature arc on interface deletion
bganne Nov 4, 2020
1e0e3d5
ipsec: add support for tx-table-id in cli + example
bganne Nov 6, 2020
a6a5031
crypto-native: fix multi-arch variant initialization
mdr78 Nov 13, 2020
c646d54
dns: fix double-unlock
bganne Nov 25, 2020
7946c61
syslog: use per-thread vlib_main
bganne Nov 25, 2020
7d30440
dns: use correct per-thread vlib_main
bganne Nov 25, 2020
447f673
ikev2: show IKE SA command improvements
Aug 17, 2020
df61e60
ikev2: better packet parsing functions
Jul 16, 2020
0b68556
ikev2: refactor ikev2 node
Sep 26, 2020
4691818
ikev2: support ipv6 traffic selectors & overlay
Sep 8, 2020
ae0d24f
ikev2: fix memory leak in auth routine
Oct 5, 2020
3ff8807
ikev2: fix coverity warning
Oct 6, 2020
8b69f75
ikev2: fix initial contact cleanup
Sep 23, 2020
83c70b7
ikev2: prevent crash after no IP address
Oct 7, 2020
233b12d
ikev2: fix setting responder/initiator addresses
Oct 7, 2020
a81bcf3
ikev2: support sending requests from responder
Oct 10, 2020
f7fd0e7
ikev2: fix memory leak
Oct 30, 2020
56d7125
ikev2: cli for disabling dead peer detection
Oct 30, 2020
31b44a7
ikev2: increase tick interval in process node
Oct 30, 2020
f6deabd
ikev2: fix reply during rekey
Oct 30, 2020
8035ffe
ikev2: add option to disable NAT traversal
Oct 30, 2020
cbc3dc0
ikev2: fix udp encap
Nov 6, 2020
6d878f3
ikev2: fix msg IDs generation
Oct 31, 2020
29ad988
ikev2: add tests for DPD
Nov 9, 2020
49de328
ikev2: fix memleak when tunnel protect fails
Nov 10, 2020
186f018
ikev2: respect punting only for ipv4
bganne Nov 12, 2020
6e13acc
ikev2: fix issue when sending multiple requests at once
Nov 19, 2020
0e68a7c
ikev2: better handling when no IKE DH configured
Nov 21, 2020
b72fb31
ip-neighbor: Send API event when neighbor is removed
Nov 20, 2020
e7a1006
rdma: fixed UAR writing at tx
Nov 24, 2020
007bd2f
stats: missing dimension in stat_set_simple_counter
Oct 21, 2020
7847f17
ikev2: fix nat traversal
Dec 1, 2020
a23dd5d
build: fix centos-8 'make install-deps' enable PowerTools repo
dwallacelf Dec 8, 2020
3b82d3e
nat: avoid hairpinning infinite loop problem
Dec 8, 2020
1e44cf5
docs: fix missing quotes in ubuntu install instructions
pvinci Apr 3, 2020
d1598d4
docs: update list of plugins
pvinci Mar 24, 2020
14bfb66
build: add missing openssl-devel package for centos-8 vpp-ext-deps
dwallacelf Jan 14, 2021
4f88004
docs: vpp stateless traffic generator
Jan 20, 2021
8b4bd27
ikev2: test responder behind NAT
Dec 4, 2020
4f7b92f
dpdk: disable i40evf in favor of iavf patch
jlinkes May 27, 2021
b6e090c
ipsec: fix AES CBC IV generation (CVE-2022-46397)
bganne Jan 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ GTAGS
/build-root/.doxygen-bootstrap.ok
/build-root/.doxygen-siphon.dep
/docs/_build
/docs/dynamic_includes
/sphinx_venv
!/docs/Makefile

Expand Down
1 change: 1 addition & 0 deletions .gitreview
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
host=gerrit.fd.io
port=29418
project=vpp
defaultbranch=stable/2009
6 changes: 3 additions & 3 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -200,17 +200,17 @@ I: span
M: N/A
F: src/vnet/span

Crypto native Plugin
Plugin - Crypto - native
I: crypto-native
M: Damjan Marion <[email protected]>
F: src/plugins/crypto_native/

Crypto openssl Plugin
Plugin - Crypto - OpenSSL
I: crypto-openssl
M: Damjan Marion <[email protected]>
F: src/plugins/crypto_openssl/

Crypto ipsecmb Plugin
Plugin - Crypto - ipsecmb
I: crypto-ipsecmb
M: Neale Ranns <[email protected]>
F: src/plugins/crypto_ipsecmb/
Expand Down
77 changes: 14 additions & 63 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ endif

ifeq ($(filter ubuntu debian,$(OS_ID)),$(OS_ID))
PKG=deb
else ifeq ($(filter rhel centos fedora opensuse opensuse-leap opensuse-tumbleweed,$(OS_ID)),$(OS_ID))
else ifeq ($(filter rhel centos fedora,$(OS_ID)),$(OS_ID))
PKG=rpm
endif

# +libganglia1-dev if building the gmond plugin

DEB_DEPENDS = curl build-essential autoconf automake ccache
DEB_DEPENDS += debhelper dkms git libtool libapr1-dev dh-systemd
DEB_DEPENDS += debhelper dkms git libtool libapr1-dev dh-systemd dh-python
DEB_DEPENDS += libconfuse-dev git-review exuberant-ctags cscope pkg-config
DEB_DEPENDS += lcov chrpath autoconf indent clang-format libnuma-dev
DEB_DEPENDS += python3-all python3-setuptools check
Expand All @@ -72,7 +72,7 @@ DEB_DEPENDS += python3-venv # ensurepip
DEB_DEPENDS += python3-dev # needed for python3 -m pip install psutil
# python3.6 on 16.04 requires python36-dev

LIBFFI=libffi6 # works on all but 20.04
LIBFFI=libffi6 # works on all but 20.04 and debian-testing

ifeq ($(OS_VERSION_ID),18.04)
DEB_DEPENDS += python-dev python-all python-pip python-virtualenv
Expand All @@ -83,16 +83,17 @@ else ifeq ($(OS_VERSION_ID),20.04)
DEB_DEPENDS += libssl-dev
DEB_DEPENDS += libelf-dev # for libbpf (af_xdp)
LIBFFI=libffi7
else ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-8)
DEB_DEPENDS += libssl-dev
DEB_DEPENDS += python-dev python-all python-pip python-virtualenv
APT_ARGS = -t jessie-backports
else ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-9)
DEB_DEPENDS += libssl1.0-dev
DEB_DEPENDS += python-all python-pip
DEB_DEPENDS += python-dev python-all python-pip python-virtualenv
else ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-10)
DEB_DEPENDS += libssl-dev
DEB_DEPENDS += libelf-dev # for libbpf (af_xdp)
else
DEB_DEPENDS += libssl-dev
DEB_DEPENDS += libelf-dev # for libbpf (af_xdp)
LIBFFI=libffi7
endif

DEB_DEPENDS += $(LIBFFI)
Expand All @@ -108,6 +109,7 @@ RPM_DEPENDS += libuuid-devel
RPM_DEPENDS += mbedtls-devel
RPM_DEPENDS += ccache
RPM_DEPENDS += xmlto
RPM_DEPENDS += elfutils-libelf-devel

ifeq ($(OS_ID),fedora)
RPM_DEPENDS += dnf-utils
Expand All @@ -120,7 +122,7 @@ ifeq ($(OS_ID),fedora)
RPM_DEPENDS_GROUPS = 'C Development Tools and Libraries'
else ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8)
RPM_DEPENDS += yum-utils
RPM_DEPENDS += compat-openssl10
RPM_DEPENDS += compat-openssl10 openssl-devel
RPM_DEPENDS += python2-devel python36-devel python3-ply
RPM_DEPENDS += python3-virtualenv python3-jsonschema
RPM_DEPENDS += cmake
Expand All @@ -144,42 +146,6 @@ RPM_DEPENDS_DEBUG = glibc-debuginfo e2fsprogs-debuginfo
RPM_DEPENDS_DEBUG += krb5-debuginfo openssl-debuginfo
RPM_DEPENDS_DEBUG += zlib-debuginfo nss-softokn-debuginfo
RPM_DEPENDS_DEBUG += yum-plugin-auto-update-debug-info
# lowercase- replace spaces with dashes.
SUSE_NAME= $(shell grep '^NAME=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g' | sed -e 's/ /-/' | awk '{print tolower($$0)}')
SUSE_ID= $(shell grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g' | cut -d' ' -f2)
RPM_SUSE_BUILDTOOLS_DEPS = autoconf automake ccache check-devel chrpath
RPM_SUSE_BUILDTOOLS_DEPS += clang cmake indent libtool make ninja python3-ply

RPM_SUSE_DEVEL_DEPS = glibc-devel-static libnuma-devel
RPM_SUSE_DEVEL_DEPS += libopenssl-devel openssl-devel mbedtls-devel libuuid-devel

RPM_SUSE_PYTHON_DEPS = python-devel python3-devel python-pip python3-pip
RPM_SUSE_PYTHON_DEPS += python-rpm-macros python3-rpm-macros

RPM_SUSE_PLATFORM_DEPS = distribution-release shadow rpm-build

ifeq ($(OS_ID),opensuse)
ifeq ($(SUSE_NAME),tumbleweed)
RPM_SUSE_DEVEL_DEPS = libboost_headers1_68_0-devel-1.68.0 libboost_thread1_68_0-devel-1.68.0 gcc
RPM_SUSE_PYTHON_DEPS += python3-ply python2-virtualenv
endif
ifeq ($(SUSE_ID),15.0)
RPM_SUSE_DEVEL_DEPS += libboost_headers-devel libboost_thread-devel gcc
RPM_SUSE_PYTHON_DEPS += python3-ply python2-virtualenv
else
RPM_SUSE_DEVEL_DEPS += libboost_headers1_68_0-devel-1.68.0 gcc6
RPM_SUSE_PYTHON_DEPS += python-virtualenv
endif
endif

ifeq ($(OS_ID),opensuse-leap)
ifeq ($(SUSE_ID),15.0)
RPM_SUSE_DEVEL_DEPS += libboost_headers-devel libboost_thread-devel gcc git curl
RPM_SUSE_PYTHON_DEPS += python3-ply python2-virtualenv
endif
endif

RPM_SUSE_DEPENDS += $(RPM_SUSE_BUILDTOOLS_DEPS) $(RPM_SUSE_DEVEL_DEPS) $(RPM_SUSE_PYTHON_DEPS) $(RPM_SUSE_PLATFORM_DEPS)

ifneq ($(wildcard $(STARTUP_DIR)/startup.conf),)
STARTUP_CONF ?= $(STARTUP_DIR)/startup.conf
Expand Down Expand Up @@ -310,13 +276,6 @@ bootstrap:
.PHONY: install-dep
install-dep:
ifeq ($(filter ubuntu debian,$(OS_ID)),$(OS_ID))
ifeq ($(OS_VERSION_ID),14.04)
@sudo -E apt-get $(CONFIRM) $(FORCE) install software-properties-common
endif
ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-8)
@grep -q jessie-backports /etc/apt/sources.list /etc/apt/sources.list.d/* 2> /dev/null \
|| ( echo "Please install jessie-backports" ; exit 1 )
endif
@sudo -E apt-get update
@sudo -E apt-get $(APT_ARGS) $(CONFIRM) $(FORCE) install $(DEB_DEPENDS)
else ifneq ("$(wildcard /etc/redhat-release)","")
Expand All @@ -326,8 +285,9 @@ ifeq ($(OS_ID),rhel)
@sudo -E yum install $(CONFIRM) $(RPM_DEPENDS)
@sudo -E debuginfo-install $(CONFIRM) glibc openssl-libs mbedtls-devel zlib
else ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8)
@sudo -E dnf install $(CONFIRM) epel-release
@sudo -E dnf config-manager --set-enabled PowerTools
@sudo -E dnf install $(CONFIRM) dnf-plugins-core epel-release
@sudo -E dnf config-manager --set-enabled \
$(shell dnf repolist all 2>/dev/null|grep -i powertools|cut -d' ' -f1)
@sudo -E dnf groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)
@sudo -E dnf install $(CONFIRM) $(RPM_DEPENDS)
else ifeq ($(OS_ID),centos)
Expand All @@ -340,17 +300,8 @@ else ifeq ($(OS_ID),fedora)
@sudo -E dnf install $(CONFIRM) $(RPM_DEPENDS)
@sudo -E debuginfo-install $(CONFIRM) glibc openssl-libs mbedtls-devel zlib
endif
else ifeq ($(filter opensuse-tumbleweed,$(OS_ID)),$(OS_ID))
@sudo -E zypper refresh
@sudo -E zypper install -y $(RPM_SUSE_DEPENDS)
else ifeq ($(filter opensuse-leap,$(OS_ID)),$(OS_ID))
@sudo -E zypper refresh
@sudo -E zypper install -y $(RPM_SUSE_DEPENDS)
else ifeq ($(filter opensuse,$(OS_ID)),$(OS_ID))
@sudo -E zypper refresh
@sudo -E zypper install -y $(RPM_SUSE_DEPENDS)
else
$(error "This option currently works only on Ubuntu, Debian, RHEL, CentOS or openSUSE systems")
$(error "This option currently works only on Ubuntu, Debian, RHEL, or CentOS systems")
endif
git config commit.template .git_commit_template.txt

Expand Down
Loading