CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/11/25 15:08:49
Modified files:
usr.bin/ssh : srclimit.c srclimit.h sshd.c
Log message:
use the remote address returned from accept(2) for PerSourcePenalties
rather than doing an explicit getpeername(2) lookup later.
Avoids very minor PerSourcePenalties bypass, where the peer connects,
does nothing and then disconnects before getpeername() has a chance
to complete. Also saves a syscall.
Anthropic ANT-2026-MFL5Y7HK
