Attention is currently required from: neels.
laforge has posted comments on this change by neels. ( https://gerrit.osmocom.org/c/pysim/+/40341?usp=email )
Change subject: es2p.py: also allow 18 digit ICCID
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
why would 18 digits be permitted? According to the wikpedia "SIM card" page, *In practice, this means that on GSM cards there are 20-digit (19+1) and 19-digit (18+1) ICCIDs in use*.
E.118 actually doesn't really specify a minimum length. It just states that the IIN at the beginning is variable-length (max 7 digits) and there are a variable number of account identification numbers following it up to the max. length of 19 digits. GSM Phase 1 violated that max-19 by using 20 digits.
So I think we should either keep it 19-or-20 digits [practical] or allow anything up to 20 digits [narrow reading of E.118 plus phase1 compat].
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/40341?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: Iaa6e710132e3f4c6cecc5ff786922f6c0fcfb54e
Gerrit-Change-Number: 40341
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 23 May 2025 09:12:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: lynxis lazus.
fixeria has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37903?usp=email )
Change subject: s2b: add PDN type to the create session request
......................................................................
Patch Set 1:
(3 comments)
File src/epdg_gtpc_s2b.erl:
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37903/comment/4e76acab_26bc… :
PS1, Line 87: atom().
It's probably a good idea to define possible atom values here?
```
-type pdn_type() :: ipv4 | ipv6 | ipv4v6.
```
This allows dializer to catch typos in atoms.
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37903/comment/c8dd76a5_7f9e… :
PS1, Line 537: <<0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0>>
Not critical, but you could do this as follows:
```
<< 16#00:(8 * 4) >> %% for ipv4
<< 16#00:(8 * 16) >> %% for ipv6
<< 16#00:(8 * 20) >> %% for ipv4v6
```
File src/epdg_ue_fsm.erl:
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37903/comment/53e35966_d970… :
PS1, Line 70: atom(),
You can export `-type pdn_type` from `epdg_gtpc_s2b.erl` and use it here.
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37903?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-epdg
Gerrit-Branch: master
Gerrit-Change-Id: I52c9b2db38489404dbe2aac907089a0a6414c9b0
Gerrit-Change-Number: 37903
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Fri, 23 May 2025 06:24:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: lynxis lazus.
fixeria has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37902?usp=email )
Change subject: s2b: add logline on terminating module
......................................................................
Patch Set 1: Code-Review-1
(1 comment)
File src/epdg_gtpc_s2b.erl:
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37902/comment/c2be4cc2_d59c… :
PS1, Line 206: State
Do we really want/need to log the state here?
And why do you log it as `error` given that it's `normal`?
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37902?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-epdg
Gerrit-Branch: master
Gerrit-Change-Id: I7a3665b0a77ac86bed448a18cf224e2f6954ba73
Gerrit-Change-Number: 37902
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
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: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Fri, 23 May 2025 06:13:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: lynxis lazus.
fixeria has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37901?usp=email )
Change subject: s2b: when socket opening fails, stop the S2b module
......................................................................
Patch Set 1: Code-Review-1
(1 comment)
File src/epdg_gtpc_s2b.erl:
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37901/comment/1671b7b2_e945… :
PS1, Line 145: {stop, "GTPv2C UDP socket open error: ~w~n", [Reason]}
This is not a valid return value for https://www.erlang.org/doc/apps/stdlib/gen_server.html#c:init/1. In the case of `stop`, the tuple must contain two elements (`{stop, Reason}`), not three.
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37901?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-epdg
Gerrit-Branch: master
Gerrit-Change-Id: I49a6a1ec0c938aa70444c19c0b7b644f2e42f1fd
Gerrit-Change-Number: 37901
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
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: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Fri, 23 May 2025 06:10:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes