Re: [systemd-devel] Adding "After=network-online.target" via drop-in

2017-02-20 Thread Lennart Poettering
On Sun, 19.02.17 14:34, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Sat, Feb 18, 2017 at 10:32 PM, Ian Pilcher wrote: > > > I have configured sshd on my firewall to listen only on its internal > > IP address. This is causing it to fail when it first starts, since the

Re: [systemd-devel] Adding "After=network-online.target" via drop-in

2017-02-19 Thread Mantas Mikulėnas
On Sun, Feb 19, 2017 at 6:56 PM, Andrei Borzenkov wrote: > 19.02.2017 15:34, Mantas Mikulėnas пишет: > > On Sat, Feb 18, 2017 at 10:32 PM, Ian Pilcher > wrote: > > > >> I have configured sshd on my firewall to listen only on its internal > >> IP

Re: [systemd-devel] Adding "After=network-online.target" via drop-in

2017-02-19 Thread Andrei Borzenkov
19.02.2017 15:34, Mantas Mikulėnas пишет: > On Sat, Feb 18, 2017 at 10:32 PM, Ian Pilcher wrote: > >> I have configured sshd on my firewall to listen only on its internal >> IP address. This is causing it to fail when it first starts, since the >> IP address is not

Re: [systemd-devel] Adding "After=network-online.target" via drop-in

2017-02-19 Thread Mantas Mikulėnas
No, that's not how I tested it. On Sun, Feb 19, 2017 at 2:42 PM, Reindl Harald wrote: > > i guess you tested that from the local host itself and not from the > outside because this is *not* true > > on the local machine things are different like reject a specific port for

Re: [systemd-devel] Adding "After=network-online.target" via drop-in

2017-02-19 Thread Ian Pilcher
On 02/19/2017 06:34 AM, Mantas Mikulėnas wrote: That said... listening only on internal addresses doesn't mean the connections will be accepted only from internal interfaces -- at least for IPv4, Linux considers the addresses as belonging to the whole host, and will still accept connections from

Re: [systemd-devel] Adding "After=network-online.target" via drop-in

2017-02-19 Thread Mantas Mikulėnas
On Sat, Feb 18, 2017 at 10:32 PM, Ian Pilcher wrote: > I have configured sshd on my firewall to listen only on its internal > IP address. This is causing it to fail when it first starts, since the > IP address is not actually configured yet. > > I have confirmed that

Re: [systemd-devel] Adding "After=network-online.target" via drop-in

2017-02-19 Thread Reindl Harald
Am 19.02.2017 um 13:34 schrieb Mantas Mikulėnas: On Sat, Feb 18, 2017 at 10:32 PM, Ian Pilcher > wrote: I have configured sshd on my firewall to listen only on its internal IP address. This is causing it to fail when it first starts,

Re: [systemd-devel] Adding "After=network-online.target" via drop-in

2017-02-18 Thread Andrei Borzenkov
18.02.2017 23:32, Ian Pilcher пишет: > I have configured sshd on my firewall to listen only on its internal > IP address. This is causing it to fail when it first starts, since the > IP address is not actually configured yet. > > I have confirmed that adding network-online.target to the