On Sun, Jan 02, 2011 at 02:52:04AM +0100, Javier Fernández-Sanguino Peña wrote:
> To fix these inconsistencies, please find the attached patch (some of its
> contents have already been submitted upstream).

Again I forgot to attach the patch, here it is now.

Regards

Javier

diff -Nru daemonlogger-1.2.1.orig/debian/control daemonlogger-1.2.1/debian/control
--- daemonlogger-1.2.1.orig/debian/control	2011-01-02 02:34:10.997786644 +0100
+++ daemonlogger-1.2.1/debian/control	2011-01-02 02:41:18.417357763 +0100
@@ -14,8 +14,8 @@
  incredibly useful for network security analysts.
  .
  It is capable of operating in two modes: sniffing packets and
- logging them directly to disk (files are automatically rolled over
- after 1GB of data), or in a "soft-tap" mode where it mirrors packets
+ logging them directly to disk (files are automatically rolled when
+ reaching a set size), or in a "soft-tap" mode where it mirrors packets
  on another interface.
  .
  Daemonlogger can be run either in the foreground or in the background
diff -Nru daemonlogger-1.2.1.orig/debian/patches/default_rollover.diff daemonlogger-1.2.1/debian/patches/default_rollover.diff
--- daemonlogger-1.2.1.orig/debian/patches/default_rollover.diff	1970-01-01 01:00:00.000000000 +0100
+++ daemonlogger-1.2.1/debian/patches/default_rollover.diff	2011-01-02 02:50:31.729361921 +0100
@@ -0,0 +1,22 @@
+--- a/daemonlogger.c
++++ b/daemonlogger.c
+@@ -1223,7 +1223,7 @@
+                     if(endptr == optarg)
+                     {
+                         fprintf(stderr, "Bad rollover size, defaulting to 2GB\n");
+-                        rollsize = GIGABYTE;
++                        rollsize = 2*GIGABYTE;
+                     }
+                 }
+                 else
+--- a/README
++++ b/README
+@@ -8,7 +8,7 @@
+ 
+ 1) It sniffs packets and spools them straight to the disk and can daemonize 
+ itself for background packet logging.  By default the file rolls over when 
+-1 GB of data is logged.
++2 GB of data is logged.
+ 
+ 2) It sniffs packets and rewrites them to a second interface, essentially 
+ acting as a soft tap.  It can also do this in daemon mode.
diff -Nru daemonlogger-1.2.1.orig/debian/patches/series daemonlogger-1.2.1/debian/patches/series
--- daemonlogger-1.2.1.orig/debian/patches/series	2011-01-02 02:34:10.853785979 +0100
+++ daemonlogger-1.2.1/debian/patches/series	2011-01-02 02:40:37.494355990 +0100
@@ -1,2 +1,3 @@
 00-dumbnet 
 01-makefile 
+default_rollover.diff

Attachment: signature.asc
Description: Digital signature

Reply via email to