Debian Bug report logs - #545985
pcaputils: IWBN to have an option to run a program after file rotation in pcapdump

version graph

Package: pcaputils; Maintainer for pcaputils is Robert S. Edmonds <edmonds@debian.org>; Source for pcaputils is src:pcaputils (PTS, buildd, popcon).

Reported by: Stephane Bortzmeyer <bortzmeyer@generic-nic.net>

Date: Thu, 10 Sep 2009 13:51:01 UTC

Severity: wishlist

Found in version pcaputils/0.8-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, edmonds@debian.org (Robert S. Edmonds):
Bug#545985; Package pcaputils. (Thu, 10 Sep 2009 13:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Stephane Bortzmeyer <bortzmeyer@generic-nic.net>:
New Bug report received and forwarded. Copy sent to edmonds@debian.org (Robert S. Edmonds). (Thu, 10 Sep 2009 13:51:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Stephane Bortzmeyer <bortzmeyer@generic-nic.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pcaputils: IWBN to have an option to run a program after file rotation in pcapdump
Date: Thu, 10 Sep 2009 15:44:57 +0200
Package: pcaputils
Version: 0.8-1
Severity: wishlist


It would be nice to have an option of pcapdump to run a given program
after the file rotation, with the name of the file being passed as a
parameter to the program.

I suggest to name the option -k (to kick in, I presume), after the
similar option of dnscap. I quote dnscap's man page:

     -k cmd      After each dump file specified by -w is closed, this command
                 will be executed in a nonblocking subprocess with the file
                 name as its one argument.  It's expected that this command
                 will be a shell script that submits the finished file to a
                 batch processing analytics system.  Note that without -k, the
                 program will exit at the first output closure due to -c or
                 -t.

Security note: pcapdump typically runs as root. Either we need another
option, to switch to another user before running the program, or we
simply decide that root, being a Big Boy, checks the program before
running pcapdump -k.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages pcaputils depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  libjudydebian1                1.0.5-1    C library for creating and accessi
ii  libpcap0.8                    1.0.0-2    system interface for user-level pa

pcaputils recommends no packages.

pcaputils suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, edmonds@debian.org (Robert S. Edmonds):
Bug#545985; Package pcaputils. (Thu, 17 Sep 2009 13:06:10 GMT) (full text, mbox, link).


Acknowledgement sent to Stephane Bortzmeyer <bortzmeyer@nic.fr>:
Extra info received and forwarded to list. Copy sent to edmonds@debian.org (Robert S. Edmonds). (Thu, 17 Sep 2009 13:06:14 GMT) (full text, mbox, link).


Message #10 received at 545985@bugs.debian.org (full text, mbox, reply):

From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: 545985@bugs.debian.org
Subject: Possible implementation
Date: Thu, 17 Sep 2009 14:57:11 +0200
[Message part 1 (text/plain, inline)]
No warranty, of course, use at will.
[pcaputils-kick.patch (text/x-diff, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jun 26 12:23:34 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.