Attention is currently required from: laforge, pespin.
fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37964?usp=email )
Change subject: pfcp_peer: do not route incoming PDUs without SEID
......................................................................
Patch Set 5: Code-Review+2
(1 comment)
File src/pfcp_peer.erl:
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37964/comment/a38670cd_c6b6… :
PS1, Line 233: ?LOG_NOTICE("Rx unexpected PFCP PDU: ~p", [PDU])
> We should at least have a metric counter though that users can observe this counter incrementing and therefore get an idea this is happening at all.
Ack, I thought the same and submitted a patch:
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/38535
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37964?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: I7d33ec4e883b217b2b4f65e4866d9365c32c753d
Gerrit-Change-Number: 37964
Gerrit-PatchSet: 5
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 25 Oct 2024 19:32:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: pespin.
fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38540?usp=email )
Change subject: Convert RAN_Conn_Prim from enum to union
......................................................................
Patch Set 3: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38540?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: I17994795b51efc7e6700238ddcf45594af653e42
Gerrit-Change-Number: 38540
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 25 Oct 2024 19:28:53 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: pespin.
fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38539?usp=email )
Change subject: hnbgw: Allow modifying RanOps during test startup
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
File hnbgw/HNBGW_Tests.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38539/comment/387da6b6_77bf… :
PS2, Line 400: ranops.ps_domain := ps_domain
So you're making a copy of `g_ran_ops` and making changes to that copy, while `g_ran_ops` remains unchanged... Are you sure this is ok? Is this intentional?
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38539?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: Ib9462ba41b16375348b086d7ffe9f5755ae26f84
Gerrit-Change-Number: 38539
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 25 Oct 2024 19:27:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/38551?usp=email )
Change subject: WIP: sccp: Send RELRE when CREQ is refused by peer
......................................................................
Patch Set 1:
(2 comments)
Patchset:
PS1:
This is current failing due to
File src/sccp_scoc.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/38551/comment/f321e062_4df08… :
PS1, Line 1091: xua_gen_relre_and_send(conn, SCCP_RELEASE_CAUSE_REMOTE_PROCEDURE_ERROR, NULL);
This is currently failing due to:
sccp_scrc_rx_scoc_conn_msg: HDR=(CO:RELRE,V=0,LEN=0), PART(T=Routing Context,L=4,D=00000000), PART(T=Destination Reference,L=4,D=00000000), PART(T=Source Reference,L=4,D=00000001), PART(T=SCCP Cause,L=4,D=00000304)
MTP-TRANSFER.req from SCCP without DPC?!? called=RI=0
The CREF we receive (at least in my test, need to check in deployed peer) contains no Calling/Called Address, so our stack is somehow probably not setting the DPC in the conn object.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/38551?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: Iea2e6f684a6cdbc978833785704b8cf2cbd4e645
Gerrit-Change-Number: 38551
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Fri, 25 Oct 2024 16:52:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/38551?usp=email )
Change subject: WIP: sccp: Send RELRE when CREQ is refused by peer
......................................................................
WIP: sccp: Send RELRE when CREQ is refused by peer
WIP attempt to make sure the peer drops the conn if it refuses to create
a new conn, perhaps due to conn already established according to peer
state.
Related: SYS#6602
Change-Id: Iea2e6f684a6cdbc978833785704b8cf2cbd4e645
---
M src/sccp_scoc.c
1 file changed, 9 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/51/38551/1
diff --git a/src/sccp_scoc.c b/src/sccp_scoc.c
index 0e1eb34..d14a90e 100644
--- a/src/sccp_scoc.c
+++ b/src/sccp_scoc.c
@@ -1061,6 +1061,7 @@
struct sccp_connection *conn = fi->priv;
struct osmo_scu_prim *prim = NULL;
struct xua_msg *xua = NULL;
+ uint32_t sccp_cause;
switch (event) {
case SCOC_E_SCU_N_DISC_REQ:
@@ -1081,11 +1082,17 @@
xua = data;
/* stop conn timer */
conn_stop_connect_timer(conn);
- /* release local res + ref (implicit by going to idle) */
+ /* Tx RELRE in case CREQ was refused due to misaligned state
+ * where peer thinks this conn already exists... (SYS#6602)
+ * Note: this is a deviation from Figure C.2/Q.714 (sheet 2 of 7)
+ */
+ sccp_cause = xua_msg_get_u32(xua, SUA_IEI_CAUSE);
+ if (sccp_cause == (SUA_CAUSE_T_REFUSAL | SCCP_REFUSAL_END_USER_FAILURE))
+ xua_gen_relre_and_send(conn, SCCP_RELEASE_CAUSE_REMOTE_PROCEDURE_ERROR, NULL);
/* N-DISCONNECT.ind to user */
scu_gen_encode_and_send(conn, event, xua, OSMO_SCU_PRIM_N_DISCONNECT,
PRIM_OP_INDICATION);
- /* below implicitly releases resources + local ref */
+ /* below going to idle implicitly releases resources + local ref */
osmo_fsm_inst_state_chg(fi, S_IDLE, 0, 0);
break;
case SCOC_E_RCOC_RLSD_IND:
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/38551?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: Iea2e6f684a6cdbc978833785704b8cf2cbd4e645
Gerrit-Change-Number: 38551
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Attention is currently required from: laforge.
dexter has posted comments on this change by laforge. ( https://gerrit.osmocom.org/c/pysim/+/38472?usp=email )
Change subject: pySim.ts_31_102: Add support for EF.EARFCNList
......................................................................
Patch Set 4: Code-Review+2
(1 comment)
Patchset:
PS4:
All tests pass now. The patch changes the output in some integration tests. I have added the changes of the .ok file.
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/38472?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I16797ca58c3ad6ebaf588d04fec011a0cbcfcef3
Gerrit-Change-Number: 38472
Gerrit-PatchSet: 4
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Fri, 25 Oct 2024 16:23:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes