lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

November 2026

  • 1 participants
  • 714 discussions
[S] Change in osmo-ttcn3-hacks[master]: ipad: Fix sporadic test failures
by dexter 17 Nov '26

17 Nov '26
Attention is currently required from: jolly. dexter has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44096?usp=email ) Change subject: ipad: Fix sporadic test failures ...................................................................... Patch Set 2: Code-Review+2 (1 comment) Patchset: PS2: Looks good to me, let's merge it! -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44096?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I3693352dca648de910f15cdda2e16f618452c8db Gerrit-Change-Number: 44096 Gerrit-PatchSet: 2 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de> Gerrit-Attention: jolly <andreas(a)eversberg.eu> Gerrit-Comment-Date: Tue, 17 Nov 2026 15:14:55 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: ipad: Fix sporadic test failures
by jolly 17 Nov '26

17 Nov '26
jolly has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44096?usp=email ) Change subject: ipad: Fix sporadic test failures ...................................................................... ipad: Fix sporadic test failures After ipad has retrieved data from SIM card, it request package from eIM. Therefore the test case registers an HTTP server to receive the package request: f_es10x_init(); <- SIM card process f_http_register(); <- HTTP server registration This leads to a race condition, where the HTTP server emulation is partly initialized, while the request is received. This results in dropping the received request. It is not forwarded and the testsuite times out. The solution is to register the HTTP server before the ipad is started and is retrieving data from SIM card. This test could be reproduced by delaying the HTTP server initialization. Change-Id: I3693352dca648de910f15cdda2e16f618452c8db --- M ipad/IPAd_Tests.ttcn 1 file changed, 10 insertions(+), 10 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/96/44096/2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44096?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I3693352dca648de910f15cdda2e16f618452c8db Gerrit-Change-Number: 44096 Gerrit-PatchSet: 2 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-CC: Jenkins Builder
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: ipad: Fix sporadic test failures
by jolly 17 Nov '26

