Files
Nikos Mavrogiannopoulos 832d78401e sec-mod: prevent malicious clients from piling up client_entry_st per pid
Malicious clients cannot send CMD_SEC_AUTH_INIT arbitrarily: a worker's
pid has one client_entry_st attached to it. A repeated SEC_AUTH_INIT
is accepted (replacing the previous entry) only when the prior
attempt already ended in PS_AUTH_FAILED, matching the legitimate
case for it (GSSAPI/certificate falling back to the next auth method).

Any other repeat - while a previous attempt on that pid is still mid-flight
or already completed - is refused.

Resolves: #249

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2026-08-03 09:21:33 +02:00
..
2026-05-31 14:17:33 +02:00
2022-11-28 11:22:33 +01:00
2023-06-10 16:21:34 +08:00
2021-11-01 10:23:01 +01:00
2026-05-01 19:26:45 +00:00
2023-06-10 16:21:34 +08:00
2022-11-28 11:22:33 +01:00
2026-05-31 14:17:33 +02:00
2026-05-31 14:17:33 +02:00
2026-05-31 14:17:33 +02:00
2026-05-31 14:17:33 +02:00
2023-06-10 16:21:34 +08:00
2023-06-10 16:21:34 +08:00
2026-05-31 14:17:33 +02:00
2026-05-31 14:17:33 +02:00