/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
..
ask-password-mandos.path 1127 4 years ago Teddy Hogeborn Add dracut(8) support Add support for the dracut( 1.8 KB Diff Download File
ask-password-mandos.service 1218 3 years ago teddy at recompile Update copyright year * DBUS-API: Update copyrigh 2.2 KB Diff Download File
File cmdline-mandos.sh 1127 4 years ago Teddy Hogeborn Add dracut(8) support Add support for the dracut( 2.8 KB Diff Download File
File module-setup.sh 1201 4 years ago teddy at recompile Allow users to alter ask-password-mandos.service 7.7 KB Diff Download File
password-agent.c 1267 1 year ago Teddy Hogeborn Improve POSIX shell compatibility * dracut-module 266 KB Diff Download File
password-agent.xml 1259 2 years ago Teddy Hogeborn Update copyright year * debian/copyright: Update 14.5 KB Diff Download File