17 Nov '26
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44096?usp=email ) Change subject: ipad: Fix sporadic test failures ...................................................................... ipad: Fix sporadic test failures After ipad has retrieved data from SIM card, it request package from eIM. Therefore the test case registers an HTTP server to receive the package request: f_es10x_init(); <- SIM card process f_http_register(); <- HTTP server registration This leads to a race condition, where the http server emulation is partly initialized, while the request is received. This results in dropping the received request. It is not forwarded and the testsuite times out. The solution is to register the HTTP server before the ipad is started and is retrieving data from SIM card. Change-Id: I3693352dca648de910f15cdda2e16f618452c8db --- M ipad/IPAd_Tests.ttcn 1 file changed, 10 insertions(+), 10 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/96/44096/1 diff --git a/ipad/IPAd_Tests.ttcn b/ipad/IPAd_Tests.ttcn index 4eb6843..e70ef2d 100644 --- a/ipad/IPAd_Tests.ttcn +++ b/ipad/IPAd_Tests.ttcn @@ -607,9 +607,9 @@ f_respond_empty_notifications(); } private function f_TC_proc_indirect_prfle_dwnld(charstring id) runs on IPAd_ConnHdlr { + f_http_register(); f_exec_ipad(); f_es10x_init(); - f_http_register(); f_package_indirect_prfle_dwnld(id); @@ -669,9 +669,9 @@ f_respond_empty_notifications(); } private function f_TC_proc_euicc_pkg_dwnld_exec(charstring id) runs on IPAd_ConnHdlr { + f_http_register(); f_exec_ipad(); f_es10x_init(); - f_http_register(); f_package_euicc_pkg_dwnld_exec(id); @@ -748,9 +748,9 @@ f_respond_empty_notifications(); } private function f_TC_proc_euicc_pkg_dwnld_exec_rollback(charstring id) runs on IPAd_ConnHdlr { + f_http_register(); f_exec_ipad(); f_es10x_init(); - f_http_register(); f_package_euicc_pkg_dwnld_exec_rollback(id); @@ -805,9 +805,9 @@ var integer i; var boolean do_next_eim := false; + f_http_register(); f_exec_ipad("-f skipEIM"); f_es10x_init(); - f_http_register(); for (i := 0; i < sizeof(g_pars.eim_list); i := i + 1) { /* We expect a skipped eIM not to be polled. */ @@ -870,9 +870,9 @@ /* A testcase to try out what happens when the eIM package request is rejected */ private function f_TC_get_eim_pkg_req_rej(charstring id) runs on IPAd_ConnHdlr { + f_http_register(); f_exec_ipad(); f_es10x_init(); - f_http_register(); /* IPAd requests a package, we respond with an eimPackageError code 127 (undefined error) */ f_terminate_poll_cycle(127); @@ -1057,9 +1057,9 @@ /* A testcase to verify if the given device capabilities are set (the lower 3 bits are always set). */ private function f_TC_set_device_capabilities(charstring id) runs on IPAd_ConnHdlr { + f_http_register(); f_exec_ipad("-D 0xF1"); f_es10x_init(dev_capa := 'F1'O); - f_http_register(); /* IPAd will poll for eIM package. */ f_terminate_poll_cycle(); @@ -1107,9 +1107,9 @@ f_respond_empty_notifications(); } private function f_TC_euiccPackageRequest_PSMO(charstring id) runs on IPAd_ConnHdlr { + f_http_register(); f_exec_ipad(); f_es10x_init(); - f_http_register(); f_package_euiccPackageRequest_PSMO(id); @@ -1165,9 +1165,9 @@ f_respond_empty_notifications(); } private function f_TC_proc_indirect_prfle_dwnld_cancel_euicc(charstring id) runs on IPAd_ConnHdlr { + f_http_register(); f_exec_ipad(); f_es10x_init(); - f_http_register(); f_package_indirect_prfle_dwnld_cancel_euicc(id); @@ -1226,9 +1226,9 @@ f_respond_empty_notifications(); } private function f_TC_proc_indirect_prfle_dwnld_cancel_eim(charstring id) runs on IPAd_ConnHdlr { + f_http_register(); f_exec_ipad(); f_es10x_init(); - f_http_register(); f_package_indirect_prfle_dwnld_cancel_eim(id); @@ -1257,9 +1257,9 @@ private function f_TC_multi_packages(charstring id) runs on IPAd_ConnHdlr { var integer i; + f_http_register(); f_exec_ipad(); f_es10x_init(); - f_http_register(); for (i := 0; i < mp_tc_multi_package_rounds; i := i + 1) { log("Test round ", i, " of ", mp_tc_multi_package_rounds); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44096?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I3693352dca648de910f15cdda2e16f618452c8db Gerrit-Change-Number: 44096 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu>
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: sepp: Adapt to newer open5gs behavior
by osmith 17 Nov '26

17 Nov '26
Attention is currently required from: fixeria, pespin. osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44095?usp=email ) Change subject: sepp: Adapt to newer open5gs behavior ...................................................................... Patch Set 1: Code-Review+1 (2 comments) Commit Message: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44095/comment/02aa695b_18c5… : PS1, Line 9: SEEP SEPP? File sepp/SEPP_Tests.ttcn: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44095/comment/b80cc0c3_ebca… : PS1, Line 159: shoulds ```suggestion * (it gets its PLMN list from there). IUT should answer with 503 Service Unavailable. */ ``` -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44095?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I93f7cb08bd2c68005835fc25ec47858db4fa85ab Gerrit-Change-Number: 44095 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Tue, 17 Nov 2026 13:48:19 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
1 0
0 0
[L] Change in osmo-upf[master]: Logging improvements
by pespin 17 Nov '26

17 Nov '26
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-upf/+/44094?usp=email ) Change subject: Logging improvements ...................................................................... Logging improvements Log the Node ID the PFCP Entity belongs to. Log PFCP Node peer creation. Change-Id: Ie3e015cdcce21876b48b70e8f8374052d6f30a20 --- M src/osmo-upf/pfcp_entity_peer.c M src/osmo-upf/pfcp_node_peer.c M src/osmo-upf/up_gtp_action.c M src/osmo-upf/up_session.c M tests/unique_ids/unique_ids_test.err 5 files changed, 186 insertions(+), 177 deletions(-) Approvals: Jenkins Builder: Verified osmith: Looks good to me, approved fixeria: Looks good to me, but someone else must approve diff --git a/src/osmo-upf/pfcp_entity_peer.c b/src/osmo-upf/pfcp_entity_peer.c index 7b8c28d..9ac3981 100644 --- a/src/osmo-upf/pfcp_entity_peer.c +++ b/src/osmo-upf/pfcp_entity_peer.c @@ -112,7 +112,9 @@ static void pfcp_entity_peer_update_id(struct pfcp_entity_peer *peer) { - osmo_fsm_inst_update_id_f_sanitize(peer->fi, '-', "%s", pfcp_entity_peer_remote_addr_str(peer)); + osmo_fsm_inst_update_id_f_sanitize(peer->fi, '-', "%s@%s", + pfcp_entity_peer_remote_addr_str(peer), + pfcp_node_peer_node_id_str(peer->node_peer)); LOGPFSML(peer->fi, LOGL_DEBUG, "Updated id\n"); } diff --git a/src/osmo-upf/pfcp_node_peer.c b/src/osmo-upf/pfcp_node_peer.c index f4c7025..92abd2e 100644 --- a/src/osmo-upf/pfcp_node_peer.c +++ b/src/osmo-upf/pfcp_node_peer.c @@ -113,6 +113,8 @@ osmo_pfcp_bits_set(node_peer->local_up_features.bits, OSMO_PFCP_UP_FEAT_FTUP, true); llist_add(&node_peer->entry, &up_endpoint->pfcp_node_peer_list); + + LOG_PNP(node_peer, LOGL_NOTICE, "created\n"); return node_peer; } diff --git a/src/osmo-upf/up_gtp_action.c b/src/osmo-upf/up_gtp_action.c index 8ae2c3e..776d4a0 100644 --- a/src/osmo-upf/up_gtp_action.c +++ b/src/osmo-upf/up_gtp_action.c @@ -29,6 +29,7 @@ #include <osmocom/upf/upf.h> #include <osmocom/upf/up_gtp_action.h> #include <osmocom/upf/pfcp_entity_peer.h> +#include <osmocom/upf/pfcp_node_peer.h> #include <osmocom/upf/up_session.h> int up_gtp_action_cmp(const struct up_gtp_action *a, const struct up_gtp_action *b) @@ -187,8 +188,10 @@ break; } if (a->session) - OSMO_STRBUF_PRINTF(sb, " PFCP-peer:%s SEID-l:0x%"PRIx64, - pfcp_entity_peer_remote_addr_str(a->session->entity_peer), a->session->up_seid); + OSMO_STRBUF_PRINTF(sb, " PFCP-peer:%s@%s SEID-l:0x%"PRIx64, + pfcp_entity_peer_remote_addr_str(a->session->entity_peer), + pfcp_node_peer_node_id_str(a->session->entity_peer->node_peer), + a->session->up_seid); OSMO_STRBUF_PRINTF(sb, " PDR-access:%d", a->pdr_access); OSMO_STRBUF_PRINTF(sb, " PDR-core:%d", a->pdr_core); return sb.chars_needed; diff --git a/src/osmo-upf/up_session.c b/src/osmo-upf/up_session.c index 5fd664b..6cbd03d 100644 --- a/src/osmo-upf/up_session.c +++ b/src/osmo-upf/up_session.c @@ -1012,9 +1012,10 @@ static void up_session_update_id(struct up_session *session) { - osmo_fsm_inst_update_id_f_sanitize(session->fi, '-', "%s-0x%" PRIx64, + osmo_fsm_inst_update_id_f_sanitize(session->fi, '-', "%s-0x%" PRIx64 "@%s", pfcp_entity_peer_remote_addr_str(session->entity_peer), - session->up_seid); + session->up_seid, + pfcp_node_peer_node_id_str(session->entity_peer->node_peer)); LOGPFSML(session->fi, LOGL_DEBUG, "Updated id\n"); } diff --git a/tests/unique_ids/unique_ids_test.err b/tests/unique_ids/unique_ids_test.err index 2083dac..e101484 100644 --- a/tests/unique_ids/unique_ids_test.err +++ b/tests/unique_ids/unique_ids_test.err @@ -22,43 +22,44 @@ DNFT DEBUG ran nft ruleset, 465 chars: "add chain inet osmo-upf pre { type filter hook prerouting priority -300; policy accept; };\nadd chain inet osmo-upf post { type filter hook postrouting priority 400; policy accept; };\nadd map inet osmo-upf tunmap-pre { typeof ip daddr . @ih,32,32 : verdict;..." PFCP Associate peer +DGTP NOTICE pfcp_node_peer(v4:1.2.3.4): created DPEER DEBUG pfcp_entity_peer{NOT_ASSOCIATED}: Allocated -DPEER DEBUG pfcp_entity_peer(1-2-3-4){NOT_ASSOCIATED}: Updated id -DREF INFO pfcp_node_peer(v4:1.2.3.4): + 1-2-3-4: now used by 1 (1-2-3-4) -DPEER DEBUG pfcp_entity_peer(1-2-3-4){NOT_ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_RX_ASSOC_SETUP_REQ -DPEER DEBUG pfcp_entity_peer(1-2-3-4){NOT_ASSOCIATED}: State change to ASSOCIATED (no timeout) -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: + msg-tx: now used by 1 (msg-tx) +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){NOT_ASSOCIATED}: Updated id +DREF INFO pfcp_node_peer(v4:1.2.3.4): + 1-2-3-4@v4:1-2-3-4: now used by 1 (1-2-3-4@v4:1-2-3-4) +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){NOT_ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_RX_ASSOC_SETUP_REQ +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){NOT_ASSOCIATED}: State change to ASSOCIATED (no timeout) +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: + msg-tx: now used by 1 (msg-tx) [test override] PFCP tx: PFCPv1 ASSOC_SETUP_RESP hdr={seq=0} ies={ 'Node ID'=v4:unsupported family 0 'Cause'=Request accepted (success) 'Recovery Time Stamp'=2208988800 'UP Function Features'=FTUP+BUNDL+RTTL } -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: - msg-tx: now used by 0 (-) -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO -DPEER NOTICE pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Peer associated, Node-Id=v4:1.2.3.4. Local UP features: [FTUP+BUNDL+RTTL]; Peer CP features: [-] +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: - msg-tx: now used by 0 (-) +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO +DPEER NOTICE pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Peer associated, Node-Id=v4:1.2.3.4. Local UP features: [FTUP+BUNDL+RTTL]; Peer CP features: [-] state: - | peer pfcp_entity_peer(1-2-3-4) ASSOCIATED + | peer pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) ASSOCIATED set up tunmap, which assigns first UP-SEID 0x1, local-TEID 0x1 and 0x2, chain_ids 1 and 2 -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_RX_SESSION_EST_REQ -DSESSION DEBUG up_session(1-2-3-4){INIT}: Allocated -DSESSION DEBUG up_session(1-2-3-4){INIT}: is child of pfcp_entity_peer(1-2-3-4) -DSESSION INFO up_session(1-2-3-4){INIT}: Allocated new UP-SEID: 0x1 -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: Updated id -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: + msg-rx: now used by 1 (msg-rx) -DREF INFO up_session(1-2-3-4-0x1){INIT}: + msg-rx: now used by 1 (msg-rx) -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: Received Event UP_SESSION_EV_RX_SESSION_EST_REQ -DREF DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: + msg-tx: now used by 2 (msg-rx,msg-tx) -DREF DEBUG up_session(1-2-3-4-0x1){INIT}: + msg-tx: now used by 2 (msg-rx,msg-tx) -DSESSION INFO up_session(1-2-3-4-0x1){INIT}: Allocated new local F-TEID TEID-0x1,v4:1.1.1.1 -DSESSION INFO up_session(1-2-3-4-0x1){INIT}: New PDR-1{src:Core TEID-0x1,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x100,v4:5.6.7.8} -DSESSION INFO up_session(1-2-3-4-0x1){INIT}: Allocated new local F-TEID TEID-0x2,v4:1.1.1.1 -DSESSION INFO up_session(1-2-3-4-0x1){INIT}: New PDR-2{src:Access TEID-0x2,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x101,v4:13.14.15.16} -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: Active PDR set: PDR-2{src:Access TEID-0x2,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x101,v4:13.14.15.16} -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: Active PDR set: + PDR-1{src:Core TEID-0x1,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x100,v4:5.6.7.8} -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: GTP actions: 0 previously active; want active: 1 -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: want: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x100 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x101 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: enabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x100 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x101 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_RX_SESSION_EST_REQ +DSESSION DEBUG up_session(1-2-3-4@v4:1-2-3-4){INIT}: Allocated +DSESSION DEBUG up_session(1-2-3-4@v4:1-2-3-4){INIT}: is child of pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) +DSESSION INFO up_session(1-2-3-4@v4:1-2-3-4){INIT}: Allocated new UP-SEID: 0x1 +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Updated id +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: + msg-rx: now used by 1 (msg-rx) +DREF INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: + msg-rx: now used by 1 (msg-rx) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Received Event UP_SESSION_EV_RX_SESSION_EST_REQ +DREF DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: + msg-tx: now used by 2 (msg-rx,msg-tx) +DREF DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: + msg-tx: now used by 2 (msg-rx,msg-tx) +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Allocated new local F-TEID TEID-0x1,v4:1.1.1.1 +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: New PDR-1{src:Core TEID-0x1,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x100,v4:5.6.7.8} +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Allocated new local F-TEID TEID-0x2,v4:1.1.1.1 +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: New PDR-2{src:Access TEID-0x2,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x101,v4:13.14.15.16} +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Active PDR set: PDR-2{src:Access TEID-0x2,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x101,v4:13.14.15.16} +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Active PDR set: + PDR-1{src:Core TEID-0x1,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x100,v4:5.6.7.8} +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: GTP actions: 0 previously active; want active: 1 +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: want: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x100 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x101 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: enabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x100 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x101 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 DNFT INFO Added NFT ruleset to queue: n:1 strlen:847 DNFT INFO Flushing NFT ruleset queue: reached max nr of rules: n:1 strlen:847 (flush count: 1 avg rules per flush: 1) @@ -78,24 +79,24 @@ DNFT DEBUG ran nft ruleset, 847 chars: "add chain inet osmo-upf tunmap-pre-1;\nadd rule inet osmo-upf tunmap-pre-1 ip daddr set 13.14.15.16 meta mark set 1 counter accept;\nadd chain inet osmo-upf tunmap-post-1;\nadd rule inet osmo-upf tunmap-post-1 ip saddr set 1.1.1.1 udp sport set 2152 @ih,32,32..." -DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x100 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x101 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1: Enabled tunmap, nft chain IDs: access--1-> <-2--core +DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x100 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x101 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1: Enabled tunmap, nft chain IDs: access--1-> <-2--core [test override] PFCP tx: PFCPv1 SESSION_EST_RESP hdr={seq=0 SEID=0x100} ies={ 'Node ID'=v4:unsupported family 0 'Cause'=Request accepted (success) 'F-SEID'=0x1,v4:1.1.1.1 'Created PDR'={ { 'PDR ID'=1 'F-TEID'=TEID-0x1,v4:1.1.1.1 }, { 'PDR ID'=2 'F-TEID'=TEID-0x2,v4:1.1.1.1 } } } osmo-upf created session 0x1 -DREF DEBUG up_session(1-2-3-4-0x1){INIT}: - msg-tx: now used by 1 (msg-rx) -DREF DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: - msg-tx: now used by 1 (msg-rx) -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: State change to ESTABLISHED (no timeout) -DSESSION INFO up_session(1-2-3-4-0x1){ESTABLISHED}: Session established: peer:1.2.3.4 SEID-r:0x100 SEID-l:0x1 state:ESTABLISHED PDR-active:2/2 FAR-active:2/2 GTP-active:1 -DREF INFO up_session(1-2-3-4-0x1){ESTABLISHED}: - msg-rx: now used by 0 (-) -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: Received Event UP_SESSION_EV_USE_COUNT_ZERO -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: - msg-rx: now used by 0 (-) -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO +DREF DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: - msg-tx: now used by 1 (msg-rx) +DREF DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: - msg-tx: now used by 1 (msg-rx) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: State change to ESTABLISHED (no timeout) +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Session established: peer:1.2.3.4 SEID-r:0x100 SEID-l:0x1 state:ESTABLISHED PDR-active:2/2 FAR-active:2/2 GTP-active:1 +DREF INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: - msg-rx: now used by 0 (-) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Received Event UP_SESSION_EV_USE_COUNT_ZERO +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: - msg-rx: now used by 0 (-) +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO state: - | peer pfcp_entity_peer(1-2-3-4) ASSOCIATED + | peer pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) ASSOCIATED | session[ESTABLISHED]: UP-SEID 0x1; chain_id access=1 core=2; local TEID access=0x2 core=0x1 assert(s1->up_seid == 1) @@ -108,25 +109,25 @@ simulate wrapping of IDs back to 1 set up second tunmap, should use distinct IDs -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_RX_SESSION_EST_REQ -DSESSION DEBUG up_session(1-2-3-4){INIT}: Allocated -DSESSION DEBUG up_session(1-2-3-4){INIT}: is child of pfcp_entity_peer(1-2-3-4) -DSESSION INFO up_session(1-2-3-4){INIT}: Allocated new UP-SEID: 0x2 -DSESSION DEBUG up_session(1-2-3-4-0x2){INIT}: Updated id -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: + msg-rx: now used by 1 (msg-rx) -DREF INFO up_session(1-2-3-4-0x2){INIT}: + msg-rx: now used by 1 (msg-rx) -DSESSION DEBUG up_session(1-2-3-4-0x2){INIT}: Received Event UP_SESSION_EV_RX_SESSION_EST_REQ -DREF DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: + msg-tx: now used by 2 (msg-rx,msg-tx) -DREF DEBUG up_session(1-2-3-4-0x2){INIT}: + msg-tx: now used by 2 (msg-rx,msg-tx) -DSESSION INFO up_session(1-2-3-4-0x2){INIT}: Allocated new local F-TEID TEID-0x3,v4:1.1.1.1 -DSESSION INFO up_session(1-2-3-4-0x2){INIT}: New PDR-1{src:Core TEID-0x3,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x102,v4:5.6.7.8} -DSESSION INFO up_session(1-2-3-4-0x2){INIT}: Allocated new local F-TEID TEID-0x4,v4:1.1.1.1 -DSESSION INFO up_session(1-2-3-4-0x2){INIT}: New PDR-2{src:Access TEID-0x4,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x103,v4:13.14.15.16} -DSESSION DEBUG up_session(1-2-3-4-0x2){INIT}: Active PDR set: PDR-2{src:Access TEID-0x4,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x103,v4:13.14.15.16} -DSESSION DEBUG up_session(1-2-3-4-0x2){INIT}: Active PDR set: + PDR-1{src:Core TEID-0x3,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x102,v4:5.6.7.8} -DSESSION DEBUG up_session(1-2-3-4-0x2){INIT}: GTP actions: 0 previously active; want active: 1 -DSESSION DEBUG up_session(1-2-3-4-0x2){INIT}: want: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1 -DSESSION DEBUG up_session(1-2-3-4-0x2){INIT}: enabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1 +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_RX_SESSION_EST_REQ +DSESSION DEBUG up_session(1-2-3-4@v4:1-2-3-4){INIT}: Allocated +DSESSION DEBUG up_session(1-2-3-4@v4:1-2-3-4){INIT}: is child of pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) +DSESSION INFO up_session(1-2-3-4@v4:1-2-3-4){INIT}: Allocated new UP-SEID: 0x2 +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: Updated id +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: + msg-rx: now used by 1 (msg-rx) +DREF INFO up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: + msg-rx: now used by 1 (msg-rx) +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: Received Event UP_SESSION_EV_RX_SESSION_EST_REQ +DREF DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: + msg-tx: now used by 2 (msg-rx,msg-tx) +DREF DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: + msg-tx: now used by 2 (msg-rx,msg-tx) +DSESSION INFO up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: Allocated new local F-TEID TEID-0x3,v4:1.1.1.1 +DSESSION INFO up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: New PDR-1{src:Core TEID-0x3,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x102,v4:5.6.7.8} +DSESSION INFO up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: Allocated new local F-TEID TEID-0x4,v4:1.1.1.1 +DSESSION INFO up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: New PDR-2{src:Access TEID-0x4,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x103,v4:13.14.15.16} +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: Active PDR set: PDR-2{src:Access TEID-0x4,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x103,v4:13.14.15.16} +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: Active PDR set: + PDR-1{src:Core TEID-0x3,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x102,v4:5.6.7.8} +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: GTP actions: 0 previously active; want active: 1 +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: want: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1 +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: enabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1 DNFT INFO Added NFT ruleset to queue: n:1 strlen:847 DNFT INFO Flushing NFT ruleset queue: reached max nr of rules: n:1 strlen:847 (flush count: 2 avg rules per flush: 1) @@ -146,24 +147,24 @@ DNFT DEBUG ran nft ruleset, 847 chars: "add chain inet osmo-upf tunmap-pre-3;\nadd rule inet osmo-upf tunmap-pre-3 ip daddr set 13.14.15.16 meta mark set 3 counter accept;\nadd chain inet osmo-upf tunmap-post-3;\nadd rule inet osmo-upf tunmap-post-3 ip saddr set 1.1.1.1 udp sport set 2152 @ih,32,32..." -DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1: Enabled tunmap, nft chain IDs: access--3-> <-4--core +DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1: Enabled tunmap, nft chain IDs: access--3-> <-4--core [test override] PFCP tx: PFCPv1 SESSION_EST_RESP hdr={seq=0 SEID=0x101} ies={ 'Node ID'=v4:unsupported family 0 'Cause'=Request accepted (success) 'F-SEID'=0x2,v4:1.1.1.1 'Created PDR'={ { 'PDR ID'=1 'F-TEID'=TEID-0x3,v4:1.1.1.1 }, { 'PDR ID'=2 'F-TEID'=TEID-0x4,v4:1.1.1.1 } } } osmo-upf created session 0x2 -DREF DEBUG up_session(1-2-3-4-0x2){INIT}: - msg-tx: now used by 1 (msg-rx) -DREF DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: - msg-tx: now used by 1 (msg-rx) -DSESSION DEBUG up_session(1-2-3-4-0x2){INIT}: State change to ESTABLISHED (no timeout) -DSESSION INFO up_session(1-2-3-4-0x2){ESTABLISHED}: Session established: peer:1.2.3.4 SEID-r:0x101 SEID-l:0x2 state:ESTABLISHED PDR-active:2/2 FAR-active:2/2 GTP-active:1 -DREF INFO up_session(1-2-3-4-0x2){ESTABLISHED}: - msg-rx: now used by 0 (-) -DSESSION DEBUG up_session(1-2-3-4-0x2){ESTABLISHED}: Received Event UP_SESSION_EV_USE_COUNT_ZERO -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: - msg-rx: now used by 0 (-) -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO +DREF DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: - msg-tx: now used by 1 (msg-rx) +DREF DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: - msg-tx: now used by 1 (msg-rx) +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){INIT}: State change to ESTABLISHED (no timeout) +DSESSION INFO up_session(1-2-3-4-0x2@v4:1-2-3-4){ESTABLISHED}: Session established: peer:1.2.3.4 SEID-r:0x101 SEID-l:0x2 state:ESTABLISHED PDR-active:2/2 FAR-active:2/2 GTP-active:1 +DREF INFO up_session(1-2-3-4-0x2@v4:1-2-3-4){ESTABLISHED}: - msg-rx: now used by 0 (-) +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){ESTABLISHED}: Received Event UP_SESSION_EV_USE_COUNT_ZERO +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: - msg-rx: now used by 0 (-) +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO state: - | peer pfcp_entity_peer(1-2-3-4) ASSOCIATED + | peer pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) ASSOCIATED | session[ESTABLISHED]: UP-SEID 0x1; chain_id access=1 core=2; local TEID access=0x2 core=0x1 | session[ESTABLISHED]: UP-SEID 0x2; chain_id access=3 core=4; local TEID access=0x4 core=0x3 @@ -175,20 +176,20 @@ assert(a->tunmap.access.chain_id == 3) assert(a->tunmap.core.chain_id == 4) -drop first tunmap (up_session(1-2-3-4-0x1)) +drop first tunmap (up_session(1-2-3-4-0x1@v4:1-2-3-4)) assert(session) -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: Received Event UP_SESSION_EV_RX_SESSION_DEL_REQ -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: + msg-tx: now used by 1 (msg-tx) -DREF INFO up_session(1-2-3-4-0x1){ESTABLISHED}: + msg-tx: now used by 1 (msg-tx) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Received Event UP_SESSION_EV_RX_SESSION_DEL_REQ +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: + msg-tx: now used by 1 (msg-tx) +DREF INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: + msg-tx: now used by 1 (msg-tx) [test override] PFCP tx: PFCPv1 SESSION_DEL_RESP hdr={seq=0 SEID=0x100} ies={ 'Cause'=Request accepted (success) } -DREF INFO up_session(1-2-3-4-0x1){ESTABLISHED}: - msg-tx: now used by 0 (-) -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: Received Event UP_SESSION_EV_USE_COUNT_ZERO -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: - msg-tx: now used by 0 (-) -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO -DSESSION INFO up_session(1-2-3-4-0x1){ESTABLISHED}: Session releasing: peer:1.2.3.4 SEID-r:0x100 SEID-l:0x1 state:ESTABLISHED PDR-active:2/2 FAR-active:2/2 GTP-active:1 +DREF INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: - msg-tx: now used by 0 (-) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Received Event UP_SESSION_EV_USE_COUNT_ZERO +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: - msg-tx: now used by 0 (-) +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Session releasing: peer:1.2.3.4 SEID-r:0x100 SEID-l:0x1 state:ESTABLISHED PDR-active:2/2 FAR-active:2/2 GTP-active:1 DNFT INFO Added NFT ruleset to queue: n:1 strlen:381 DNFT INFO Flushing NFT ruleset queue: reached max nr of rules: n:1 strlen:381 (flush count: 3 avg rules per flush: 1) @@ -204,43 +205,43 @@ DNFT DEBUG ran nft ruleset, 381 chars: "delete element inet osmo-upf tunmap-pre { 1.1.1.1 . 0x2 };\ndelete element inet osmo-upf tunmap-post { 1 };\ndelete chain inet osmo-upf tunmap-pre-1;\ndelete chain inet osmo-upf tunmap-post-1;\ndelete element inet osmo-upf tunmap-pre { 1.1.1.1 . 0x1 };\ndelete ..." -DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x100 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x101 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1: Disabled tunmap, nft chain IDs: access--1-> <-2--core -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: State change to WAIT_USE_COUNT (no timeout) -DSESSION DEBUG up_session(1-2-3-4-0x1){WAIT_USE_COUNT}: GTP actions: 0 previously active; want active: 0 -DSESSION DEBUG up_session(1-2-3-4-0x1){WAIT_USE_COUNT}: Terminating (cause = OSMO_FSM_TERM_REGULAR) -DSESSION DEBUG up_session(1-2-3-4-0x1){WAIT_USE_COUNT}: Removing from parent pfcp_entity_peer(1-2-3-4) -DSESSION DEBUG up_session(1-2-3-4-0x1){WAIT_USE_COUNT}: GTP actions: 0 previously active; want active: 0 -DSESSION DEBUG up_session(1-2-3-4-0x1){WAIT_USE_COUNT}: Freeing instance -DSESSION DEBUG up_session(1-2-3-4-0x1){WAIT_USE_COUNT}: Deallocated -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_SESSION_TERM +DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x100 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x101 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1: Disabled tunmap, nft chain IDs: access--1-> <-2--core +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: State change to WAIT_USE_COUNT (no timeout) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){WAIT_USE_COUNT}: GTP actions: 0 previously active; want active: 0 +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){WAIT_USE_COUNT}: Terminating (cause = OSMO_FSM_TERM_REGULAR) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){WAIT_USE_COUNT}: Removing from parent pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){WAIT_USE_COUNT}: GTP actions: 0 previously active; want active: 0 +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){WAIT_USE_COUNT}: Freeing instance +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){WAIT_USE_COUNT}: Deallocated +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_SESSION_TERM state: - | peer pfcp_entity_peer(1-2-3-4) ASSOCIATED + | peer pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) ASSOCIATED | session[ESTABLISHED]: UP-SEID 0x2; chain_id access=3 core=4; local TEID access=0x4 core=0x3 assert(pfcp_entity_peer_find_up_session_by_up_seid(entity_peer, s1_up_seid) == NULL) again wrap all ID state back to 1 set up third tunmap, should now re-use same IDs as the first session -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_RX_SESSION_EST_REQ -DSESSION DEBUG up_session(1-2-3-4){INIT}: Allocated -DSESSION DEBUG up_session(1-2-3-4){INIT}: is child of pfcp_entity_peer(1-2-3-4) -DSESSION INFO up_session(1-2-3-4){INIT}: Allocated new UP-SEID: 0x1 -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: Updated id -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: + msg-rx: now used by 1 (msg-rx) -DREF INFO up_session(1-2-3-4-0x1){INIT}: + msg-rx: now used by 1 (msg-rx) -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: Received Event UP_SESSION_EV_RX_SESSION_EST_REQ -DREF DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: + msg-tx: now used by 2 (msg-rx,msg-tx) -DREF DEBUG up_session(1-2-3-4-0x1){INIT}: + msg-tx: now used by 2 (msg-rx,msg-tx) -DSESSION INFO up_session(1-2-3-4-0x1){INIT}: Allocated new local F-TEID TEID-0x1,v4:1.1.1.1 -DSESSION INFO up_session(1-2-3-4-0x1){INIT}: New PDR-1{src:Core TEID-0x1,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x104,v4:5.6.7.8} -DSESSION INFO up_session(1-2-3-4-0x1){INIT}: Allocated new local F-TEID TEID-0x2,v4:1.1.1.1 -DSESSION INFO up_session(1-2-3-4-0x1){INIT}: New PDR-2{src:Access TEID-0x2,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x105,v4:13.14.15.16} -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: Active PDR set: PDR-2{src:Access TEID-0x2,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x105,v4:13.14.15.16} -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: Active PDR set: + PDR-1{src:Core TEID-0x1,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x104,v4:5.6.7.8} -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: GTP actions: 0 previously active; want active: 1 -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: want: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: enabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_RX_SESSION_EST_REQ +DSESSION DEBUG up_session(1-2-3-4@v4:1-2-3-4){INIT}: Allocated +DSESSION DEBUG up_session(1-2-3-4@v4:1-2-3-4){INIT}: is child of pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) +DSESSION INFO up_session(1-2-3-4@v4:1-2-3-4){INIT}: Allocated new UP-SEID: 0x1 +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Updated id +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: + msg-rx: now used by 1 (msg-rx) +DREF INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: + msg-rx: now used by 1 (msg-rx) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Received Event UP_SESSION_EV_RX_SESSION_EST_REQ +DREF DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: + msg-tx: now used by 2 (msg-rx,msg-tx) +DREF DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: + msg-tx: now used by 2 (msg-rx,msg-tx) +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Allocated new local F-TEID TEID-0x1,v4:1.1.1.1 +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: New PDR-1{src:Core TEID-0x1,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x104,v4:5.6.7.8} +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Allocated new local F-TEID TEID-0x2,v4:1.1.1.1 +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: New PDR-2{src:Access TEID-0x2,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x105,v4:13.14.15.16} +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Active PDR set: PDR-2{src:Access TEID-0x2,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x105,v4:13.14.15.16} +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: Active PDR set: + PDR-1{src:Core TEID-0x1,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x104,v4:5.6.7.8} +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: GTP actions: 0 previously active; want active: 1 +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: want: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: enabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 DNFT INFO Added NFT ruleset to queue: n:1 strlen:847 DNFT INFO Flushing NFT ruleset queue: reached max nr of rules: n:1 strlen:847 (flush count: 4 avg rules per flush: 1) @@ -260,24 +261,24 @@ DNFT DEBUG ran nft ruleset, 847 chars: "add chain inet osmo-upf tunmap-pre-1;\nadd rule inet osmo-upf tunmap-pre-1 ip daddr set 13.14.15.16 meta mark set 1 counter accept;\nadd chain inet osmo-upf tunmap-post-1;\nadd rule inet osmo-upf tunmap-post-1 ip saddr set 1.1.1.1 udp sport set 2152 @ih,32,32..." -DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1: Enabled tunmap, nft chain IDs: access--1-> <-2--core +DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1: Enabled tunmap, nft chain IDs: access--1-> <-2--core [test override] PFCP tx: PFCPv1 SESSION_EST_RESP hdr={seq=0 SEID=0x102} ies={ 'Node ID'=v4:unsupported family 0 'Cause'=Request accepted (success) 'F-SEID'=0x1,v4:1.1.1.1 'Created PDR'={ { 'PDR ID'=1 'F-TEID'=TEID-0x1,v4:1.1.1.1 }, { 'PDR ID'=2 'F-TEID'=TEID-0x2,v4:1.1.1.1 } } } osmo-upf created session 0x1 -DREF DEBUG up_session(1-2-3-4-0x1){INIT}: - msg-tx: now used by 1 (msg-rx) -DREF DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: - msg-tx: now used by 1 (msg-rx) -DSESSION DEBUG up_session(1-2-3-4-0x1){INIT}: State change to ESTABLISHED (no timeout) -DSESSION INFO up_session(1-2-3-4-0x1){ESTABLISHED}: Session established: peer:1.2.3.4 SEID-r:0x102 SEID-l:0x1 state:ESTABLISHED PDR-active:2/2 FAR-active:2/2 GTP-active:1 -DREF INFO up_session(1-2-3-4-0x1){ESTABLISHED}: - msg-rx: now used by 0 (-) -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: Received Event UP_SESSION_EV_USE_COUNT_ZERO -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: - msg-rx: now used by 0 (-) -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO +DREF DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: - msg-tx: now used by 1 (msg-rx) +DREF DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: - msg-tx: now used by 1 (msg-rx) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){INIT}: State change to ESTABLISHED (no timeout) +DSESSION INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Session established: peer:1.2.3.4 SEID-r:0x102 SEID-l:0x1 state:ESTABLISHED PDR-active:2/2 FAR-active:2/2 GTP-active:1 +DREF INFO up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: - msg-rx: now used by 0 (-) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Received Event UP_SESSION_EV_USE_COUNT_ZERO +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: - msg-rx: now used by 0 (-) +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO state: - | peer pfcp_entity_peer(1-2-3-4) ASSOCIATED + | peer pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) ASSOCIATED | session[ESTABLISHED]: UP-SEID 0x1; chain_id access=1 core=2; local TEID access=0x2 core=0x1 | session[ESTABLISHED]: UP-SEID 0x2; chain_id access=3 core=4; local TEID access=0x4 core=0x3 @@ -290,25 +291,25 @@ assert(a->tunmap.core.chain_id == 2) set up 4th tunmap; chain_id state would use 3 and 4, but they are in use, so should assign 5 and 6 -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_RX_SESSION_EST_REQ -DSESSION DEBUG up_session(1-2-3-4){INIT}: Allocated -DSESSION DEBUG up_session(1-2-3-4){INIT}: is child of pfcp_entity_peer(1-2-3-4) -DSESSION INFO up_session(1-2-3-4){INIT}: Allocated new UP-SEID: 0x3 -DSESSION DEBUG up_session(1-2-3-4-0x3){INIT}: Updated id -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: + msg-rx: now used by 1 (msg-rx) -DREF INFO up_session(1-2-3-4-0x3){INIT}: + msg-rx: now used by 1 (msg-rx) -DSESSION DEBUG up_session(1-2-3-4-0x3){INIT}: Received Event UP_SESSION_EV_RX_SESSION_EST_REQ -DREF DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: + msg-tx: now used by 2 (msg-rx,msg-tx) -DREF DEBUG up_session(1-2-3-4-0x3){INIT}: + msg-tx: now used by 2 (msg-rx,msg-tx) -DSESSION INFO up_session(1-2-3-4-0x3){INIT}: Allocated new local F-TEID TEID-0x5,v4:1.1.1.1 -DSESSION INFO up_session(1-2-3-4-0x3){INIT}: New PDR-1{src:Core TEID-0x5,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x106,v4:5.6.7.8} -DSESSION INFO up_session(1-2-3-4-0x3){INIT}: Allocated new local F-TEID TEID-0x6,v4:1.1.1.1 -DSESSION INFO up_session(1-2-3-4-0x3){INIT}: New PDR-2{src:Access TEID-0x6,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x107,v4:13.14.15.16} -DSESSION DEBUG up_session(1-2-3-4-0x3){INIT}: Active PDR set: PDR-2{src:Access TEID-0x6,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x107,v4:13.14.15.16} -DSESSION DEBUG up_session(1-2-3-4-0x3){INIT}: Active PDR set: + PDR-1{src:Core TEID-0x5,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x106,v4:5.6.7.8} -DSESSION DEBUG up_session(1-2-3-4-0x3){INIT}: GTP actions: 0 previously active; want active: 1 -DSESSION DEBUG up_session(1-2-3-4-0x3){INIT}: want: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1 -DSESSION DEBUG up_session(1-2-3-4-0x3){INIT}: enabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1 +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_RX_SESSION_EST_REQ +DSESSION DEBUG up_session(1-2-3-4@v4:1-2-3-4){INIT}: Allocated +DSESSION DEBUG up_session(1-2-3-4@v4:1-2-3-4){INIT}: is child of pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) +DSESSION INFO up_session(1-2-3-4@v4:1-2-3-4){INIT}: Allocated new UP-SEID: 0x3 +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: Updated id +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: + msg-rx: now used by 1 (msg-rx) +DREF INFO up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: + msg-rx: now used by 1 (msg-rx) +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: Received Event UP_SESSION_EV_RX_SESSION_EST_REQ +DREF DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: + msg-tx: now used by 2 (msg-rx,msg-tx) +DREF DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: + msg-tx: now used by 2 (msg-rx,msg-tx) +DSESSION INFO up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: Allocated new local F-TEID TEID-0x5,v4:1.1.1.1 +DSESSION INFO up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: New PDR-1{src:Core TEID-0x5,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x106,v4:5.6.7.8} +DSESSION INFO up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: Allocated new local F-TEID TEID-0x6,v4:1.1.1.1 +DSESSION INFO up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: New PDR-2{src:Access TEID-0x6,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x107,v4:13.14.15.16} +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: Active PDR set: PDR-2{src:Access TEID-0x6,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-2{FORW dst:Core,GTP_U_UDP_IPV4,TEID:0x107,v4:13.14.15.16} +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: Active PDR set: + PDR-1{src:Core TEID-0x5,v4:1.1.1.1 decaps-GTP_U_UDP_IPV4} --> FAR-1{FORW dst:Access,GTP_U_UDP_IPV4,TEID:0x106,v4:5.6.7.8} +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: GTP actions: 0 previously active; want active: 1 +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: want: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1 +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: enabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1 DNFT INFO Added NFT ruleset to queue: n:1 strlen:847 DNFT INFO Flushing NFT ruleset queue: reached max nr of rules: n:1 strlen:847 (flush count: 5 avg rules per flush: 1) @@ -328,24 +329,24 @@ DNFT DEBUG ran nft ruleset, 847 chars: "add chain inet osmo-upf tunmap-pre-5;\nadd rule inet osmo-upf tunmap-pre-5 ip daddr set 13.14.15.16 meta mark set 5 counter accept;\nadd chain inet osmo-upf tunmap-post-5;\nadd rule inet osmo-upf tunmap-post-5 ip saddr set 1.1.1.1 udp sport set 2152 @ih,32,32..." -DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1: Enabled tunmap, nft chain IDs: access--5-> <-6--core +DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1: Enabled tunmap, nft chain IDs: access--5-> <-6--core [test override] PFCP tx: PFCPv1 SESSION_EST_RESP hdr={seq=0 SEID=0x103} ies={ 'Node ID'=v4:unsupported family 0 'Cause'=Request accepted (success) 'F-SEID'=0x3,v4:1.1.1.1 'Created PDR'={ { 'PDR ID'=1 'F-TEID'=TEID-0x5,v4:1.1.1.1 }, { 'PDR ID'=2 'F-TEID'=TEID-0x6,v4:1.1.1.1 } } } osmo-upf created session 0x3 -DREF DEBUG up_session(1-2-3-4-0x3){INIT}: - msg-tx: now used by 1 (msg-rx) -DREF DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: - msg-tx: now used by 1 (msg-rx) -DSESSION DEBUG up_session(1-2-3-4-0x3){INIT}: State change to ESTABLISHED (no timeout) -DSESSION INFO up_session(1-2-3-4-0x3){ESTABLISHED}: Session established: peer:1.2.3.4 SEID-r:0x103 SEID-l:0x3 state:ESTABLISHED PDR-active:2/2 FAR-active:2/2 GTP-active:1 -DREF INFO up_session(1-2-3-4-0x3){ESTABLISHED}: - msg-rx: now used by 0 (-) -DSESSION DEBUG up_session(1-2-3-4-0x3){ESTABLISHED}: Received Event UP_SESSION_EV_USE_COUNT_ZERO -DREF INFO pfcp_entity_peer(1-2-3-4){ASSOCIATED}: - msg-rx: now used by 0 (-) -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO +DREF DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: - msg-tx: now used by 1 (msg-rx) +DREF DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: - msg-tx: now used by 1 (msg-rx) +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){INIT}: State change to ESTABLISHED (no timeout) +DSESSION INFO up_session(1-2-3-4-0x3@v4:1-2-3-4){ESTABLISHED}: Session established: peer:1.2.3.4 SEID-r:0x103 SEID-l:0x3 state:ESTABLISHED PDR-active:2/2 FAR-active:2/2 GTP-active:1 +DREF INFO up_session(1-2-3-4-0x3@v4:1-2-3-4){ESTABLISHED}: - msg-rx: now used by 0 (-) +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){ESTABLISHED}: Received Event UP_SESSION_EV_USE_COUNT_ZERO +DREF INFO pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: - msg-rx: now used by 0 (-) +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Received Event PFCP_ENTITY_PEER_EV_USE_COUNT_ZERO state: - | peer pfcp_entity_peer(1-2-3-4) ASSOCIATED + | peer pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) ASSOCIATED | session[ESTABLISHED]: UP-SEID 0x3; chain_id access=5 core=6; local TEID access=0x6 core=0x5 | session[ESTABLISHED]: UP-SEID 0x1; chain_id access=1 core=2; local TEID access=0x2 core=0x1 | session[ESTABLISHED]: UP-SEID 0x2; chain_id access=3 core=4; local TEID access=0x4 core=0x3 @@ -359,12 +360,12 @@ assert(a->tunmap.core.chain_id == 6) DGTP NOTICE pfcp_node_peer(v4:1.2.3.4): removed -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) -DSESSION DEBUG up_session(1-2-3-4-0x3){ESTABLISHED}: Terminating (cause = OSMO_FSM_TERM_PARENT) -DSESSION DEBUG up_session(1-2-3-4-0x3){ESTABLISHED}: Removing from parent pfcp_entity_peer(1-2-3-4) -DSESSION DEBUG up_session(1-2-3-4-0x3){ESTABLISHED}: GTP actions: 1 previously active; want active: 0 -DSESSION DEBUG up_session(1-2-3-4-0x3){ESTABLISHED}: active: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1 -DSESSION DEBUG up_session(1-2-3-4-0x3){ESTABLISHED}: disabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1 +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){ESTABLISHED}: Terminating (cause = OSMO_FSM_TERM_PARENT) +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){ESTABLISHED}: Removing from parent pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){ESTABLISHED}: GTP actions: 1 previously active; want active: 0 +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){ESTABLISHED}: active: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1 +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){ESTABLISHED}: disabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1 DNFT INFO Added NFT ruleset to queue: n:1 strlen:381 DNFT INFO Flushing NFT ruleset queue: reached max nr of rules: n:1 strlen:381 (flush count: 6 avg rules per flush: 1) @@ -380,14 +381,14 @@ DNFT DEBUG ran nft ruleset, 381 chars: "delete element inet osmo-upf tunmap-pre { 1.1.1.1 . 0x6 };\ndelete element inet osmo-upf tunmap-post { 5 };\ndelete chain inet osmo-upf tunmap-pre-5;\ndelete chain inet osmo-upf tunmap-post-5;\ndelete element inet osmo-upf tunmap-pre { 1.1.1.1 . 0x5 };\ndelete ..." -DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1: Disabled tunmap, nft chain IDs: access--5-> <-6--core -DSESSION DEBUG up_session(1-2-3-4-0x3){ESTABLISHED}: Freeing instance -DSESSION DEBUG up_session(1-2-3-4-0x3){ESTABLISHED}: Deallocated -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: Terminating (cause = OSMO_FSM_TERM_PARENT) -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: Removing from parent pfcp_entity_peer(1-2-3-4) -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: GTP actions: 1 previously active; want active: 0 -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: active: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: disabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 +DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x106 GTP-access-l:1.1.1.1 TEID-access-l:0x6 GTP-core-r:13.14.15.16 TEID-core-r:0x107 GTP-core-l:1.1.1.1 TEID-core-l:0x5 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x3 PDR-access:2 PDR-core:1: Disabled tunmap, nft chain IDs: access--5-> <-6--core +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){ESTABLISHED}: Freeing instance +DSESSION DEBUG up_session(1-2-3-4-0x3@v4:1-2-3-4){ESTABLISHED}: Deallocated +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Terminating (cause = OSMO_FSM_TERM_PARENT) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Removing from parent pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: GTP actions: 1 previously active; want active: 0 +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: active: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: disabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1 DNFT INFO Added NFT ruleset to queue: n:1 strlen:381 DNFT INFO Flushing NFT ruleset queue: reached max nr of rules: n:1 strlen:381 (flush count: 7 avg rules per flush: 1) @@ -403,14 +404,14 @@ DNFT DEBUG ran nft ruleset, 381 chars: "delete element inet osmo-upf tunmap-pre { 1.1.1.1 . 0x2 };\ndelete element inet osmo-upf tunmap-post { 1 };\ndelete chain inet osmo-upf tunmap-pre-1;\ndelete chain inet osmo-upf tunmap-post-1;\ndelete element inet osmo-upf tunmap-pre { 1.1.1.1 . 0x1 };\ndelete ..." -DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1: Disabled tunmap, nft chain IDs: access--1-> <-2--core -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: Freeing instance -DSESSION DEBUG up_session(1-2-3-4-0x1){ESTABLISHED}: Deallocated -DSESSION DEBUG up_session(1-2-3-4-0x2){ESTABLISHED}: Terminating (cause = OSMO_FSM_TERM_PARENT) -DSESSION DEBUG up_session(1-2-3-4-0x2){ESTABLISHED}: Removing from parent pfcp_entity_peer(1-2-3-4) -DSESSION DEBUG up_session(1-2-3-4-0x2){ESTABLISHED}: GTP actions: 1 previously active; want active: 0 -DSESSION DEBUG up_session(1-2-3-4-0x2){ESTABLISHED}: active: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1 -DSESSION DEBUG up_session(1-2-3-4-0x2){ESTABLISHED}: disabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1 +DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x104 GTP-access-l:1.1.1.1 TEID-access-l:0x2 GTP-core-r:13.14.15.16 TEID-core-r:0x105 GTP-core-l:1.1.1.1 TEID-core-l:0x1 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x1 PDR-access:2 PDR-core:1: Disabled tunmap, nft chain IDs: access--1-> <-2--core +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Freeing instance +DSESSION DEBUG up_session(1-2-3-4-0x1@v4:1-2-3-4){ESTABLISHED}: Deallocated +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){ESTABLISHED}: Terminating (cause = OSMO_FSM_TERM_PARENT) +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){ESTABLISHED}: Removing from parent pfcp_entity_peer(1-2-3-4@v4:1-2-3-4) +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){ESTABLISHED}: GTP actions: 1 previously active; want active: 0 +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){ESTABLISHED}: active: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1 +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){ESTABLISHED}: disabling: GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1 DNFT INFO Added NFT ruleset to queue: n:1 strlen:381 DNFT INFO Flushing NFT ruleset queue: reached max nr of rules: n:1 strlen:381 (flush count: 8 avg rules per flush: 1) @@ -426,12 +427,12 @@ DNFT DEBUG ran nft ruleset, 381 chars: "delete element inet osmo-upf tunmap-pre { 1.1.1.1 . 0x4 };\ndelete element inet osmo-upf tunmap-post { 3 };\ndelete chain inet osmo-upf tunmap-pre-3;\ndelete chain inet osmo-upf tunmap-post-3;\ndelete element inet osmo-upf tunmap-pre { 1.1.1.1 . 0x3 };\ndelete ..." -DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1: Disabled tunmap, nft chain IDs: access--3-> <-4--core -DSESSION DEBUG up_session(1-2-3-4-0x2){ESTABLISHED}: Freeing instance -DSESSION DEBUG up_session(1-2-3-4-0x2){ESTABLISHED}: Deallocated -DPEER NOTICE pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Peer removed -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Freeing instance -DPEER DEBUG pfcp_entity_peer(1-2-3-4){ASSOCIATED}: Deallocated +DGTP INFO GTP:tunmap GTP-access-r:5.6.7.8 TEID-access-r:0x102 GTP-access-l:1.1.1.1 TEID-access-l:0x4 GTP-core-r:13.14.15.16 TEID-core-r:0x103 GTP-core-l:1.1.1.1 TEID-core-l:0x3 PFCP-peer:1.2.3.4@v4:1.2.3.4 SEID-l:0x2 PDR-access:2 PDR-core:1: Disabled tunmap, nft chain IDs: access--3-> <-4--core +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){ESTABLISHED}: Freeing instance +DSESSION DEBUG up_session(1-2-3-4-0x2@v4:1-2-3-4){ESTABLISHED}: Deallocated +DPEER NOTICE pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Peer removed +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Freeing instance +DPEER DEBUG pfcp_entity_peer(1-2-3-4@v4:1-2-3-4){ASSOCIATED}: Deallocated [test override] nft_ctx_free() assert(ctx == fake_nft_ctx) -- To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/44094?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-upf Gerrit-Branch: master Gerrit-Change-Id: Ie3e015cdcce21876b48b70e8f8374052d6f30a20 Gerrit-Change-Number: 44094 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: sepp: Adapt to newer open5gs behavior
by pespin 17 Nov '26

17 Nov '26
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44095?usp=email ) Change subject: sepp: Adapt to newer open5gs behavior ...................................................................... sepp: Adapt to newer open5gs behavior We should let the SEEP register with the NRF before attempting to negoatiate with it. Add a specific test to check the scenario when negotiating is done without prior NRF registering. Also, since SEPP may not re-register later on again with NRF once it was already registered, Make the NRF handling path in f_TC_security_cap_negotiation_server() optional. Related: https://github.com/open5gs/open5gs/pull/4985#issuecomment-6916101644 Change-Id: I93f7cb08bd2c68005835fc25ec47858db4fa85ab --- M sepp/ConnHdlr.ttcn M sepp/SEPP_Tests.ttcn M sepp/expected-results.xml 3 files changed, 46 insertions(+), 12 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/95/44095/1 diff --git a/sepp/ConnHdlr.ttcn b/sepp/ConnHdlr.ttcn index 8d4a5d0..880b092 100644 --- a/sepp/ConnHdlr.ttcn +++ b/sepp/ConnHdlr.ttcn @@ -220,7 +220,8 @@ } /* 6.1.4.2 Operation: Security Capability Negotiation */ -function f_N32_Handshake_post_sec_cap_neg(template (value) SecurityCapability_enum sec_cap := NONE) +function f_N32_Handshake_post_sec_cap_neg(template (value) SecurityCapability_enum sec_cap := NONE, + integer exp_http2_resp_code := 200) runs on ConnHdlr { var HTTP2_Msg http2_tx; var HTTP2_Msg http2_rx; @@ -236,14 +237,24 @@ f_http2_adapter_connect_send_sepp_n32c(http2_tx, idx := http2_tx.conn_id); /* 3GPP TS 29.521 Table 5.3.2.3.1-3 */ - http2_exp_rx := - tr_HTTP2_Msg(http2_tx.conn_id, - http2_tx.stream_id, - tr_HTTP2_header_block(pseudo_headers := tr_HTTP2_pseudo_headers_Resp(200)), - tr_HTTP2_Data_frame(stream_id := http2_tx.stream_id, - end_stream_flag := true, - data := decmatch tr_SecNegotiateRspData(sender_ := mp_sepp_fqdn_sender, - selectedSecCapability := tr_SecurityCapability(sec_cap)))); + if (exp_http2_resp_code == 200) { /* OK */ + http2_exp_rx := + tr_HTTP2_Msg(http2_tx.conn_id, + http2_tx.stream_id, + tr_HTTP2_header_block(pseudo_headers := tr_HTTP2_pseudo_headers_Resp(200)), + tr_HTTP2_Data_frame(stream_id := http2_tx.stream_id, + end_stream_flag := true, + data := decmatch tr_SecNegotiateRspData(sender_ := mp_sepp_fqdn_sender, + selectedSecCapability := tr_SecurityCapability(sec_cap)))); + } else if (exp_http2_resp_code == 503) { /* Service Unavailable */ + http2_exp_rx := + tr_HTTP2_Msg(http2_tx.conn_id, + http2_tx.stream_id, + tr_HTTP2_header_block(pseudo_headers := tr_HTTP2_pseudo_headers_Resp(503)), + tr_HTTP2_Data_frame(stream_id := http2_tx.stream_id, + end_stream_flag := true, + data := ?)); + } as_http2_adapter_receive(http2_rx, http2_exp_rx, idx := http2_tx.conn_id); f_http2_adapter_close(idx := http2_tx.conn_id); diff --git a/sepp/SEPP_Tests.ttcn b/sepp/SEPP_Tests.ttcn index 8b75273..06d2f45 100644 --- a/sepp/SEPP_Tests.ttcn +++ b/sepp/SEPP_Tests.ttcn @@ -155,7 +155,24 @@ f_shutdown(); } +/* Peer SEPP tries to get IUT serving PLMN list before the IUT registered to its own NRF + * (it gets its PLMN list from there). IUT shoulds answer with 503 Service Unavailable. */ +private function f_TC_security_cap_negotiation_tls_serving_plmn_list_unavailable() runs on ConnHdlr { + f_N32_Handshake_post_sec_cap_neg(TLS, exp_http2_resp_code := 503); + setverdict(pass); +} +testcase TC_security_cap_negotiation_tls_serving_plmn_list_unavailable() runs on MTC_CT { + var ConnHdlr vc_conn; + var ConnHdlrPars pars := f_ConnHdlrPars(0); + f_init(); + vc_conn := f_start_handler(refers(f_TC_security_cap_negotiation_tls_serving_plmn_list_unavailable), pars); + vc_conn.done; + f_shutdown(); +} + private function f_TC_security_cap_negotiation_tls() runs on ConnHdlr { + as_Nnrf_NFM_put_nf_instance(); + as_Nnrf_NFM_get_nf_instances(); f_N32_Handshake_post_sec_cap_neg(TLS); f_N32_Handshake_post_sec_cap_neg(NONE); setverdict(pass); @@ -188,9 +205,13 @@ var HTTP2_Msg http2_rx; var template (present) HTTP2_Msg http2_exp_rx; - as_Nnrf_NFM_put_nf_instance(); - as_Nnrf_NFM_get_nf_instances(); - as_N32_Handshake_post_sec_cap_neg(); + alt { + [] as_Nnrf_NFM_put_nf_instance() { + as_Nnrf_NFM_get_nf_instances(); + repeat; + } + [] as_N32_Handshake_post_sec_cap_neg(); + } /* Test NF sendig data through IUT c-SEPP to our emulated SEPP and back: */ http2_tx := f_n35_prepare_get_authentication_subscription(); @@ -236,6 +257,7 @@ control { execute( TC_security_cap_negotiation_none() ); + execute( TC_security_cap_negotiation_tls_serving_plmn_list_unavailable() ); execute( TC_security_cap_negotiation_tls() ); execute( TC_security_cap_negotiation_prins() ); execute( TC_security_cap_negotiation_server() ); diff --git a/sepp/expected-results.xml b/sepp/expected-results.xml index bd9d091..242936c 100644 --- a/sepp/expected-results.xml +++ b/sepp/expected-results.xml @@ -1,6 +1,7 @@ <?xml version="1.0"?> <testsuite name='Titan' tests='4' failures='0' errors='0' skipped='0' inconc='0' time='MASKED'> <testcase classname='SEPP_Tests' name='TC_security_cap_negotiation_none' time='MASKED'/> + <testcase classname='SEPP_Tests' name='TC_security_cap_negotiation_tls_serving_plmn_list_unavailable' time='MASKED'/> <testcase classname='SEPP_Tests' name='TC_security_cap_negotiation_tls' time='MASKED'/> <testcase classname='SEPP_Tests' name='TC_security_cap_negotiation_prins' time='MASKED'/> <testcase classname='SEPP_Tests' name='TC_security_cap_negotiation_server' time='MASKED'/> -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44095?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I93f7cb08bd2c68005835fc25ec47858db4fa85ab Gerrit-Change-Number: 44095 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[L] Change in osmo-upf[master]: Logging improvements
by osmith 17 Nov '26

17 Nov '26
Attention is currently required from: pespin. osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-upf/+/44094?usp=email ) Change subject: Logging improvements ...................................................................... Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/44094?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-upf Gerrit-Branch: master Gerrit-Change-Id: Ie3e015cdcce21876b48b70e8f8374052d6f30a20 Gerrit-Change-Number: 44094 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Tue, 17 Nov 2026 13:07:04 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[L] Change in osmo-upf[master]: Logging improvements
by fixeria 17 Nov '26

17 Nov '26
Attention is currently required from: osmith, pespin. fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-upf/+/44094?usp=email ) Change subject: Logging improvements ...................................................................... Patch Set 2: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/44094?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-upf Gerrit-Branch: master Gerrit-Change-Id: Ie3e015cdcce21876b48b70e8f8374052d6f30a20 Gerrit-Change-Number: 44094 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Tue, 17 Nov 2026 12:53:01 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[L] Change in osmo-upf[master]: Logging improvements
by pespin 17 Nov '26

