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 -----
  • December
  • 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

  • 1 participants
  • 97208 discussions
[M] Change in libosmocore[master]: libosmogsm: Use the subscriber's K length for TUAK AUTS
by laforge 16 Nov '26

16 Nov '26
Attention is currently required from: Josh Shilts. laforge has posted comments on this change by Josh Shilts. ( https://gerrit.osmocom.org/c/libosmocore/+/44088?usp=email ) Change subject: libosmogsm: Use the subscriber's K length for TUAK AUTS ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44088?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I82180dde388a81eed337c7f1d99f5979489b9cd7 Gerrit-Change-Number: 44088 Gerrit-PatchSet: 1 Gerrit-Owner: Josh Shilts <joshuashilts(a)gmail.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: Josh Shilts <joshuashilts(a)gmail.com> Gerrit-Comment-Date: Mon, 16 Nov 2026 00:25:53 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in libosmocore[master]: libosmogsm: Use the subscriber's K length for TUAK AUTS
by Josh Shilts 15 Nov '26

15 Nov '26
Josh Shilts has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/44088?usp=email ) Change subject: libosmogsm: Use the subscriber's K length for TUAK AUTS ...................................................................... libosmogsm: Use the subscriber's K length for TUAK AUTS tuak_gen_vec_auts() passed sizeof(aud->u.umts.k), which is always 32, as the K length, so resync failed for every subscriber with a 128-bit K. Add TUAK resync cases with a 128-bit and a 256-bit K to the osmo-auc-gen test. Fixes: OS#7119 Change-Id: I82180dde388a81eed337c7f1d99f5979489b9cd7 --- M src/gsm/auth_tuak.c M tests/osmo-auc-gen/osmo-auc-gen_test.ok M tests/osmo-auc-gen/osmo-auc-gen_test.sh 3 files changed, 51 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/88/44088/1 diff --git a/src/gsm/auth_tuak.c b/src/gsm/auth_tuak.c index 05fbf69..075d915 100644 --- a/src/gsm/auth_tuak.c +++ b/src/gsm/auth_tuak.c @@ -179,7 +179,7 @@ opc = gen_opc_if_needed(aud, gen_opc); - rc = tuak_auts(opc, aud->u.umts.k, sizeof(aud->u.umts.k), rand_auts, auts, sqn_out); + rc = tuak_auts(opc, aud->u.umts.k, aud->u.umts.k_len, rand_auts, auts, sqn_out); if (rc < 0) return rc; diff --git a/tests/osmo-auc-gen/osmo-auc-gen_test.ok b/tests/osmo-auc-gen/osmo-auc-gen_test.ok index 2da0b02..d18e57c 100644 --- a/tests/osmo-auc-gen/osmo-auc-gen_test.ok +++ b/tests/osmo-auc-gen/osmo-auc-gen_test.ok @@ -290,3 +290,39 @@ osmo-auc-gen (C) 2011-2023 by Harald Welte This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY + + +> osmo-auc-gen -3 -a tuak -r 42424242424242424242424242424242 -k abababababababababababababababab -O 5555555555555555555555555555555555555555555555555555555555555555 -A e7af6b3d0e2f4f669592ff7d647d +osmo-auc-gen (C) 2011-2023 by Harald Welte +This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY + +RAND: 42424242424242424242424242424242 +AUTN: aad217459a450000a629d0b8d090f68f +IK: 52c2ecdcb90878d9eaa7ae82add046c0 +CK: 144269a4bd882a02026ddbb13243404b +RES: 7abd06d3fff7f634 +IMS nonce: QkJCQkJCQkJCQkJCQkJCQqrSF0WaRQAApinQuNCQ9o8= +IMS res: er0G0//39jQ= +SRES: 854af0e7 +Kc: ae4af04b9b135450 +SQN: 32 +IND: 0 +SQN.MS: 23 + + +> osmo-auc-gen -3 -a tuak -r 0123456789abcdef0123456789abcdef -k fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0efeeedecebeae9e8e7e6e5e4e3e2e1e0 -O 808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f -A f84eb338849bac1fbaf692a06dfb +osmo-auc-gen (C) 2011-2023 by Harald Welte +This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY + +RAND: 0123456789abcdef0123456789abcdef +AUTN: 480a9345cc3e00009a4cacea6268825e +IK: 2274155ccf4199d5e2abcbf621907f90 +CK: a4cb6f6529ab17f8337f27baa8234d47 +RES: e9d749dc4eea0035 +IMS nonce: ASNFZ4mrze8BI0VniavN70gKk0XMPgAAmkys6mJogl4= +IMS res: 6ddJ3E7qADU= +SRES: a73d49e9 +Kc: 576b96756f59bcfa +SQN: 32 +IND: 0 +SQN.MS: 23 diff --git a/tests/osmo-auc-gen/osmo-auc-gen_test.sh b/tests/osmo-auc-gen/osmo-auc-gen_test.sh index 55b0757..5a301f9 100755 --- a/tests/osmo-auc-gen/osmo-auc-gen_test.sh +++ b/tests/osmo-auc-gen/osmo-auc-gen_test.sh @@ -60,3 +60,17 @@ invoke_err -3 -a milenage -r $rand -k $k -o $opc -A $auts --ind 42 invoke_err -3 -a milenage -r $rand -k $k -o $opc -A $auts --ind-len 0 --ind 1 + +# TUAK resync with a 128-bit and a 256-bit K, using the K, TOP and RAND of +# 3GPP TS 35.233 test sets 1 and 2 +k="abababababababababababababababab" +op="5555555555555555555555555555555555555555555555555555555555555555" +rand="42424242424242424242424242424242" +auts="e7af6b3d0e2f4f669592ff7d647d" # --> SQN.MS = 23 +invoke -3 -a tuak -r $rand -k $k -O $op -A $auts + +k="fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0efeeedecebeae9e8e7e6e5e4e3e2e1e0" +op="808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f" +rand="0123456789abcdef0123456789abcdef" +auts="f84eb338849bac1fbaf692a06dfb" # --> SQN.MS = 23 +invoke -3 -a tuak -r $rand -k $k -O $op -A $auts -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44088?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I82180dde388a81eed337c7f1d99f5979489b9cd7 Gerrit-Change-Number: 44088 Gerrit-PatchSet: 1 Gerrit-Owner: Josh Shilts <joshuashilts(a)gmail.com>
1 0
0 0
[S] Change in libosmo-sigtran[master]: tcap_as_loadshare: improve fallback rate counters
by Jenkins Builder 14 Nov '26

