vpp.git
14 months agomisc: VPP 22.06.1 Release Notes 41/38241/1 stable/2206 v22.06.1
Dave Wallace [Fri, 10 Feb 2023 18:28:46 +0000 (13:28 -0500)]
misc: VPP 22.06.1 Release Notes

Type: docs
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I8770a35c801126ffd2de8f58d79e6616642709a9

14 months agoipsec: fix AES CBC IV generation (CVE-2022-46397) 53/38153/1
Benoît Ganne [Tue, 18 Jan 2022 14:56:41 +0000 (15:56 +0100)]
ipsec: fix AES CBC IV generation (CVE-2022-46397)

For AES-CBC, the IV must be unpredictable (see NIST SP800-38a Appendix
C). Chaining IVs like is done by ipsecmb and native backends for the
VNET_CRYPTO_OP_FLAG_INIT_IV is fully predictable.
Encrypt a counter as part of the message, making the (predictable)
counter-generated IV unpredictable.

Fixes: VPP-2037
Type: fix

Change-Id: If4f192d62bf97dda553e7573331c75efa11822ae
Signed-off-by: Benoît Ganne <bganne@cisco.com>
20 months agodpdk: fix arm iavf rx vector path on 22.03 17/37017/1
Tianyu Li [Fri, 19 Aug 2022 10:19:07 +0000 (10:19 +0000)]
dpdk: fix arm iavf rx vector path on 22.03

dpdk 22.03 introduces iavf driver but misses rx vector path on Arm.
This causes VF fail to receive packet when running VPP device test
with no-multi-seg configuration.

Add iavf basic Neon RX support to fix this.

Type: fix
Fixes: 2f132efc3caf ("dpdk: bump to DPDK v22.03")

Signed-off-by: Tianyu Li <tianyu.li@arm.com>
Change-Id: I75ae74c8060428cee0e1c235feab1246c014801e

20 months agowireguard: increment interface RX counters 87/36687/2
Matthew Smith [Thu, 2 Jun 2022 19:11:28 +0000 (19:11 +0000)]
wireguard: increment interface RX counters

Type: improvement

When packets were received and processed successfully, increment the
byte/packet counters for the tunnel interface.

Change-Id: I42855607ac6916de641be42aac86c9942cc97140
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
(cherry picked from commit 42928beec9f4dc87dcf61332a39801a454c1d7bc)

20 months agoipfix-export: Fix frame leak in flow_report_process_send() 86/36686/2
Jon Loeliger [Thu, 2 Jun 2022 20:18:54 +0000 (15:18 -0500)]
ipfix-export: Fix frame leak in flow_report_process_send()

The flow_report_process_send() function always allocates a frame.
However, when no template_send is needed, template_bi is ~0.
When this happens, no vectors are placed in the frame.  When
the frame is then "put", a check for n_vectors == 0 prevents
the frame from actually being placed back on the free list.
Fix that by using a direct call to vlib_frame_free() when
there are no frame vctors.

Type: fix
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Change-Id: I936b5cea4cb3c358247c3d2e1a77d034a322ea76
(cherry picked from commit eaa83c0439c13b76525224267c23d0cf52a6668b)

21 months agonat: disable nat44-ei-in2out-output ttl check 85/36685/1
Alexander Skorichenko [Fri, 27 May 2022 08:23:20 +0000 (08:23 +0000)]
nat: disable nat44-ei-in2out-output ttl check

Type: fix

A packet passing through nat44-ei-in2out-output,
has its ttl value validated in earlier nodes.
"ip4-input" node checks ttl for locally generated packets.
"ip4-rewrite" node validates ttl in forwarded packets.

Thus for example, the ED counterpart disables ttl checks
in its "nat44-ed-in2out-output" node.
This patch updates nat44 EI conditions for ttl checks to
those currently used in nat44 ED case, meaning no extra ttl
validation for in2out when output-feature is enabled.

Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
Change-Id: Idd15d7c9a746b60c0a6dac5537d00ef10c257fdc
(cherry picked from commit d1ca70c7e11dac7b9fff802ca5f1d9051c984c34)

22 months agomisc: VPP 22.06 Release Notes 86/36486/4 v22.06
Andrew Yourtchenko [Thu, 23 Jun 2022 05:18:21 +0000 (05:18 +0000)]
misc: VPP 22.06 Release Notes

Type: docs
Change-Id: I15971b21fd660b4893218640c0d5e5a5247868f1
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
22 months agovcl: check if listener valid on disconnect cleanup 32/36532/2
Florin Coras [Wed, 29 Jun 2022 03:01:20 +0000 (20:01 -0700)]
vcl: check if listener valid on disconnect cleanup

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ie057d0d5a51d3226a1a188cf9d48a5d82dc4a3c7

22 months agoquic:fix crash rx_fifo full or grow 31/36531/1
fanxb [Fri, 17 Jun 2022 08:19:43 +0000 (16:19 +0800)]
quic:fix crash rx_fifo full or grow

if when the rx_fifo grows, svm_fifo_enqueue() return -4,
stream_data->app_rx_data_len += rlen type conversion occurs,
Finally,stream->recvstate.data_off calculation is wrong.

Type:fix

Signed-off-by: fanxb <fxb_mail@163.com>
Change-Id: Iae11f0c453f32d836f4148d70e3b121545a53a90
(cherry picked from commit 5b4b4c05ff06b866b90b0df9b2be2ed28e606f16)

22 months agodocs: fix broken links 30/36530/2
Pratikshya Prasai [Mon, 27 Jun 2022 15:02:04 +0000 (11:02 -0400)]
docs: fix broken links

Type: docs

Signed-off-by: Pratikshya Prasai <pratikshyaprasai2112@gmail.com>
Change-Id: I729de9e18624c63a72ec415a05c55617cb360c47
(cherry picked from commit 365fabea1eac892b838a258d39e6e6eee8adbd2d)

