| Summary: | Banner only suppressed at log level = QUIET (used to be at log level < INFO) | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Dean Kopesky <Dean.Kopesky> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | minor | ||
| Priority: | P2 | ||
| Version: | 4.3p2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 1155 | ||
|
Description
Dean Kopesky
2006-08-25 03:39:40 AEST
There was no deliberate change in behaviour so if there is one it was unintentional. That said, I can't see a difference here: "ssh -q" and "ssh -o loglevel=quiet" both behave the same now and with the diff reverted. Could you please give an example? (also what platform are you running on, in case it matters?) -o LogLevel=QUIET works the same before and after the diff, yes. The problem is that -o LogLevel=ERROR and -o LogLevel=FATAL suppressed the banner before the diff, but don't suppress the banner after. This is because, before the diff, input_userauth_banner() printed the banner with logit(), which uses a log level of INFO internally; whereas after the diff, input_userauth_banner() hardcodes a check for LOG_LEVEL_QUIET. We are running on various Sun Sparc machines, with Solaris 5.6, 5.8, and 5.10. I can see the cause of the behavior in the source code, though, so I doubt the behavior is platform-specific. Ah, I see. So if the test was "if (options.log_level >= LOG_LEVEL_INFO)" then it would have the previous behaviour? I believe that is correct, yes. Darren applied his patch, so it will be in the 4.4p1 release - thanks With the release of 4.4, we believe that this bug is now closed. For information about the release please see http://www.openssh.com/txt/release-4.4 . |