14 Nov '26
Attention is currently required from: lynxis. Jenkins Builder has posted comments on this change by lynxis. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/44087?usp=email ) Change subject: tcap_as_loadshare: improve fallback rate counters ...................................................................... Patch Set 2: (2 comments) File src/ss7_as.c: Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/libosmo-sigtran/+/44087/comment/c03a40e8_69534… : PS2, Line 148: [SS7_AS_CTR_TCAP_FALLBACK_UDTS] ={ "tcap:fallback:udts", "Successful fallback handling by sending a UDTS. (loadshare-tcap)" }, spaces required around that '=' (ctx:WxV) Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/libosmo-sigtran/+/44087/comment/ac590ec5_a8ce4… : PS2, Line 149: [SS7_AS_CTR_TCAP_FALLBACK_ROUTE] ={ "tcap:fallback:route", "Successful fallback handling by sending to the fallback rount. (loadshare-tcap)" }, spaces required around that '=' (ctx:WxV) -- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/44087?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: If471c2b53ce8ff423313cfb0b8bf3042cc194803 Gerrit-Change-Number: 44087 Gerrit-PatchSet: 2 Gerrit-Owner: lynxis <lynxis(a)fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Attention: lynxis <lynxis(a)fe80.eu> Gerrit-Comment-Date: Sat, 14 Nov 2026 00:12:53 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[S] Change in libosmo-sigtran[master]: tcap_as_loadshare: improve fallback rate counters
by lynxis 14 Nov '26

