1. 09 Feb, 2018 1 commit
  2. 08 Feb, 2018 3 commits
  3. 04 Feb, 2018 1 commit
  4. 04 Jan, 2018 2 commits
  5. 03 Jan, 2018 4 commits
  6. 02 Jan, 2018 1 commit
  7. 05 Dec, 2017 1 commit
  8. 18 Nov, 2017 3 commits
  9. 14 Nov, 2017 1 commit
  10. 11 Oct, 2017 1 commit
  11. 29 Sep, 2017 3 commits
    • Olaf Meeuwissen's avatar
    • 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
  12. 09 Sep, 2017 1 commit
  13. 07 Sep, 2017 1 commit
  14. 01 Sep, 2017 4 commits
  15. 31 Aug, 2017 2 commits
  16. 20 Aug, 2017 1 commit
  17. 18 Aug, 2017 1 commit
  18. 17 Aug, 2017 1 commit
  19. 12 Aug, 2017 2 commits
  20. 29 Jul, 2017 2 commits
  21. 27 Jul, 2017 1 commit
  22. 22 Jul, 2017 3 commits