osmo-remsim/include/osmocom/rspro
Harald Welte 65006583c1 server: Detect duplicate client/bankd connection; drop new ones
we're dropping the current (new) connection as we don't really know which
is the "right" one. Dropping the new gives the old connection time to
timeout, or to continue to operate.  If we were to drop the old
connection, this could interrupt a perfectly working connection and opens
some kind of DoS.

Related: OS#5527
Change-Id: I00387dbc19d689415470e2f08df08a47a78b81c0
2022-05-03 18:09:14 +02:00
..
ATR.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
BIT_STRING.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
BOOLEAN.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
BankId.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
BankSlot.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
BankSlotStatusInd.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ClientId.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ClientSlot.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ClientSlotStatusInd.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ComponentIdentity.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ComponentName.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ComponentType.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ConfigClientBankReq.h RSPRO: split ConfigClient into ConfigClientId and ConfigClientBank 2019-03-11 22:09:50 +01:00
ConfigClientBankRes.h RSPRO: split ConfigClient into ConfigClientId and ConfigClientBank 2019-03-11 22:09:50 +01:00
ConfigClientIdReq.h RSPRO: split ConfigClient into ConfigClientId and ConfigClientBank 2019-03-11 22:09:50 +01:00
ConfigClientIdRes.h RSPRO: split ConfigClient into ConfigClientId and ConfigClientBank 2019-03-11 22:09:50 +01:00
ConnectBankReq.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ConnectBankRes.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ConnectClientReq.h RSPRO: Use ClientSlot in ConnectClientReq, ConfigClientReq 2018-08-16 15:30:41 +02:00
ConnectClientRes.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
CreateMappingReq.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
CreateMappingRes.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ErrorCode.h RSPRO: Add ErrorInd 2019-03-09 15:10:36 +01:00
ErrorInd.h RSPRO: split ConfigClient into ConfigClientId and ConfigClientBank 2019-03-11 22:09:50 +01:00
ErrorSeverity.h RSPRO: Add ErrorInd 2019-03-09 15:10:36 +01:00
ErrorString.h RSPRO: Add ErrorInd 2019-03-09 15:10:36 +01:00
IA5String.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
INTEGER.h Fix common misspellings and typos 2019-07-17 22:11:52 +02:00
IpAddress.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
IpPort.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
Ipv4Address.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
Ipv6Address.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
Makefile.am RSPRO: Add new ResetState{Req,Res} 2019-12-04 21:52:58 +01:00
NativeEnumerated.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
NativeInteger.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
OCTET_STRING.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
OperationTag.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
PortNumber.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
RemoveMappingReq.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
RemoveMappingRes.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
ResetStateReq.h RSPRO: Add new ResetState{Req,Res} 2019-12-04 21:52:58 +01:00
ResetStateRes.h RSPRO: Add new ResetState{Req,Res} 2019-12-04 21:52:58 +01:00
ResultCode.h server: Detect duplicate client/bankd connection; drop new ones 2022-05-03 18:09:14 +02:00
RsproPDU.h RSPRO: don't use "default 1" for protocol version 2018-09-24 14:49:41 +02:00
RsproPDUchoice.h RSPRO: Add new ResetState{Req,Res} 2019-12-04 21:52:58 +01:00
SetAtrReq.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
SetAtrRes.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
SlotNumber.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
SlotPhysStatus.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
TpduCardToModem.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
TpduFlags.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
TpduModemToCard.h initial checkin of osmo-remsim 2018-08-15 08:54:50 +02:00
asn_application.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
asn_codecs.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
asn_codecs_prim.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
asn_internal.h improve talloc memory leak debugging 2019-03-31 15:57:59 +02:00
asn_system.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
ber_decoder.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
ber_tlv_length.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
ber_tlv_tag.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
constr_CHOICE.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
constr_SEQUENCE.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
constr_TYPE.h Fix common misspellings and typos 2019-07-17 22:11:52 +02:00
constraints.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
der_encoder.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
per_decoder.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
per_encoder.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
per_opentype.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
per_support.h Fix common misspellings and typos 2019-07-17 22:11:52 +02:00
rspro_client.h Add initial remsim-bankd skeleton 2018-08-15 08:56:31 +02:00
xer_decoder.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
xer_encoder.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00
xer_support.h remove libasn1c dependency and use asn1c without libasn1c 2018-10-03 23:34:21 +02:00