| Summary: | Log connections dropped when MaxStartups is reached | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Tomas Kuthan <tomas.kuthan> | ||||||
| Component: | sshd | Assignee: | Damien Miller <djm> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | trivial | CC: | djm, dtucker | ||||||
| Priority: | P5 | ||||||||
| Version: | 7.3p1 | ||||||||
| Hardware: | SPARC | ||||||||
| OS: | Solaris | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 2594 | ||||||||
| Attachments: |
|
||||||||
|
Description
Tomas Kuthan
2016-09-10 00:53:04 AEST
Created attachment 2873 [details]
Log dropped connections
Comment on attachment 2873 [details] Log dropped connections >+ logit("MaxStartups: dropping connection #%d", >+ startups); The connection identifier is included in this log message so syslog won't be able to dedupe it. Not sure if that's significant, though. Created attachment 2907 [details]
log addresses too
This logs the endpoint addresses too and downgrades the message to verbose() - IMO it could be pretty spammy during a DoS
Comment on attachment 2907 [details] log addresses too >+ verbose("drop connection #%d from [%s]:%d " won't that be wrong (or at least misleading) for IPv6 addresses? Comment on attachment 2907 [details]
log addresses too
[127.0.0.1]:22 vs [::1]:22
nevermind, I withdraw that bogus objection.
patch applied; this will be in OpenSSH 7.4 closing resolved bugs as of 8.6p1 release |