bugzilla-daemon at mindrot.org
2020-May-17  17:12 UTC
[Bug 3164] New: Default port 22 sometimes not overwritten by included configuration
https://bugzilla.mindrot.org/show_bug.cgi?id=3164
            Bug ID: 3164
           Summary: Default port 22 sometimes not overwritten by included
                    configuration
           Product: Portable OpenSSH
           Version: 8.2p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: Flupp+bugzilla.mindrot.org at mailbox.org
When setting the Port configuration in a configuration file that is
included via Include keyword and when this is not the first included
file, the default port 22 is not overwritten.
Example:
$ cat main.conf 
Include /path/to/sub1.conf
Include /path/to/sub2.conf
$ cat sub1.conf 
# empty configuration file
$ cat sub2.conf 
Port 42
$ sshd -T -f main.conf | grep -i '^port'
port 22
port 42
In the above example, sshd would listen on port 22 although this was
changed by the configuration. When the two Include lines in main.conf
are interchanged, the problem does not occur.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2020-May-29  05:21 UTC
[Bug 3164] Default port 22 sometimes not overwritten by included configuration
https://bugzilla.mindrot.org/show_bug.cgi?id=3164
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
*** This bug has been marked as a duplicate of bug 3169 ***
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2021-Mar-03  22:53 UTC
[Bug 3164] Default port 22 sometimes not overwritten by included configuration
https://bugzilla.mindrot.org/show_bug.cgi?id=3164
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
close bugs that were resolved in OpenSSH 8.5 release cycle
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
Maybe Matching Threads
- [Bug 9670] New: missing substructure within partial-dir causes files to be lost or overwritten
 - Problem/Bug when syncing subdirectory structures with delay-updates and partial-dir
 - [Bug 3169] New: sshd listens to port 22 AND whatever port is specified in or after Include(s)
 - [LLVMdev] Saving a reference to a Basic Block?
 - c(recursive=TRUE)