22 months agosession: fix connected udp accepts 29/36529/1
Florin Coras [Tue, 28 Jun 2022 23:01:35 +0000 (16:01 -0700)]
session: fix connected udp accepts

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0963bae4b56b08c0a9ab4ee1f2738013217e1fb7
(cherry picked from commit fc20c8e50f2784ad62b97bdb0094605d2b86f596)

22 months agosession quic: allow custom config of rx mqs seg size 28/36528/1
Florin Coras [Tue, 28 Jun 2022 21:34:45 +0000 (14:34 -0700)]
session quic: allow custom config of rx mqs seg size

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: Idc0fdebfea29c241d8a36128241ccec03eace5fd
(cherry picked from commit cf5c774b594d4b403e817886c8d41efd927f06b4)

22 months agohsa: allow first segments larger than 4g for proxy 99/36399/1 v22.06-rc2
Florin Coras [Thu, 9 Jun 2022 19:38:13 +0000 (12:38 -0700)]
hsa: allow first segments larger than 4g for proxy

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I9c502a491ff56806a2e631f7a4c18903a2e93ab2
(cherry picked from commit c2ab1bdbc73f2743979f8779c027adc04d79bf22)

22 months agohsa: dealloc proxy fifos on right thread 96/36396/1
Florin Coras [Fri, 3 Jun 2022 21:29:20 +0000 (14:29 -0700)]
hsa: dealloc proxy fifos on right thread

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ia66c12e1da126d0d8d101b645e6dc8454c3826d6
(cherry picked from commit db8dd260d5d8ac798a9524f29e746b9094eb73bf)

22 months agohsa: refactor proxy session lookup and cleanup 93/36293/2
Florin Coras [Fri, 3 Jun 2022 17:51:27 +0000 (10:51 -0700)]
hsa: refactor proxy session lookup and cleanup

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ic68627bbca676cc78b0be05bc1fa0f386f5d27fa
(cherry picked from commit 7b8d26c136081563c89e50df3d16a37f2ad3e489)

22 months agosession: fix double free in CLI 92/36292/1
Filip Tehlar [Fri, 3 Jun 2022 12:21:16 +0000 (12:21 +0000)]
session: fix double free in CLI

Type: fix

Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: I646ac946d0b07929dfdd1966a4f4a3b697768040
(cherry picked from commit af21b2e6994893e97ad0fef52ca154c69a4a09cb)

23 months agodocs: update spelling word list and fix typos 91/35991/1
Dave Wallace [Wed, 25 May 2022 01:25:55 +0000 (21:25 -0400)]
docs: update spelling word list and fix typos

- update wordlist and fix typos so that 'make docs-spell' passes
- sort spelling_wordlist.txt
- update docs maintainers list

Type: docs

Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I38ac7850c604c323427d2bb6877ea98bd10bcc38
(cherry picked from commit dac97e2c627ca3a911dac7fd8eb268bde23f853f)

23 months agomisc: Initial changes for stable/2206 branch 08/36208/1 v22.06-rc1
Andrew Yourtchenko [Wed, 25 May 2022 12:08:44 +0000 (12:08 +0000)]
misc: Initial changes for stable/2206 branch

Type: docs
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Change-Id: Ib8092fd21db3d21254ebdc7d7ace270c035fced8

23 months agodocs: make docs build incremental 90/35790/5
Nathan Skrzypczak [Fri, 25 Mar 2022 11:06:51 +0000 (12:06 +0100)]
docs: make docs build incremental

This patch makes the `make docs` directive incremental
avoiding re-running the siphon when the source hasn't
changed, and leveraging sphinx internal cache.
It adds a `make rebuild-docs` directive for cases where
this caching logic might break, e.g. in CI.
The virtualenv doesn't also get recreated on each build,
which might be enough when writing docs, provided
automated process leverage its rebuild counterpart.

Type: improvement

Change-Id: Ie90de3adebeed017b249cad81c6c160719f71e8d
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
23 months agotests: fix ipsec sdp cases with parrallel job 49/36049/2
Tianyu Li [Fri, 22 Apr 2022 03:22:55 +0000 (11:22 +0800)]
tests: fix ipsec sdp cases with parrallel job

Serveral IPSec SPD cases re-use the same test class name,
leads to test error when do parrallel test with TEST_JOBS=16,
change the test class names to unique values.

Type: fix
Fixes: 7cd35f5d688d9e3bddf66602655274dae944b086
Signed-off-by: Tianyu Li <tianyu.li@arm.com>
Change-Id: Ia5768654ddb6274531222761cc82b226d97325a9

23 months agotests: fix default failed dir setting 59/36159/2
Klement Sekera [Fri, 13 May 2022 16:01:36 +0000 (18:01 +0200)]
tests: fix default failed dir setting

When running tests via run.sh, default setting of None would cause
failed directory symlink to appear in vpp workspace with an ugly name.
This patch places the symlink in temporary directory.

Type: fix
Fixes: b23ffd7ef216463c35b75c831e6a27e58971f4ec
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Change-Id: Ic1715eba7ac1f82f71855e2aeb9b659d27bbb3af

23 months agodevices: add af-packet v3 api 32/35932/4
Mohsin Kazmi [Mon, 11 Apr 2022 16:14:45 +0000 (16:14 +0000)]
devices: add af-packet v3 api

Type: improvement

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I4679acbe4fd4400d57c0a79b0a6c74c8f1639703

23 months agoflow: support generic flow and RSS action in vapi 14/35614/8
Ting Xu [Tue, 8 Mar 2022 07:22:56 +0000 (07:22 +0000)]
flow: support generic flow and RSS action in vapi

Add generic flow type and rss action type to vapi. It is to support
creating generic flow rule via vapi.

Type: feature

Signed-off-by: Ting Xu <ting.xu@intel.com>
Change-Id: Ifeaa007679487e02bd2903dc591d80a1caba33bc

23 months agovppinfra: fix memory trace 89/36189/2
Leung Lai Yung [Sun, 22 May 2022 13:25:53 +0000 (13:25 +0000)]
vppinfra: fix memory trace

Type: fix

reset the memory trace if mem trace is turned on

