[Bug 3179] New: sshd bind function and IPv6 neighbor discovery

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Jun 8 22:02:21 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=3179

            Bug ID: 3179
           Summary: sshd bind function and IPv6 neighbor discovery
           Product: Portable OpenSSH
           Version: 8.2p1
          Hardware: ARM64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: kircherlike at outlook.com

When I configure a service file in systemd for my /usr/sbin/sshd file, 
I write a dependency statement such as After=network-online.target. 

...
[Unit]
Description=OpenSSH server daemon
Documentation=man:sshd(8) man:sshd_config(5)
After=network-online.target sshd-keygen.target
Wants=sshd-keygen.target
...

However, when I configured some special IPv6 addresses for my network
adapter,
 I restarted the machine and found that the bind function of sshd
failed to 
 bind such IP addresses. The reason is that when the bind function is
called, 
 the IPv6 address is not in the neighbor discovery state 
 and does not take effect completely. 

 Therefore, I wonder whether the bind function policy in sshd can be
modified accordingly.
 For example, the network address status can be detected first.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list