Bug#793479: tcpdump: tcpdump prints dropped privs to user message to stdout, should be stderr

2015-07-31 Thread Romain Francoise
On Sat, Jul 25, 2015 at 11:23:09PM +0200, Hilko Bengen wrote:
 If we can agree on important, that should be enough to get it fixed
 for the next point release.

Ok, I downgraded this bug to 'important'.

-- 
Romain Francoise rfranco...@debian.org
http://people.debian.org/~rfrancoise/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#793479: tcpdump: tcpdump prints dropped privs to user message to stdout, should be stderr

2015-07-25 Thread Hilko Bengen
* Romain Francoise:

 Hi,

 On Fri, Jul 24, 2015 at 01:57:29PM +0200, Hilko Bengen wrote:
 I have been using tcpdump like this for ages:

 /usr/sbin/tcpdump -Z $user -S0 -p -n U -B $bufsz -i $iface -w - $rule

 [...]

 Post-processing of the resulting streams broke after upgrading to jessie
 because tcpdump prints that bit of information about dropping privileges
 to standard output.

 Hmm, that's unfortunate, and the fix is trivial enough that I can
 probably get it into stable for the next point release.

That would be great, thank you.

 However, I don't agree with the severity of this bug. Your use case is
 quite atypical.

If we can agree on important, that should be enough to get it fixed
for the next point release.

Cheers,
-Hilko


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#793479: tcpdump: tcpdump prints dropped privs to user message to stdout, should be stderr

2015-07-24 Thread Romain Francoise
Hi,

On Fri, Jul 24, 2015 at 01:57:29PM +0200, Hilko Bengen wrote:
 I have been using tcpdump like this for ages:

 /usr/sbin/tcpdump -Z $user -S0 -p -n U -B $bufsz -i $iface -w - $rule

 [...]

 Post-processing of the resulting streams broke after upgrading to jessie
 because tcpdump prints that bit of information about dropping privileges
 to standard output.

Hmm, that's unfortunate, and the fix is trivial enough that I can
probably get it into stable for the next point release.

However, I don't agree with the severity of this bug. Your use case is
quite atypical.

-- 
Romain Francoise rfranco...@debian.org
http://people.debian.org/~rfrancoise/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#793479: tcpdump: tcpdump prints dropped privs to user message to stdout, should be stderr

2015-07-24 Thread Hilko Bengen
Package: tcpdump
Version: 4.6.2-5
Severity: grave
Control: fixed -1 4.7.4-1
Control: tag -1 jessie

I have been using tcpdump like this for ages:

/usr/sbin/tcpdump -Z $user -S0 -p -n U -B $bufsz -i $iface -w - $rule

The important thing here is that tcpdump drops privileges to $user and
writes the pcap file to standard output ... which gets piped to another
process.

Post-processing of the resulting streams broke after upgrading to jessie
because tcpdump prints that bit of information about dropping privileges
to standard output.

This has been fixed in 4.7.4-1 currently part of stretch. Since a
backport of that is available via jessie-backports, I'm going to use
that on the machines affected.

Cheers,
-Hilko


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org