14 Nov '26
Attention is currently required from: lynxis. Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/44087?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: tcap_as_loadshare: improve fallback rate counters ...................................................................... tcap_as_loadshare: improve fallback rate counters Rename tcap:asp:fallback into tcap:fallback:handle. Add a seperate counter for every different fallback method. Related: SYS#8283 Change-Id: If471c2b53ce8ff423313cfb0b8bf3042cc194803 --- M src/ss7_as.c M src/ss7_as.h M src/tcap_as_loadshare.c 3 files changed, 21 insertions(+), 7 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/87/44087/2 -- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/44087?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: If471c2b53ce8ff423313cfb0b8bf3042cc194803 Gerrit-Change-Number: 44087 Gerrit-PatchSet: 2 Gerrit-Owner: lynxis <lynxis(a)fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Attention: lynxis <lynxis(a)fe80.eu>
1 0
0 0
[XS] Change in libosmo-sigtran[master]: tcap_as_loadshare: rename rate counter for successful load sharing
by Jenkins Builder 13 Nov '26

13 Nov '26
Jenkins Builder has posted comments on this change by lynxis. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/44083?usp=email ) Change subject: tcap_as_loadshare: rename rate counter for successful load sharing ...................................................................... Patch Set 1: (1 comment) File src/ss7_as.c: Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/libosmo-sigtran/+/44083/comment/446cb91d_20b83… : PS1, Line 144: [SS7_AS_CTR_TCAP_LOAD_SHARE_SUCCESS] = {"tcap:loadshare:success","Successful ASP selection for a TCAP Begin message (loadshare-tcap)" }, space required after that ',' (ctx:VxV) -- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/44083?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: I6a0dc75e945a7a9688386e9bcd842bf7e9bc1d1e Gerrit-Change-Number: 44083 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis <lynxis(a)fe80.eu> Gerrit-CC: Jenkins Builder Gerrit-Comment-Date: Fri, 13 Nov 2026 22:38:42 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[XS] Change in libosmo-sigtran[master]: tcap_as_loadshare: add rate counter tcap:loadshare:failure
by Jenkins Builder 13 Nov '26

13 Nov '26
Jenkins Builder has posted comments on this change by lynxis. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/44084?usp=email ) Change subject: tcap_as_loadshare: add rate counter tcap:loadshare:failure ...................................................................... Patch Set 1: (1 comment) File src/ss7_as.c: Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/libosmo-sigtran/+/44084/comment/f963e2de_79f83… : PS1, Line 145: [SS7_AS_CTR_TCAP_LOAD_SHARE_FAILURE] = {"tcap:loadshare:failure","Could not find a valid ASP for a TCAP Begin message (loadshare-tcap)" }, space required after that ',' (ctx:VxV) -- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/44084?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: I04e63bf30742e5e584609337aab11177553b8033 Gerrit-Change-Number: 44084 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis <lynxis(a)fe80.eu> Gerrit-CC: Jenkins Builder Gerrit-Comment-Date: Fri, 13 Nov 2026 22:38:35 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[S] Change in libosmo-sigtran[master]: tcap_as_loadshare: improve fallback rate counters
by Jenkins Builder 13 Nov '26

