/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

  • Committer: Teddy Hogeborn
  • Date: 2023-02-07 23:03:33 UTC
  • Revision ID: teddy@recompile.se-20230207230333-5halrp7943pgb3w1
Server: Bug fix: Stagger checker runs when creating clients

* mandos (Client.enable()): Do not set self.expires here; move it to
  "init_checker".
  (Client.init_checker()): Take new "randomize_start" argument.  If
  True, randomize delay before starting checker.  Also, do not start
  checker right now, but instead extend expire time so that the
  scheduled checker always has time to run.
  (Checker.start_checker): Take new "start_was_randomized" argument.
  If True, reset scheduled checker runs to be 'interval' apart,
  instead of using the initial delay.  (Bug fix)
  (main): On startup, pass argument randomize_start=True to
  client.init_checker() when initizlizing checkers for all enabled
  clients.

Reported-by: Louis Charreau <Louis.Charreau@vadesecure.com>
Suggested-by: Louis Charreau <Louis.Charreau@vadesecure.com>
Fixes: 1200 ("Server: Stagger checker runs when creating clients")
Filename Latest Rev Last Changed Committer Comment Size
..
de.po 1155 5 years ago Teddy Hogeborn From: Chris Leick <c.leick@vollbio.de> Add German 5.9 KB Diff Download File
en_US.po 1150 5 years ago Teddy Hogeborn Create a debconf translation file * debian/mandos 5.4 KB Diff Download File
es.po 1260 2 years ago Teddy Hogeborn From: Camaleón <noelamac@gmail.com> Add Spanish d 5.8 KB Diff Download File
fr.po 1239 3 years ago Teddy Hogeborn Fix issue with french translation Initial white s 5.9 KB Diff Download File
nl.po 1194 4 years ago teddy at recompile From: Frans Spiesschaert <Frans.Spiesschaert@yucom 5.8 KB Diff Download File
POTFILES.in 1128 5 years ago Teddy Hogeborn Add debconf translation support * debian/mandos-c 93 bytes Diff Download File
pt.po 1180 5 years ago Teddy Hogeborn From: Américo Monteiro <a_monteiro@gmx.com> Add P 5.7 KB Diff Download File
sv.po 1157 5 years ago Teddy Hogeborn Add Swedish debconf translation * debian/po/sv.po 5.7 KB Diff Download File
templates.pot 1150 5 years ago Teddy Hogeborn Create a debconf translation file * debian/mandos 3.5 KB Diff Download File