vpp icon indicating copy to clipboard operation
vpp copied to clipboard

[VPP-1870] NAT ED: crash when out of ports

Open vvalderrv opened this issue 10 months ago • 2 comments

Description

When NAT addresses exhausted, VPP crashes:

May 07 09:42:19 pb1 vnet[32077]: received signal SIGSEGV, PC 0x7fc7f1a38331, faulting address 0x0
May 07 09:42:19 pb1 vnet[32077]: #0  0x00007fc7f226f484 0x7fc7f226f484
May 07 09:42:19 pb1 vnet[32077]: #1  0x00007fc7f0b055d0 0x7fc7f0b055d0
May 07 09:42:19 pb1 vnet[32077]: #2  0x00007fc7f1a38331 clib_bihash_add_del_8_8 + 0x51
May 07 09:42:19 pb1 vnet[32077]: #3  0x00007fc7aa2c0af8 nat_free_session_data + 0x1f8
May 07 09:42:19 pb1 vnet[32077]: #4  0x00007fc7aa250ffd 0x7fc7aa250ffd
May 07 09:42:19 pb1 vnet[32077]: #5  0x00007fc7f222a0fa 0x7fc7f222a0fa
May 07 09:42:19 pb1 vnet[32077]: #6  0x00007fc7f222dc7c vlib_main + 0xf9c
May 07 09:42:19 pb1 vnet[32077]: #7  0x00007fc7f226e948 0x7fc7f226e948
May 07 09:42:19 pb1 vnet[32077]: #8  0x00007fc7f2117960 0x7fc7f2117960
 

This can be reproduced by the following steps:

    - enable NAT on the inside and outside interfaces - enable the interfaces and assign IP addresses - send traffic in2out

Assignee

Alexander Chernavin

Reporter

Alexander Chernavin

Comments

Original issue: https://jira.fd.io/browse/VPP-1870

vvalderrv avatar Feb 02 '25 08:02 vvalderrv