Attention is currently required from: lynxis lazus.
laforge has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-remsim/+/28027 )
Change subject: server: Detect duplicate client/bankd connection; drop new ones
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
I'm not talking about rogue actors, but about an
accidential misconfiguration. […]
Another reason to drop the new one is to avoid
neverending ping-pong between two clients. If they both re-connect and you always use the
new one, you will have a different client connected to the reader/slot every few seconds.
If the old one prevails, then at least one client owns the card until it releases it (or
times out), at which point they both have a chance of grabbing it, and whoever wins will
then remain owning that slot/card.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-remsim/+/28027
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I00387dbc19d689415470e2f08df08a47a78b81c0
Gerrit-Change-Number: 28027
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 04 May 2022 08:48:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-MessageType: comment