| Summary: | immediate connection closed with nothing logged at DEBUG LogLevel - silent pipe() error? | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Vincent Lefevre <vincent-openssh> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | enhancement | CC: | dtucker, vincent-openssh |
| Priority: | P5 | ||
| Version: | 7.9p1 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Bug Depends on: | |||
| Bug Blocks: | 3418 | ||
|
Description
Vincent Lefevre
2022-06-15 23:39:46 AEST
Added proposed error logging upstream. Thanks for the report, it will be in the next major release. The other possibility is that it's hitting the MaxStartups limit (or possibly PerSourceMaxStartups, but that's not enabled by default) and the missing log entries are due to the log rate limiting in drop_connection(). (In reply to Darren Tucker from comment #1) > Added proposed error logging upstream. Thanks for the report, it > will be in the next major release. Thanks. > The other possibility is that it's hitting the MaxStartups limit (or > possibly PerSourceMaxStartups, but that's not enabled by default) > and the missing log entries are due to the log rate limiting in > drop_connection(). OpenSSH 7.9p1 (used on the Debian 10 server) doesn't seem to have log rate limiting: if (drop_connection(startups) == 1) { [...] verbose("drop connection #%d from [%s]:%d " "on [%s]:%d past MaxStartups", startups, raddr, get_peer_port(*newsock), laddr, get_local_port(*newsock)); and OpenSSH 9.0p1 doesn't seem to have log rate limiting for VERBOSE log level and below since in drop_connection(), drop_level >= SYSLOG_LEVEL_VERBOSE. Compared to 7.9p1, it has additional log messages at higher levels, e.g. with error(). Closing bugs from openssh-9.1 release cycle |