Signed-off-by: Leung Lai Yung <benkerbuild@gmail.com>
Change-Id: Ib99355b9ed42ff66c720bbea5cbbf03c65820d12

23 months agovlib: implement aux data handoff 66/36166/4
Mohammed Hawari [Wed, 18 May 2022 08:08:47 +0000 (10:08 +0200)]
vlib: implement aux data handoff

Type: improvement
Change-Id: I20b41537a249a55f01004e45392b34adaa8fd792
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
23 months agoapi: start enum values from 0 94/36194/1
Filip Varga [Mon, 23 May 2022 19:18:38 +0000 (21:18 +0200)]
api: start enum values from 0

C enum values by default start from 0.
All unassigned names should get value as value of previous name plus one.
The problem was that default value was 0 and adding one for the first
value would make generated api files start from 1 instead of 0.

Type: fix

Change-Id: I772d6411435648de3ec514f57025ef1acae87338
Signed-off-by: Filip Varga <fivarga@cisco.com>
23 months agodpdk: fix update link state 84/36184/3
Alexander Skorichenko [Fri, 20 May 2022 11:13:19 +0000 (11:13 +0000)]
dpdk: fix update link state

Type: fix

Correct vnet_hw_interface_t flags update on link state changes.
Currently incomplete set of flags is applied on each change,
only flags related to the most recent change are being set correct.
E.g. setting the link up would erase the duplex part of the flags.

Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
Change-Id: I5b95e1c0eaea0c283b108dbf7f809682ec9064eb

23 months agolinux-cp: fix display of link_speed 76/36176/2
Anton Nikolaev [Thu, 19 May 2022 10:52:01 +0000 (10:52 +0000)]
linux-cp: fix display of link_speed

Type: fix

Don't set link speed for tap interface when link speed is unknown

Signed-off-by: Anton Nikolaev <anikolaev@netgate.com>
Change-Id: Ia97277b3bf7c958fa665e4ead8d0e48f02921e69

23 months agoip: reassembly - fixing stepping index in a better way 78/36178/3
Vijayabhaskar Katamreddy [Thu, 19 May 2022 17:07:22 +0000 (17:07 +0000)]
ip: reassembly - fixing stepping index in a better way

Type: fix

pool_is_free_index() check is performed only for the first element

Signed-off-by: Vijayabhaskar Katamreddy <vkatamre@cisco.com>
Change-Id: Icadc715a9b54761ec69805a134a69a262137536d

23 months agoip: reassembly - adding custom reassembly node 79/36179/2
Vijayabhaskar Katamreddy [Thu, 19 May 2022 17:48:13 +0000 (17:48 +0000)]
ip: reassembly - adding custom reassembly node

Type: fix

Custom node functionality is missing in v6,  so bringing in similar to v4 functionality into ip6 as well

Signed-off-by: Vijayabhaskar Katamreddy <vkatamre@cisco.com>
Change-Id: I28b0be2fc55a00bfc0b456b1caaa1dcf5641a44e

23 months agovirtio: use the internal hdr offsets of buffer metadata for offloads 67/36167/2
Mohsin Kazmi [Wed, 18 May 2022 16:51:57 +0000 (16:51 +0000)]
virtio: use the internal hdr offsets of buffer metadata for offloads

Type: improvement

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: Ie63c360f2e42e9e5799f5c536453823ea95ed3b8

23 months agoapi: refactor api data storage 68/36168/7
Damjan Marion [Wed, 18 May 2022 20:16:11 +0000 (22:16 +0200)]
api: refactor api data storage

single struct to hold all api handler, flags, etc.
Provide functions to toggle flags instead of writing directly to
internal data.

Type: refactor
Change-Id: I4730d7290e57489de8eda34a72211527e015b721
Signed-off-by: Damjan Marion <damarion@cisco.com>
23 months agoikev2: fix tunnel direction 57/36157/3
Stanislav Zaikin [Tue, 17 May 2022 17:18:53 +0000 (19:18 +0200)]
ikev2: fix tunnel direction

Type: fix

Change-Id: I480b1fcace1c27a5cb2d2956cec80b379105b55d
Signed-off-by: Stanislav Zaikin <zstaseg@gmail.com>
23 months ago ip: reassembly - pacing reassembly timeouts 36/36136/7
Vijayabhaskar Katamreddy [Fri, 13 May 2022 13:07:19 +0000 (13:07 +0000)]
 ip: reassembly - pacing reassembly timeouts

Type: fix

Pace the main thread activity for reassembly timeouts, to avoid barrier syncs

Signed-off-by: Vijayabhaskar Katamreddy <vkatamre@cisco.com>
Change-Id: If8c62a05c7d28bfa6ac530c2cd5124834b4e8a70

23 months agostats: fix collector updates of symlinks 46/36146/3
Arthur de Kerhor [Mon, 16 May 2022 17:46:22 +0000 (19:46 +0200)]
stats: fix collector updates of symlinks

A node name is not bound to a node index. For example, if an interface
is deleted and re-added, the indexes of its nodes "<itfc_name>-tx"
and "<itfc_name>-output" may change. Thus, when the collector updates
the nodes stats, it should first delete all the symlinks for nodes that
have changed their names before adding new symlinks. Otherwise, it
could attempt to add already existing symlinks or delete valid ones.

Example of a series of command that triggers a crash in the assert
`ASSERT (node_data[i].symlinks[j] != CLIB_U32_MAX);`:

```
create loopback interface
create loopback interface
```
Wait for the nodes stats to update, then:
```
delete loopback interface intfc loop0
delete loopback interface intfc loop1
create loopback interface
create loopback interface
```

Type: fix

Change-Id: Ief8e7135e5c02dc6bc64dc94b76cff21ea9ab3a9
Signed-off-by: Arthur de Kerhor <arthurdekerhor@gmail.com>
23 months agoip: reassembly - increasing the nbuckets for reass 65/36165/2
Vijayabhaskar Katamreddy [Wed, 18 May 2022 14:31:03 +0000 (14:31 +0000)]
ip: reassembly - increasing the nbuckets for reass

Type: fix

Adding stats from debugging point of view