17 Nov '26
Attention is currently required from: pespin. Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-upf/+/44094?usp=email to look at the new patch set (#2). The following approvals got outdated and were removed: Verified-1 by Jenkins Builder Change subject: Logging improvements ...................................................................... Logging improvements Log the Node ID the PFCP Entity belongs to. Log PFCP Node peer creation. Change-Id: Ie3e015cdcce21876b48b70e8f8374052d6f30a20 --- M src/osmo-upf/pfcp_entity_peer.c M src/osmo-upf/pfcp_node_peer.c M src/osmo-upf/up_gtp_action.c M src/osmo-upf/up_session.c M tests/unique_ids/unique_ids_test.err 5 files changed, 186 insertions(+), 177 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-upf refs/changes/94/44094/2 -- To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/44094?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: osmo-upf Gerrit-Branch: master Gerrit-Change-Id: Ie3e015cdcce21876b48b70e8f8374052d6f30a20 Gerrit-Change-Number: 44094 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Attention: pespin <pespin(a)sysmocom.de>
1 0
0 0
[S] Change in osmo-upf[master]: Logging improvements
by pespin 17 Nov '26

17 Nov '26
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-upf/+/44094?usp=email ) Change subject: Logging improvements ...................................................................... Logging improvements Log the Node ID the PFCP Entity belongs to. Log PFCP Node peer creation. Change-Id: Ie3e015cdcce21876b48b70e8f8374052d6f30a20 --- M src/osmo-upf/pfcp_entity_peer.c M src/osmo-upf/pfcp_node_peer.c M src/osmo-upf/up_gtp_action.c M src/osmo-upf/up_session.c 4 files changed, 13 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-upf refs/changes/94/44094/1 diff --git a/src/osmo-upf/pfcp_entity_peer.c b/src/osmo-upf/pfcp_entity_peer.c index 7b8c28d..9ac3981 100644 --- a/src/osmo-upf/pfcp_entity_peer.c +++ b/src/osmo-upf/pfcp_entity_peer.c @@ -112,7 +112,9 @@ static void pfcp_entity_peer_update_id(struct pfcp_entity_peer *peer) { - osmo_fsm_inst_update_id_f_sanitize(peer->fi, '-', "%s", pfcp_entity_peer_remote_addr_str(peer)); + osmo_fsm_inst_update_id_f_sanitize(peer->fi, '-', "%s@%s", + pfcp_entity_peer_remote_addr_str(peer), + pfcp_node_peer_node_id_str(peer->node_peer)); LOGPFSML(peer->fi, LOGL_DEBUG, "Updated id\n"); } diff --git a/src/osmo-upf/pfcp_node_peer.c b/src/osmo-upf/pfcp_node_peer.c index f4c7025..92abd2e 100644 --- a/src/osmo-upf/pfcp_node_peer.c +++ b/src/osmo-upf/pfcp_node_peer.c @@ -113,6 +113,8 @@ osmo_pfcp_bits_set(node_peer->local_up_features.bits, OSMO_PFCP_UP_FEAT_FTUP, true); llist_add(&node_peer->entry, &up_endpoint->pfcp_node_peer_list); + + LOG_PNP(node_peer, LOGL_NOTICE, "created\n"); return node_peer; } diff --git a/src/osmo-upf/up_gtp_action.c b/src/osmo-upf/up_gtp_action.c index 8ae2c3e..776d4a0 100644 --- a/src/osmo-upf/up_gtp_action.c +++ b/src/osmo-upf/up_gtp_action.c @@ -29,6 +29,7 @@ #include <osmocom/upf/upf.h> #include <osmocom/upf/up_gtp_action.h> #include <osmocom/upf/pfcp_entity_peer.h> +#include <osmocom/upf/pfcp_node_peer.h> #include <osmocom/upf/up_session.h> int up_gtp_action_cmp(const struct up_gtp_action *a, const struct up_gtp_action *b) @@ -187,8 +188,10 @@ break; } if (a->session) - OSMO_STRBUF_PRINTF(sb, " PFCP-peer:%s SEID-l:0x%"PRIx64, - pfcp_entity_peer_remote_addr_str(a->session->entity_peer), a->session->up_seid); + OSMO_STRBUF_PRINTF(sb, " PFCP-peer:%s@%s SEID-l:0x%"PRIx64, + pfcp_entity_peer_remote_addr_str(a->session->entity_peer), + pfcp_node_peer_node_id_str(a->session->entity_peer->node_peer), + a->session->up_seid); OSMO_STRBUF_PRINTF(sb, " PDR-access:%d", a->pdr_access); OSMO_STRBUF_PRINTF(sb, " PDR-core:%d", a->pdr_core); return sb.chars_needed; diff --git a/src/osmo-upf/up_session.c b/src/osmo-upf/up_session.c index 5fd664b..6cbd03d 100644 --- a/src/osmo-upf/up_session.c +++ b/src/osmo-upf/up_session.c @@ -1012,9 +1012,10 @@ static void up_session_update_id(struct up_session *session) { - osmo_fsm_inst_update_id_f_sanitize(session->fi, '-', "%s-0x%" PRIx64, + osmo_fsm_inst_update_id_f_sanitize(session->fi, '-', "%s-0x%" PRIx64 "@%s", pfcp_entity_peer_remote_addr_str(session->entity_peer), - session->up_seid); + session->up_seid, + pfcp_node_peer_node_id_str(session->entity_peer->node_peer)); LOGPFSML(session->fi, LOGL_DEBUG, "Updated id\n"); } -- To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/44094?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-upf Gerrit-Branch: master Gerrit-Change-Id: Ie3e015cdcce21876b48b70e8f8374052d6f30a20 Gerrit-Change-Number: 44094 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • ...
  • 72
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.