chiark / gitweb /
svc/conntrack.in: Leave time for network configuration to settle.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 28 Sep 2017 18:01:11 +0000 (19:01 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 28 Jun 2018 23:29:23 +0000 (00:29 +0100)
commitf53935552469894ef696b6f01fc19a70845bea91
treeb1e81fd860af286387c61d99eb38a8f41dcacfd9
parent4f6b41b9fafa19b941298abd7c19f5757b461a2a
svc/conntrack.in: Leave time for network configuration to settle.

Introduce new machinery to delay `kicking' the peer configuration.

  * Changes as a result of reports from NetworkManager and similar are
    now delayed, currently by 2s.  Further reports restart the delay, so
    we update 2s after the last report in a sequence.  This long delay
    is unfortunate, but necessary according to my experiments.

  * The 30s interval timer no longer does anything if a kick is
    scheduled but delayed.

  * Kicks resulting from initial state inspections aren't delayed;
    neither are direct user requests via the `up' and `down' commands.
svc/conntrack.in