Signed-off-by: Vijayabhaskar Katamreddy <vkatamre@cisco.com>
Change-Id: I3118d3fd5d630fad80a42ab960e30459789123cf

23 months agovppinfra: fix non-vector build on x86_64 64/36164/2
Damjan Marion [Wed, 18 May 2022 13:27:27 +0000 (15:27 +0200)]
vppinfra: fix non-vector build on x86_64

Type: fix
Fixes: 56f54af
Change-Id: Id03185953eb16da3a3276d2f21d64499784bbf17
Signed-off-by: Damjan Marion <damarion@cisco.com>
23 months agomisc: update config script in IKEv2 test 34/36134/5
Filip Tehlar [Fri, 13 May 2022 00:36:39 +0000 (00:36 +0000)]
misc: update config script in IKEv2 test

Type: fix

Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: Iba82f8e0f18f3e1e4da57f4c23ba9272e87afd93

23 months agoip: reassembly - increasing the nbuckets for reass 47/36147/2
Vijayabhaskar Katamreddy [Mon, 16 May 2022 22:18:37 +0000 (22:18 +0000)]
ip: reassembly - increasing the nbuckets for reass

Type: fix

as number of reass contexts increasing based on workers, increasing the number of nbuckets for bihash

Signed-off-by: Vijayabhaskar Katamreddy <vkatamre@cisco.com>
Change-Id: I83d061a709ecb8845ce745b18d03fdefc795787f

23 months agointerface: fix overflow of link speed. 40/36140/4
Anton Nikolaev [Mon, 16 May 2022 10:33:17 +0000 (10:33 +0000)]
interface: fix overflow of link speed.

Type: fix

There were several places where mbps were converted to kbps for
link_speed, but often drivers of devices set link speed to unknown
(0xFFFFFFFF) on initialization, so there was multiplication of
link_speed equal 0xFFFFFFFF(UINT32_MAX) by 1000, this provides
overflow of unsigned int, and as result link_speed was equal
4295 Gbps, but actually link_speed is unknown.

Signed-off-by: Anton Nikolaev <anikolaev@netgate.com>
Change-Id: Ib462ed6ed685654af4687041e115bfb74e640f13

23 months agoacl: memory leak in acl_fa_session_cleaner_process 48/36148/1
Steven Luong [Mon, 16 May 2022 22:53:43 +0000 (15:53 -0700)]
acl: memory leak in acl_fa_session_cleaner_process

The statement
  pw0->pending_clear_sw_if_index_bitmap =
    clib_bitmap_dup (pw0->serviced_sw_if_index_bitmap);
will cause pw0->pending_clear_sw_if_index_bitmap's previous
vector to be gone. Need to free it prior to calling clib_bitmap_dup()

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I20de780e73daea7be17efa0bf660af2592cd4680

23 months agoflowprobe: add api messages to obtain current state 29/36129/6
Alexander Chernavin [Thu, 12 May 2022 14:56:24 +0000 (14:56 +0000)]
flowprobe: add api messages to obtain current state

Type: improvement

With this change:
 - add dump/details messages to obtain interfaces for which IPFIX flow
   record generation is enabled;
 - add get message to obtain parameters;
 - add a new message to set parameters with validation present and to
   correspond with get/set naming;
 - add tests for get/set parameters and dump/details interfaces.

Change-Id: I09f6ec990171ac8bcb9d2f5c92629803b8ab6c28
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
23 months agoip: format table ids with %u 39/36139/1
Nathan Skrzypczak [Mon, 16 May 2022 08:44:32 +0000 (10:44 +0200)]
ip: format table ids with %u

Type: fix

Change-Id: I69f7e23b23e8cfcfe57ba019862470e0eb4b06db
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
23 months agovlib: exec cli line-by-line processing and script updates 37/36137/2
Damjan Marion [Fri, 13 May 2022 22:14:02 +0000 (00:14 +0200)]
vlib: exec cli line-by-line processing and script updates

Type: improvement
Change-Id: I82e7c0acc547794bcc7c42f4b8881a8251bf7a9b
Signed-off-by: Damjan Marion <damarion@cisco.com>
23 months agosession: revert "fix session cli maybe parse wrong args if executed in files" 38/36138/1
Damjan Marion [Fri, 13 May 2022 22:24:34 +0000 (00:24 +0200)]
session: revert "fix session cli maybe parse wrong args if executed in files"

Fixed at infra level.

Type: improvement
Change-Id: I43cf16870c1d2e12189073f7786d62375c46e2c2
Signed-off-by: Damjan Marion <damarion@cisco.com>
23 months agovlib: process startup config exec scripts line by line 01/36101/6
Damjan Marion [Sun, 8 May 2022 18:48:37 +0000 (20:48 +0200)]
vlib: process startup config exec scripts line by line

This fixes long standing annoyance that CLIs with optional args cannot
be executed from file, as they cannot distinguish between valid optional
args and next line in the file.

Multiline statements can be provided simply by using backslash before \n.
Also comments are supported - everything after # is ignored up to the
end of the line.

Example:

 # multiline cli using backslash
show version \
       verbose # end of line comment

packet-generator new { \
   name x \
   limit 5 \
   # comment inside cmultiline cli \
   size 128-128 \
   interface local0 \
   node null-node \
   data { \
       incrementing 30 \
   } \
}

Type: fix

Change-Id: Ia6d588169bae14e6e3f18effe94820d05ace1dbf
Signed-off-by: Damjan Marion <damarion@cisco.com>
23 months agodpdk: fix overflow in mtu arithmetic 31/36131/2
Mohammed Hawari [Fri, 13 May 2022 07:45:12 +0000 (09:45 +0200)]
dpdk: fix overflow in mtu arithmetic

When the driver's max_rx_pktlen is >= 65536, max_supported_frame_size
overflows and queue creation fails.

Change-Id: If78707cb698adf8619ec44a852dd05d570917577
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Type: fix

23 months agotests: fix pnat tests formatting 32/36132/1
Alexander Chernavin [Fri, 13 May 2022 08:34:34 +0000 (08:34 +0000)]
tests: fix pnat tests formatting

