New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26675 (assigned enhancement)

Opened 3 years ago

Last modified 3 years ago

wireshark 1.4.0: add variant +setuid_root to install dumpcap as setuid root

Reported by: michael.klein@… Owned by: ricci@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: haspatch Cc: opendarwin.org@…
Port: wireshark

Description

To allow a ordinary users to start capturing packets in wireshark right away, it would be nice if the dumpcap binary could be installed as setuid root. This feature is already present in wireshark's configure script (--enable-setuid-install).

Attached is a patch that adds a +setuid_root variant to the Portfile.

Regards, Michael

Attachments

wireshark+setuid_root.diff (395 bytes) - added by michael.klein@… 3 years ago.
Portfile patch

Change History

Changed 3 years ago by michael.klein@…

Portfile patch

comment:1 Changed 3 years ago by ricci@…

  • Status changed from new to assigned
  • Owner changed from macports-tickets@… to ricci@…

The solution in #26293 is preferable (make /dev/bpf* readable by members of the admin group), is there a reason that won't work for you?

comment:2 Changed 3 years ago by michael.klein@…

I guess #26293 would also work for me (haven't seen it before).

May I ask why you think #26293 is preferable? IMHO both solutions have their own pros and cons.

Michael

Note: See TracTickets for help on using tickets.