nixpkgs/pkgs/applications
Bjørn Forsman a70197a653 wireshark: add patch to lookup "dumpcap" in PATH
What this allows us to do is define a "dumpcap" setuid wrapper in NixOS
and have wireshark use that instead of the non-setuid dumpcap binary
that it normally uses.

As far as I can tell, the code that is changed to do lookup in PATH is
only used by wireshark/tshark to find dumpcap. dumpcap, the thing that's
typically setuid, is not affected by this patch. wireshark and tshark
should *not* be installed setuid, so the fact that they now do lookup in
PATH is not a security concern.

With this commit, and the following config, only "root" and users in the
"wireshark" group will have access to capturing network traffic with
wireshark/dumpcap:

  environment.systemPackages = [ pkgs.wireshark ];
  security.setuidOwners = [
    { program = "dumpcap";
      owner = "root";
      group = "wireshark";
      setuid = true;
      setgid = false;
      permissions = "u+rx,g+x";
    }
  ];
  users.extraGroups.wireshark.gid = 500;

(This wouldn't have worked before, because then wireshark would not use
our setuid dumpcap binary.)
2014-04-22 21:33:11 +02:00
..
audio Unbreak tarball job 2014-04-18 22:48:12 +02:00
display-managers Ensure that slim's theme applies to slimlock 2014-03-30 19:33:28 +02:00
editors emacsPackages: add cryptol-mode 2014-04-14 18:23:51 -05:00
graphics meshlab: fix build 2014-04-21 11:24:26 +02:00
ike ike: use stdenv.lib.licenses.sleepycat 2014-03-24 19:58:36 -05:00
misc dmenu: Patch in store path to dmenu_run. 2014-04-22 07:22:00 +02:00
networking wireshark: add patch to lookup "dumpcap" in PATH 2014-04-22 21:33:11 +02:00
office Update ledger expression, add myself as a maintainer 2014-04-17 21:47:15 -05:00
science megam: New package 2014-04-15 14:00:56 +01:00
search Adding doodle. 2013-04-22 20:57:14 +04:00
taxes Add aangifte-2013 2014-03-01 16:54:16 +01:00
version-management git send-email: Respect $OPENSSL_X509_CERT_FILE 2014-04-16 18:43:39 +02:00
video miro: Fix desktop schema GSettings path. 2014-04-22 10:32:54 +02:00
virtualization qemu: Update to 1.7.1 2014-04-17 15:54:42 +02:00
window-managers xmonad: fix build with ghc 7.8.1 2014-03-30 16:46:02 +02:00