Type: fix

Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Change-Id: I944dc8418e7ab541ae96141c15e04abb33635ac4

23 months agoip: reassembly - Fixing buffer leaks, corruption 16/36116/6
Vijayabhaskar Katamreddy [Mon, 9 May 2022 14:13:07 +0000 (14:13 +0000)]
ip: reassembly - Fixing buffer leaks, corruption

Type: fix

*Buffer leaks and corruptions during internal errors, either overriding
or missing to add the buffer to the list

Signed-off-by: Vijayabhaskar Katamreddy <vkatamre@cisco.com>
Change-Id: I6c2406cff53a741e800e2d05593696f3e9fd6ff5

23 months agoflowprobe: add support for reporting on inbound packets 94/36094/4
Alexander Chernavin [Fri, 6 May 2022 11:35:59 +0000 (11:35 +0000)]
flowprobe: add support for reporting on inbound packets

Type: feature

Currently, the plugin supports only IPFIX flow record generation for
outbound packets.

With this change:
 - add a new API message for enabling the feature on an interface that
   accepts direction (rx, tx, both);
 - update existing debug command for feature enabling to accept
   direction;
 - update existing debug command for showing currently enabled feature
   on interfaces to display direction;
 - update templates to include a direction field;
 - generate flow records on the specified direction and data path;
 - report direction in flow data;
 - update tests to use the new API;
 - add tests for inbound flows.

Change-Id: I121fd904b38408641036ebeea848df7a4e5e0b30
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
23 months agopnat: add support to wildcard IP Protocol field if not specified 12/36112/5
Fahad Naeem [Tue, 10 May 2022 06:03:52 +0000 (01:03 -0500)]
pnat: add support to wildcard IP Protocol field if not specified

- add pnat_binding_add_v2 which explicitly requires match mask to
  set to PNAT_PROTO if we want to match on IP Protocol
- fix pnat_binding_add backward compatibility i.e. no need to set
  match mast to PNAT_PROTO

Type: improvement

Signed-off-by: Fahad Naeem <fahadnaeemkhan@gmail.com>
Change-Id: I5a23244be55b7d4c10552c555881527a4b2f325f

23 months agotests: fix checkstyle-python 25/36125/4
Klement Sekera [Wed, 11 May 2022 14:54:09 +0000 (16:54 +0200)]
tests: fix checkstyle-python

Add --check to black to pass back error value and fail checkstyle if
a reformat would occur.

Type: fix
Fixes: d9b0c6fbf7aa5bd9af84264105b39c82028a4a29
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Change-Id: I9a1fbe224929fc461ff833a589f73ca06e7cc9d6

23 months agoapi: revert the changes to atexit for shared memory client 24/36124/2
Andrew Yourtchenko [Wed, 11 May 2022 13:41:20 +0000 (13:41 +0000)]
api: revert the changes to atexit for shared memory client

2ca88ff97884ec9ed20a853b13cee6d86f9c9d0f introduced the change
into the shared memory atexit, which breaks IPSec tests in some
environments.

Type: fix
Fixes: 2ca88ff97884ec9ed20a853b13cee6d86f9c9d0f
Change-Id: Ia132cb045e8d66f55e41d29cffdca3458d61096d
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
23 months agodpdk: clear the RTE_MEMPOOL_F_NON_IO 22/36122/2
Mohammed Hawari [Wed, 11 May 2022 09:36:19 +0000 (11:36 +0200)]
dpdk: clear the RTE_MEMPOOL_F_NON_IO

This mempool flag should be cleared when the mempool is populated, to
reproduce the behaviour of rte_mempool_populate_iova in DPDK 22.03

Change-Id: I4c0e07efca9df2e472e8e393689127c01cf66da2
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Type: fix
Fixes: 2f132efc3cafde5a0dd01ef8a91606528970cdf7

23 months agotests: replace pycodestyle with black 43/36043/15
Klement Sekera [Tue, 26 Apr 2022 17:02:15 +0000 (19:02 +0200)]
tests: replace pycodestyle with black

Drop pycodestyle for code style checking in favor of black. Black is
much faster, stable PEP8 compliant code style checker offering also
automatic formatting. It aims to be very stable and produce smallest
diffs. It's used by many small and big projects.

Running checkstyle with black takes a few seconds with a terse output.
Thus, test-checkstyle-diff is no longer necessary.

Expand scope of checkstyle to all python files in the repo, replacing
test-checkstyle with checkstyle-python.

Also, fixstyle-python is now available for automatic style formatting.

Note: python virtualenv has been consolidated in test/Makefile,
test/requirements*.txt which will eventually be moved to a central
location.  This is required to simply the automated generation of
docker executor images in the CI.

Type: improvement
Change-Id: I022a326603485f58585e879ac0f697fceefbc9c8
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
23 months agonat: improve icmp type detection performance 96/26896/5
Klement Sekera [Wed, 6 May 2020 10:11:36 +0000 (10:11 +0000)]
nat: improve icmp type detection performance

Replace code with branchless code.

Type: improvement

Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: Ic38a20ad33483c1c26f90a927f8b963b0ead4a87

23 months agoip: reassembly: add documentation 96/35096/4
Klement Sekera [Tue, 25 Jan 2022 17:32:38 +0000 (17:32 +0000)]
ip: reassembly: add documentation

Type: docs
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I23008cde47d8b7a531346eab02902e2ced18742a

23 months agoip: fix buffer leaks in reassembly 93/32393/8
Klement Sekera [Thu, 20 May 2021 10:23:00 +0000 (12:23 +0200)]
ip: fix buffer leaks in reassembly

Type: fix
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I952ba7e042779855e29628d048da7edec1caaafd

23 months agovhost: memory leak upon deleting vhost-user interface 00/36100/2
Steven Luong [Fri, 6 May 2022 20:34:10 +0000 (13:34 -0700)]
vhost: memory leak upon deleting vhost-user interface

