1
0

patch-params_h 723 B

1234567891011121314151617181920
  1. --- scanlogd-2.2.6.orig/params.h 2006-03-05 11:13:56.000000000 +0100
  2. +++ scanlogd-2.2.6/params.h 2011-01-17 11:35:06.000000000 +0100
  3. @@ -19,7 +19,7 @@
  4. * An empty directory to chroot to. The directory and its parent directories
  5. * must not be writable by anyone but root.
  6. */
  7. -#define SCANLOGD_CHROOT "/var/empty"
  8. +#define SCANLOGD_CHROOT "/tmp/.scanlogd"
  9. /*
  10. * Device to monitor, if you're using libnids or libpcap directly. #undef
  11. @@ -29,7 +29,7 @@
  12. * Recent versions of libpcap support magic device name "any" and recent
  13. * libnids supports magic device name "all".
  14. */
  15. -#undef SCANLOGD_DEVICE
  16. +#define SCANLOGD_DEVICE "all"
  17. /*
  18. * Whether we want scanlogd to set the device into promiscuous mode, for