13 Nov '26
Jenkins Builder has posted comments on this change by lynxis. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/44087?usp=email ) Change subject: tcap_as_loadshare: improve fallback rate counters ...................................................................... Patch Set 1: (2 comments) File src/ss7_as.c: Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/libosmo-sigtran/+/44087/comment/1420d6a5_3837d… : PS1, Line 148: [SS7_AS_CTR_TCAP_FALLBACK_UDTS] ={ "tcap:fallback:udts", "Successful fallback handling by sending a UDTS. (loadshare-tcap)" }, spaces required around that '=' (ctx:WxV) Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/libosmo-sigtran/+/44087/comment/0b3818b4_7d272… : PS1, Line 149: [SS7_AS_CTR_TCAP_FALLBACK_ROUTE] ={ "tcap:fallback:udts", "Successful fallback handling by sending to the fallback rount. (loadshare-tcap)" }, spaces required around that '=' (ctx:WxV) -- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/44087?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: If471c2b53ce8ff423313cfb0b8bf3042cc194803 Gerrit-Change-Number: 44087 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis <lynxis(a)fe80.eu> Gerrit-CC: Jenkins Builder Gerrit-Comment-Date: Fri, 13 Nov 2026 22:38:31 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[XS] Change in libosmo-sigtran[master]: tcap_as_loadshare: also increase rate counter for TCAP message from a...
by lynxis 13 Nov '26

13 Nov '26
lynxis has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/44079?usp=email ) Change subject: tcap_as_loadshare: also increase rate counter for TCAP message from an TCAP loadsharing ASP ...................................................................... tcap_as_loadshare: also increase rate counter for TCAP message from an TCAP loadsharing ASP Before only messages towards an TCAP loadsharing ASP were counted. Also count when parsing a TCAP messages from a TCAP ASP. Related: SYS#8283 Change-Id: I04e44797d14d36ed1b1bbd770ba2d7592959a040 --- M src/tcap_as_loadshare.c 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/79/44079/1 diff --git a/src/tcap_as_loadshare.c b/src/tcap_as_loadshare.c index 61885a6..026f0f3 100644 --- a/src/tcap_as_loadshare.c +++ b/src/tcap_as_loadshare.c @@ -350,10 +350,12 @@ rc = parse_tcap(as, ie_data->dat, ie_data->len, &parsed); if (rc <= 0) { LOGPAS(as, DLTCAP, LOGL_NOTICE, "Failed get TCAP otid/dtid.\n"); + rate_ctr_inc2(as->ctrg, SS7_AS_CTR_TCAP_DECODE_FAILURE); rc = -7; goto out; } + rate_ctr_inc2(as->ctrg, SS7_AS_CTR_TCAP_DECODE_SUCCESS); LOGPAS(as, DLTCAP, LOGL_INFO, "Looking up transaction for type 0x%02x, otid=%u dtid=%u\n", parsed.present, parsed.otid, parsed.dtid); /* TCAP messages towards the IPAC nodes */ switch (parsed.present) { -- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/44079?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: I04e44797d14d36ed1b1bbd770ba2d7592959a040 Gerrit-Change-Number: 44079 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis <lynxis(a)fe80.eu>
1 0
0 0
[S] Change in libosmo-sigtran[master]: tcap_as_loadshare: rename rate counters for TCAP decoding
by lynxis 13 Nov '26

