laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/42230?usp=email )
Change subject: remsim-client: Don't attempt to pass on TPDU length < 5
......................................................................
remsim-client: Don't attempt to pass on TPDU length < 5
TPDUs with length < 5 bytes are illegal in T=0. It doesn't make sense
to send them to bankd, triggering bugs in either bankd, pcsc-lite or the
CCID firmware down the road. Let's filter them right where they might
originate.
Change-Id: I175eb4622d0e69dbc6aca2cddfe091a78f225da5
---
M src/client/main_fsm.c
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/30/42230/1
diff --git a/src/client/main_fsm.c b/src/client/main_fsm.c
index dcdd239..c4c3237 100644
--- a/src/client/main_fsm.c
+++ b/src/client/main_fsm.c
@@ -336,6 +336,11 @@
case MF_E_MDM_TPDU:
tpdu = data;
OSMO_ASSERT(tpdu);
+ if (tpdu->len < 5) {
+ LOGPFSML(fi, LOGL_ERROR, "Modem submitted illegal TPDU length %u (%s), dropping\n", tpdu->len,
+ osmo_hexdump_nospc(tpdu->buf, tpdu->len));
+ return;
+ }
LOGPFSML(fi, LOGL_INFO, "Tx tpduModemToCard (%s)\n", osmo_hexdump_nospc(tpdu->buf, tpdu->len));
/* forward to bankd */
bank_slot2rspro(&bslot, &bc->bankd_slot);
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/42230?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I175eb4622d0e69dbc6aca2cddfe091a78f225da5
Gerrit-Change-Number: 42230
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Attention is currently required from: laforge, roh.
Hello Jenkins Builder, mschramm, roh,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-remsim/+/33812?usp=email
to look at the new patch set (#5).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
The change is no longer submittable: Verified is unsatisfied now.
Change subject: log at NOTICE level if somebody uses loopback addresses.
......................................................................
log at NOTICE level if somebody uses loopback addresses.
It appears a common mistake is to e.g. run remsim-server + remsim-bankd
on one machine and then instruct them to use localhost or other
loopback-routed addresses. This won't work as that address is then
sent to a [remote] remsim-client that attempts to reach the bankd
at localhost.
Change-Id: I3b4eda10e81a705aef8d647a860890a74cba8f13
---
M src/client/main_fsm.c
M src/server/rspro_server.c
2 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/12/33812/5
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/33812?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I3b4eda10e81a705aef8d647a860890a74cba8f13
Gerrit-Change-Number: 33812
Gerrit-PatchSet: 5
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: mschramm <mschramm(a)sysmocom.de>
Gerrit-Reviewer: roh <jsteiger(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: roh <jsteiger(a)sysmocom.de>
Attention is currently required from: lynxis lazus.
laforge has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42223?usp=email )
Change subject: After initialisation: turn user led on
......................................................................
Patch Set 3: Code-Review+2
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42223/comment/faeffd96_ba… :
PS2, Line 9: 5158
> that is an issue about osmo_ss7_vty.c ? […]
Done
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42223?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: Ide37ea32648536d333bd5051b142eb15959d29bf
Gerrit-Change-Number: 42223
Gerrit-PatchSet: 3
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Fri, 27 Feb 2026 09:46:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Attention is currently required from: lynxis lazus.
laforge has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42223?usp=email )
Change subject: After initialisation: turn user led on
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42223/comment/53519763_6c… :
PS2, Line 9: 5158
that is an issue about osmo_ss7_vty.c ?
SYS#5158 is likely what you meant.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42223?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: Ide37ea32648536d333bd5051b142eb15959d29bf
Gerrit-Change-Number: 42223
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Fri, 27 Feb 2026 09:45:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: osmith.
laforge has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42227?usp=email )
The change is no longer submittable: Code-Review is unsatisfied now.
Change subject: clang-format: set ColumnLimit: 0
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42227?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I1f0d511d90a0725f195e08dd6a99eb3d55bd6fc1
Gerrit-Change-Number: 42227
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 27 Feb 2026 09:43:00 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: lynxis lazus.
laforge has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42224?usp=email )
Change subject: same54: make the default irq handler weak
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
As this originall started as generated code from some atmel tool, I think it would be best if we try to minimize modifications shoul we ever end up wanting to compare re-generated sources.
So what about simply keeping the name, avoiding all those Dummy -> Fallback name changes all over the code?
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42224?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I544e9c84dd538bb744fb799904adc58f9d850465
Gerrit-Change-Number: 42224
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Fri, 27 Feb 2026 09:42:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No