We allocate vring_spinlock for all vrings in the vui, not just the ones
being used. So when we free the vui, we have to free vring_spinlock for
all vrings, not just the one being used.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I3951fda71ce6e11474b04302116ea9e08b404758

23 months agodevices: fix crash on invalid interface 84/36084/3
Gabriel Ganne [Thu, 5 May 2022 08:16:56 +0000 (10:16 +0200)]
devices: fix crash on invalid interface

Type: fix

A simple "create host-interface name xxx" is enough to trigger the bug:
The interface is not found, and we goto error with apif=NULL

Signed-off-by: Gabriel Ganne <gabriel.ganne@gmail.com>
Change-Id: I2f894176d39b3d15efab054dc7340e7a0600a2e8

23 months agosession: fix session cli maybe parse wrong args if executed in files 74/36074/6
Xiaoming Jiang [Mon, 2 May 2022 15:07:31 +0000 (15:07 +0000)]
session: fix session cli maybe parse wrong args if executed in files

Type: fix

Signed-off-by: Xiaoming Jiang <jiangxiaoming@outlook.com>
Change-Id: Id19a52df4f237cf5d85d305fdc279ab7df2d6f4b

23 months agostats: add vlib_stats_free_string_vector 90/36090/2
Damjan Marion [Fri, 6 May 2022 10:39:10 +0000 (12:39 +0200)]
stats: add vlib_stats_free_string_vector

Type: improvement
Change-Id: Ifa9f908b24b5fe867826601d32eeb4f0d639fbeb
Signed-off-by: Damjan Marion <damarion@cisco.com>
23 months agovppinfra: free vector against its heap 92/36092/2
Damjan Marion [Fri, 6 May 2022 10:37:30 +0000 (12:37 +0200)]
vppinfra: free vector against its heap

Type: fix
Change-Id: Ie292ee56dd5265a56ef472554aaf086e61da7089
Signed-off-by: Damjan Marion <damarion@cisco.com>
23 months agostats: strings in string vector are c strings 91/36091/1
Damjan Marion [Fri, 6 May 2022 10:38:19 +0000 (12:38 +0200)]
stats: strings in string vector are c strings

Type: fix
Change-Id: I9cf9376f2813f7bceecc6a9d714dcb98df77615d
Signed-off-by: Damjan Marion <damarion@cisco.com>
23 months agodpdk: fix generic flow input parsing in FDIR 86/36086/1
Ting Xu [Thu, 5 May 2022 09:12:50 +0000 (09:12 +0000)]
dpdk: fix generic flow input parsing in FDIR

This patch fixes the issue that in DPDK FDIR generic flow parsing, the
inputs will be changed during processing, which will lead to a failure
in vnet flow when creating generic flow rules.

Type: fix

Signed-off-by: Ting Xu <ting.xu@intel.com>
Change-Id: I107735a305ff48593d66746e0cd642c76ad5700d

23 months agordma: two small improvements for rdma interface 82/36082/2
Jieqiang Wang [Thu, 5 May 2022 12:33:57 +0000 (12:33 +0000)]
rdma: two small improvements for rdma interface

- fix branch prediction for checking rdma ERROR flag
- add the missing right angle bracket to help message

Type: improvement
Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com>
Reviewed-by: Lijian Zhang <lijian.zhang@arm.com>
Reviewed-by: Tianyu Li <tianyu.li@arm.com>
Change-Id: I2ce667631b3e3f60939069e2a16ddba0ff12a695

23 months agovat2: fix argument parsing 80/36080/2
Dave Wallace [Wed, 4 May 2022 21:31:55 +0000 (17:31 -0400)]
vat2: fix argument parsing

Type: fix

Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I6d40ce90330d644469937a24eec47ea5bd5b649b

23 months agopolicer: output interface policer 58/35958/10
Stanislav Zaikin [Tue, 5 Apr 2022 17:23:12 +0000 (19:23 +0200)]
policer: output interface policer

Type: improvement

Change-Id: Ibc1b5059ed51c34334340534e9eb68121f556bce
Signed-off-by: Stanislav Zaikin <zstaseg@gmail.com>
23 months agoudp: remove buggy assert in udp encap 76/36076/2
Benoît Ganne [Wed, 4 May 2022 09:26:09 +0000 (11:26 +0200)]
udp: remove buggy assert in udp encap

It looks like in a distant past we were using a vnet_rewrite but this
no longer the case.

Type: fix

Change-Id: Ib8d336aec7d5abd7749f543739f531144e76e551
Signed-off-by: Benoît Ganne <bganne@cisco.com>
23 months agotls: free app session if connect notify refused 79/36079/2
Florin Coras [Wed, 4 May 2022 19:02:56 +0000 (12:02 -0700)]
tls: free app session if connect notify refused

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Iee6784c37a835b49d962ae6f87c279cbe65dde15

23 months agovhost: use_custom_mac set in create_vhost_user_if_v2 73/35873/7
Fahad Naeem [Mon, 4 Apr 2022 14:31:04 +0000 (10:31 -0400)]
vhost: use_custom_mac set in create_vhost_user_if_v2

Type: fix

set use_custom_mac for args in create_vhost_user_if_v2 API
Add testcase for custom mac-address

Signed-off-by: Fahad Naeem <fahadnaeemkhan@gmail.com>
Change-Id: Iac64d818e0f1e6d36187fe769ee33d202aaafd05
Signed-off-by: Fahad Naeem <fahadnaeemkhan@gmail.com>
2 years agoipsec: support per next-header next-nodes 41/35941/3
Benoît Ganne [Mon, 11 Apr 2022 16:51:25 +0000 (18:51 +0200)]
ipsec: support per next-header next-nodes

Type: feature

Change-Id: I940b6c9d206e407f3e17d66c97233cd658984e61
Signed-off-by: Benoît Ganne <bganne@cisco.com>
2 years agotests: handle removed interface 65/35965/2
Klement Sekera [Thu, 14 Apr 2022 14:29:07 +0000 (16:29 +0200)]
tests: handle removed interface

Catch exception if sw_if_index is invalid when querying interface
binding config. If the interface is not there, it's surely not bound to
any table ...

Type: improvement
Change-Id: I1f3e04a631653feb5c2350662b6a041adccefa1f
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
2 years agovapi: support api clients within vpp process 11/35111/11
Ole Troan [Thu, 27 Jan 2022 15:25:43 +0000 (16:25 +0100)]
vapi: support api clients within vpp process

Add vapi_connect_from_vpp() and vapi_disconnect_from_vpp()
calls to allow API clients from within VPP process.

Add a new memclnt_create version that gives the user a
knob to enable or disable dead client scans (keepalive).

Type: feature
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Id0b7bb89308db3a3aed2d3fcbedf4e1282dcd03f
Signed-off-by: Ole Troan <ot@cisco.com>
2 years agodhcp: fix dhcp_compl_event 69/36069/4
Jing Peng [Fri, 29 Apr 2022 19:14:07 +0000 (15:14 -0400)]
dhcp: fix dhcp_compl_event

This patch fixes two problems:

1. The lease field in the dhcp_compl_event message can include a list of
vl_api_domain_server_t structs, but no memory is allocated for it.
2. The DNS server address is not copied properly, resulting in wrong IP4
addresses in the event message.

Type: fix

Signed-off-by: Jing Peng <pj.hades@gmail.com>
Change-Id: I42c533e7af697568c69714011d983f88368a7e15

2 years agobuild: use env to find bash path 68/36068/1
Damjan Marion [Fri, 29 Apr 2022 17:09:38 +0000 (19:09 +0200)]
build: use env to find bash path

Type: make
Change-Id: I9f87134ac05d99051888024f889f05dae8e3feec
Signed-off-by: Damjan Marion <damarion@cisco.com>
2 years agovppinfra: fix clib_mem_destroy 60/36060/2
Damjan Marion [Thu, 28 Apr 2022 15:46:13 +0000 (17:46 +0200)]
vppinfra: fix clib_mem_destroy

Passing wrong pointer to clib_mem_vm_unmap...

Type: fix
Change-Id: I1f695d77bc45d9a6de3a4a3da1fbe6faebdad15e
Signed-off-by: Damjan Marion <damarion@cisco.com>
2 years agotests: fix handling failed test case 34/36034/2
Klement Sekera [Mon, 25 Apr 2022 14:39:09 +0000 (16:39 +0200)]
tests: fix handling failed test case

Add missing parameter where required.

Type: fix
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Change-Id: I8cd7c31848836e3233cb79d1dd21884167db4354

2 years agotests: fix assert_nothing_captured 27/36027/5
Klement Sekera [Sat, 23 Apr 2022 09:34:29 +0000 (11:34 +0200)]
tests: fix assert_nothing_captured

Type: fix
Fixes: 26cd0242c95025e0d644db3a80dfe8dee83b6d7a
Change-Id: I9a88221af65f170dc6b1f0dc0992df401e489fa2
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
2 years agobuild: remove mbedtls from rpm dependencies 59/36059/3
Florin Coras [Thu, 28 Apr 2022 14:55:07 +0000 (07:55 -0700)]
build: remove mbedtls from rpm dependencies

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I50dfed0fba3c8547f5c52998cf777f2ed1d2e4a5

2 years agowireguard: Document wireguard async mode default 43/35943/3
Jon Loeliger [Tue, 12 Apr 2022 15:06:49 +0000 (10:06 -0500)]
wireguard: Document wireguard async mode default

Type: improvement
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Change-Id: I446eb86c097d1bf99f05ee47f1c550689d70ced2

2 years agoaf_xdp: more meaningful frame_size error message 58/36058/2
Benoît Ganne [Thu, 28 Apr 2022 09:07:14 +0000 (11:07 +0200)]
af_xdp: more meaningful frame_size error message

Type: improvement

Change-Id: If3a83848ae0741334887c654b65e424b99caa73c
Signed-off-by: Benoît Ganne <bganne@cisco.com>
2 years agosession: fix coverity warning 50/36050/3
Florin Coras [Wed, 27 Apr 2022 02:32:11 +0000 (19:32 -0700)]
session: fix coverity warning

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I67f5a2c8902dd14c09472c25599b3b1b493a6948

2 years agovapi: Fix build when directory contains @ 57/36057/1
Renato Botelho do Couto [Wed, 27 Apr 2022 20:51:20 +0000 (17:51 -0300)]
vapi: Fix build when directory contains @

During build some header guards are created based on full path where
build is happening.  If one directory contains @ character build breaks
because compiler believes it's a macro declaration.

Jenkins adds `@${EXECUTOR_NUMBER}` suffix to workspace directory when
it uses more than one executor for that job, breaking the build.

Replace any @ character on guard name by _ to get it fixed.

Type: fix
Change-Id: Id0f4cfc33fda95e168541aa4e353a0d08aa3b664
Signed-off-by: Renato Botelho do Couto <renato@netgate.com>
2 years agolinux-cp: sync addr and neigh only for lcp interfaces 36/36036/2
Stanislav Zaikin [Mon, 25 Apr 2022 17:11:36 +0000 (19:11 +0200)]
linux-cp: sync addr and neigh only for lcp interfaces

Type: fix

Signed-off-by: Stanislav Zaikin <zstaseg@gmail.com>
Change-Id: I792467b73449074e59c4232b1f82d134c399624c

2 years agolibmemif: timer causes spin at 100% cpu 29/36029/3
Daniel Béreš [Fri, 22 Apr 2022 08:06:17 +0000 (08:06 +0000)]
libmemif: timer causes spin at 100% cpu

In case of timer is set and expires:
1. timer_fd is readable and stay readable.
2. timer_fd is part of epoll_fd set. This makes epoll_pwait()
   calls return immediately instead of sleeping.

Type: fix

Signed-off-by: Daniel Béreš <dberes@cisco.com>
Change-Id: I9b228464fe45b83def9b182c885d6febf428049c

2 years agoflow: enable RSS queue group action for 5G enhancement 80/35780/2
Ting Xu [Fri, 25 Mar 2022 03:45:07 +0000 (03:45 +0000)]
flow: enable RSS queue group action for 5G enhancement

Enable the flow action for RSS queue group. Packets can be distributed
among queues in group based on specific fields. Queues must be continous
in the group. This feature is to support 5G enhancement requirement.

Type: feature

Signed-off-by: Ting Xu <ting.xu@intel.com>
Change-Id: I74fdc617659bcb61f00b3b1934c95ab1c73bb8f3

2 years agosession: export session counts to stats segment 37/36037/2
Florin Coras [Mon, 25 Apr 2022 23:15:02 +0000 (16:15 -0700)]
session: export session counts to stats segment

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I02aec410eaa7ccb999159b6967414fbaf4e76a3f

2 years agostats: string vector and node collector improvements 71/35971/2
Damjan Marion [Fri, 15 Apr 2022 13:53:17 +0000 (15:53 +0200)]
stats: string vector and node collector improvements

Type: improvement
Change-Id: Ibdadeb4e685f45a93f45504a84709391489abb6a
Signed-off-by: Damjan Marion <damarion@cisco.com>
2 years agobuild: add option to build only for native CPU 30/36030/3
Damjan Marion [Mon, 25 Apr 2022 10:38:40 +0000 (12:38 +0200)]
build: add option to build only for native CPU

Significantly reduces compilation time for uses who are interested
to run binaries only on the build machine.

Type: make
Change-Id: I431f6f7374b6dfa8b3f7c72dc69f3d5cafd1f6bb
Signed-off-by: Damjan Marion <damarion@cisco.com>
2 years agobuild: fix 16-8-8 mtrie build option 19/36019/2
Benoît Ganne [Fri, 22 Apr 2022 08:10:37 +0000 (10:10 +0200)]
build: fix 16-8-8 mtrie build option

VPP_IP_FIB_MTRIE_16 should be defined only if the option is enabled
instead of being defined as "ON" or "OFF".

Type: fix

Change-Id: Ib4e29a827bcbd84c8012f05ad264c1408ffccee7
Signed-off-by: Benoît Ganne <bganne@cisco.com>
2 years agohsa: vcl test client epoll worker loop 68/35968/13
Florin Coras [Fri, 15 Apr 2022 01:19:42 +0000 (18:19 -0700)]
hsa: vcl test client epoll worker loop

Supports more connections and track connect time. Can be used to measure
CPS. Only works in unidirectional mode for now.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I70bc6a271996407dd16a96115f509bd680a0f302

2 years agosession: fix ctrl evt rpc elt pool realloc 17/36017/2
Florin Coras [Fri, 22 Apr 2022 01:03:12 +0000 (18:03 -0700)]
session: fix ctrl evt rpc elt pool realloc

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I79bfe91e81983b619c61a32285d8e038c2654147

2 years agosession svm: fix mq producer wait on q and ring 00/36000/4
Florin Coras [Wed, 20 Apr 2022 01:57:24 +0000 (18:57 -0700)]
session svm: fix mq producer wait on q and ring

Make sure producer drops lock when it waits for empty ring slot.

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Id77d54ee8c01bed20c9eaf5ad372ed4b1e9fa712

2 years agonat: tweak rfc7857 tcp connection tracking 92/35692/7
Ole Troan [Thu, 17 Mar 2022 10:58:38 +0000 (11:58 +0100)]
nat: tweak rfc7857 tcp connection tracking

The RFC7857 state machine introduced in 56c492a is a trade-off.
It tries to retain sessions as much as possible and also offers
some protection against spurious RST by re-establishing sessions if data
is received after the RST. From experience in the wild, this algorithm is
a little too liberal, as it leaves too many spurious established sessions
in the session table.

E.g. a oberserved pattern is:
client      server
         <- FIN, ACK
ACK      ->
ACK      ->
RST, ACK ->

With the current state machine this would leave the session in established state.

These proposed changes do:
 - require 3-way handshake to establish session.
   (current requires only to see SYNs from both sides)
 - RST will move session to transitory without recovery if data is sent after
 - Only a single FIN is needed to move to transitory

Fixes: 56c492aa0502751de2dd9d890096a82c5f04776d
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I92e593e00b2efe48d04997642d85bd59e0eaa2ea
Signed-off-by: Ole Troan <ot@cisco.com>
2 years agodevices: remove redundant access in af-packet input 30/35930/3
Mohsin Kazmi [Mon, 11 Apr 2022 12:52:28 +0000 (12:52 +0000)]
devices: remove redundant access in af-packet input

Type: fix

current_data is set to 0 for each packet in af-packet input node.
It is not required to include it to calculate the headers offset.

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I538d8c04e24c758155b3f8d6a1532472ef549459

2 years agosession: add support for listen proxies 73/35973/6
Florin Coras [Fri, 15 Apr 2022 19:37:48 +0000 (12:37 -0700)]
session: add support for listen proxies

Listener proxies are allowed to listen on IPs that are not local.
Configurable only by builtin apps for now.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Idb380ee3584a088878a03d45fd85e7bb0deeb590

2 years agonat: fix deleting nat ei out interface feature 72/35972/2
Alexander Skorichenko [Fri, 15 Apr 2022 16:32:18 +0000 (16:32 +0000)]
nat: fix deleting nat ei out interface feature

Type: fix

Set is_add function argument to 0 when deleting interface role.

Change-Id: I6ca88d6511e1c88285e51b3750eb501fde2b341b
Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
2 years agorpm-packaging: remove mbedtls dependency 75/35975/3
Florin Coras [Mon, 18 Apr 2022 16:29:59 +0000 (09:29 -0700)]
rpm-packaging: remove mbedtls dependency

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Idf325b7f1ce75e973dbea4d5836609590c85dc38

2 years agohsa: vcl test client allow non-blocking connects 74/35974/2
Florin Coras [Fri, 15 Apr 2022 23:01:43 +0000 (16:01 -0700)]
hsa: vcl test client allow non-blocking connects

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: If7dd56e76efc31ed66b865e2c7231d22ec2322b4