13 Nov '26
lynxis has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/44078?usp=email ) Change subject: tcap_as_loadshare: rename rate counters for TCAP decoding ...................................................................... tcap_as_loadshare: rename rate counters for TCAP decoding Rename the define for successful/failed decoding. Related: SYS#8283 Change-Id: If7218400ef3353c5f28845b390b354390f2e3b73 --- M src/ss7_as.c M src/ss7_as.h M src/tcap_as_loadshare.c 3 files changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/78/44078/1 diff --git a/src/ss7_as.c b/src/ss7_as.c index 59e9e06..41ae807 100644 --- a/src/ss7_as.c +++ b/src/ss7_as.c @@ -139,8 +139,8 @@ [SS7_AS_CTR_TX_MSU_SLS_14] = { "tx:msu:sls:14", SS7_AS_CTR_TX_MSU_SLS_STR "14" }, [SS7_AS_CTR_TX_MSU_SLS_15] = { "tx:msu:sls:15", SS7_AS_CTR_TX_MSU_SLS_STR "15" }, #ifdef WITH_TCAP_LOADSHARING - [SS7_AS_CTR_RX_TCAP_DECODED] = { "tcap:decoded", "Number of TCAP-messages decoded successfully (loadshare-tcap)" }, - [SS7_AS_CTR_RX_TCAP_FAILED] = { "tcap:failed", "Number of TCAP-messages that failed decoding (loadshare-tcap)" }, + [SS7_AS_CTR_TCAP_DECODE_SUCCESS] = { "tcap:decode:success", "Number of successful decoded TCAP messages (loadshare-tcap)" }, + [SS7_AS_CTR_TCAP_DECODE_FAILURE] = { "tcap:decode:failure", "Number of TCAP messages which could not decoded (loadshare-tcap)" }, [SS7_AS_CTR_TCAP_ASP_SELECTED] = { "tcap:asp:selected", "ASP selection successful for a TCAP-message (loadshare-tcap)" }, [SS7_AS_CTR_TCAP_ASP_FALLBACK] = { "tcap:asp:fallback", "A non-starting TCAP message had to be routed by round-robin over all ASP. (loadshare-tcap)" }, [SS7_AS_CTR_TCAP_ASP_FAILED] = { "tcap:asp:failed", "ASP selection failed for a TCAP-message (loadshare-tcap)" }, diff --git a/src/ss7_as.h b/src/ss7_as.h index 329350b..b713ca4 100644 --- a/src/ss7_as.h +++ b/src/ss7_as.h @@ -66,8 +66,8 @@ SS7_AS_CTR_TX_MSU_SLS_14, SS7_AS_CTR_TX_MSU_SLS_15, #ifdef WITH_TCAP_LOADSHARING - SS7_AS_CTR_RX_TCAP_DECODED, - SS7_AS_CTR_RX_TCAP_FAILED, + SS7_AS_CTR_TCAP_DECODE_SUCCESS, + SS7_AS_CTR_TCAP_DECODE_FAILURE, SS7_AS_CTR_TCAP_ASP_SELECTED, SS7_AS_CTR_TCAP_ASP_FALLBACK, SS7_AS_CTR_TCAP_ASP_FAILED, diff --git a/src/tcap_as_loadshare.c b/src/tcap_as_loadshare.c index d490319..61885a6 100644 --- a/src/tcap_as_loadshare.c +++ b/src/tcap_as_loadshare.c @@ -614,12 +614,12 @@ rc, parsed.present, parsed.otid, parsed.dtid); if (rc <= 0) { - rate_ctr_inc2(as->ctrg, SS7_AS_CTR_RX_TCAP_FAILED); + rate_ctr_inc2(as->ctrg, SS7_AS_CTR_TCAP_DECODE_FAILURE); LOGPAS(as, DLTCAP, LOGL_NOTICE, "Failed parse TCAP message to retrieve otid/dtid.\n"); rc = -EINVAL; goto out_free_sua; } - rate_ctr_inc2(as->ctrg, SS7_AS_CTR_RX_TCAP_DECODED); + rate_ctr_inc2(as->ctrg, SS7_AS_CTR_TCAP_DECODE_SUCCESS); /* Handle UDTS message */ if (sua->hdr.msg_type == SUA_CL_CLDR) { -- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/44078?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: If7218400ef3353c5f28845b390b354390f2e3b73 Gerrit-Change-Number: 44078 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis <lynxis(a)fe80.eu>
1 0
0 0
[S] Change in libosmo-sigtran[master]: tcap_as_loadshare: add rate counter for TCAP tcap:session:hit
by lynxis 13 Nov '26

