1. 29 Sep, 2017 2 commits
    • Olaf Meeuwissen's avatar
      saned: Fix typo in help message · f9a76395
      Olaf Meeuwissen authored
      f9a76395
    • Luiz Angelo Daros de Luca's avatar
      saned: reorganize flags, remove run_mode SANED_RUN_DEBUG · 5288dd5f
      Luiz Angelo Daros de Luca authored
      Flags like -a, -d and -s have many overlap effects. This patch restricts
      the effect of flags to a simple action.
      
      New -u (user) flag replaces -a optional argument for running saned as a different user.
      The code that retrieve the user info and drop privileges migrated to runas_user().
      As a side effect, PID file can be created even if getting user info fails.
      
      New -l (listen) flag sets run_mode to standalone.
      New -D (daemonize) flag daemonizes saned after bind.
      New -o (once) make saned exit after the first client disconnects.
      Flag -s (syslog) is gone. Previous behavior can be reproduced with '-a -d level -o -f'.
      New -e (stderr) flag for redirecting output to stderr, instead of syslog.
      
      Flag -d (debug) now only sets the debug level and argument is required. Previous behavior
      can be reproduced with '-a -d level -o -f -e'.
      
      The run_mode SANED_RUN_DEBUG and SANED_RUN_ALONE shared most of its code
      path. With the new flags dealing with their difference, SANED_RUN_DEBUG is gone.
      
      Flag '-a' still works as before but it can be replaced by '-l -D -u user'.
      
      Current uses of -d (debug) or -s (syslog) will break.
      Signed-off-by: Luiz Angelo Daros de Luca's avatarLuiz Angelo Daros de Luca <luizluca@gmail.com>
      5288dd5f
  2. 09 Sep, 2017 1 commit
  3. 07 Sep, 2017 1 commit
  4. 01 Sep, 2017 4 commits
  5. 31 Aug, 2017 2 commits
  6. 20 Aug, 2017 1 commit
  7. 18 Aug, 2017 1 commit
  8. 17 Aug, 2017 1 commit
  9. 12 Aug, 2017 2 commits
  10. 29 Jul, 2017 2 commits
  11. 27 Jul, 2017 1 commit
  12. 22 Jul, 2017 4 commits
  13. 18 Jul, 2017 2 commits
  14. 16 Jul, 2017 1 commit
  15. 15 Jul, 2017 14 commits
  16. 12 Jul, 2017 1 commit