Wireshark-bugs: [Wireshark-bugs] [Bug 10247] New: Configure --enable-setcap-install does not set

Date: Wed, 02 Jul 2014 08:11:39 +0000
Bug ID 10247
Summary Configure --enable-setcap-install does not set capabilities of dumpcap on install
Classification Unclassified
Product Wireshark
Version 1.10.8
Hardware x86-64
OS Ubuntu
Status UNCONFIRMED
Severity Normal
Priority Low
Component Extras
Assignee [email protected]
Reporter [email protected]

Build Information:
wireshark 1.10.8 (Git Rev Unknown from unknown)

Copyright 1998-2014 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.24.23, with Cairo 1.13.1, with Pango 1.36.3, with
GLib 2.40.0, with libpcap, with libz 1.2.8, with POSIX capabilities (Linux),
with libnl 1, with SMI 0.4.8, with c-ares 1.10.0, with Lua 5.2, without Python,
with GnuTLS 2.12.23, with Gcrypt 1.5.3, with MIT Kerberos, without GeoIP, with
PortAudio <= V18, without AirPcap.

Running on Linux 3.15.0-031500-generic, with locale en_US.UTF-8, with libpcap
version 1.5.3, with libz 1.2.8, GnuTLS 2.12.23, Gcrypt 1.5.3.
Intel(R) Core(TM) i3 CPU       M 380  @ 2.53GHz

Built using gcc 4.8.2.
--
After launching 

$./configure --prefix=/home/user/bin/wireshark-1.10.8 --enable-setcap-install
--with-ssl && make install

on Ubuntu 14.04 I get dumpcap without any capabilities : 

$ ls -l ~/bin/wireshark-1.10.8/bin
-rwxr-xr-x 1 user user 145K lip  2 03:08 capinfos
-rwxr-xr-x 1 user user  41K lip  2 03:08 dftest
-rwxr-x--x 1 user user 327K lip  2 03:08 dumpcap
-rwxr-xr-x 1 user user 177K lip  2 03:08 editcap
-rwxr-xr-x 1 user user  59K lip  2 03:08 mergecap
-rwxr-xr-x 1 user user  34K lip  2 03:08 randpkt
-rwxr-xr-x 1 user user 367K lip  2 03:08 rawshark
-rwxr-xr-x 1 user user  30K lip  2 03:08 reordercap
-rwxr-xr-x 1 user user 119K lip  2 03:08 text2pcap
-rwxr-xr-x 1 user user 1.3M lip  2 03:08 tshark
-rwxr-xr-x 1 user user 8.9M lip  2 03:08 wireshark
$ getcap dumpcap
$

when I set it manually it works fine

$sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' dumpcap

after that I can run wireshark which will the the interfaces.


You are receiving this mail because:
  • You are watching all bug changes.