13 Nov '26
lynxis has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/44082?usp=email ) Change subject: tcap_as_loadshare: add rate counter for TCAP tcap:session:hit ...................................................................... tcap_as_loadshare: add rate counter for TCAP tcap:session:hit When a TCAP message could be routed by the tcap session tracking. Related: SYS#8283 Change-Id: I10c3ae05c36bef3f3ae91713ed7332a5e66bb04b --- M src/ss7_as.c M src/ss7_as.h M src/tcap_as_loadshare.c 3 files changed, 8 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/82/44082/1 diff --git a/src/ss7_as.c b/src/ss7_as.c index 6721c24..3a9352e 100644 --- a/src/ss7_as.c +++ b/src/ss7_as.c @@ -145,6 +145,7 @@ [SS7_AS_CTR_TCAP_ASP_FALLBACK] = { "tcap:asp:fallback", "A non-starting TCAP message had to be routed by round-robin over all ASP. (loadshare-tcap)" }, [SS7_AS_CTR_TCAP_ASP_FAILED] = { "tcap:asp:failed", "ASP selection failed for a TCAP-message (loadshare-tcap)" }, [SS7_AS_CTR_TCAP_SESS_MISS] = { "tcap:session:miss", "A non-starting TCAP message (Continue, End, Abort) was missing a session entry. (loadshare-tcap)" }, + [SS7_AS_CTR_TCAP_SESS_HIT] = { "tcap:session:hit", "A non-starting TCAP message (Continue, End, Abort) hit a session entry, (loadshare-tcap)" }, #endif /* WITH_TCAP_LOADSHARING */ }; diff --git a/src/ss7_as.h b/src/ss7_as.h index 804b59d..d9301a0 100644 --- a/src/ss7_as.h +++ b/src/ss7_as.h @@ -72,6 +72,7 @@ SS7_AS_CTR_TCAP_ASP_FALLBACK, SS7_AS_CTR_TCAP_ASP_FAILED, SS7_AS_CTR_TCAP_SESS_MISS, + SS7_AS_CTR_TCAP_SESS_HIT, #endif /* WITH_TCAP_LOADSHARING */ }; diff --git a/src/tcap_as_loadshare.c b/src/tcap_as_loadshare.c index ea9545e..ca4cd6d 100644 --- a/src/tcap_as_loadshare.c +++ b/src/tcap_as_loadshare.c @@ -682,7 +682,9 @@ * "When a destination TID is present, the SG extracts the label and * selects the ASP that corresponds with it." */ asp = tcap_trans_track_continue(as, &called_addr, &parsed.dtid, &calling_addr, &parsed.otid); - if (!asp) { + if (asp) + rate_ctr_inc2(as->ctrg, SS7_AS_CTR_TCAP_SESS_HIT); + else { LOGPAS(as, DLTCAP, LOGL_INFO, "Couldn't find cached ASP for TCAP Continue, dtid %u/otid %u, using tcap route", parsed.dtid, parsed.otid); rate_ctr_inc2(as->ctrg, SS7_AS_CTR_TCAP_SESS_MISS); asp = tcap_as_asp_find_by_tcap_id(as, &calling_addr, &called_addr, parsed.dtid); @@ -714,7 +716,9 @@ } asp = tcap_trans_track_end(as, &called_addr, &parsed.dtid, &calling_addr, NULL); - if (!asp) { + if (asp) + rate_ctr_inc2(as->ctrg, SS7_AS_CTR_TCAP_SESS_HIT); + else { LOGPAS(as, DLTCAP, LOGL_INFO, "Couldn't find cached ASP for TCAP End, dtid %u, using tcap route\n", parsed.dtid); rate_ctr_inc2(as->ctrg, SS7_AS_CTR_TCAP_SESS_MISS); asp = tcap_as_asp_find_by_tcap_id(as, &calling_addr, &called_addr, parsed.dtid); -- To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/44082?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: libosmo-sigtran Gerrit-Branch: master Gerrit-Change-Id: I10c3ae05c36bef3f3ae91713ed7332a5e66bb04b Gerrit-Change-Number: 44082 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis <lynxis(a)fe80.eu>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • ...
  • 9721
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.