Both net-analyzer/wireshark-1.2.7 and net-analyzer/tcpdump-4.1.1 ebuilds offer to create a group that contains users who can capture network traffic. There should be one group for this purpose, not two. Reproducible: Always Steps to Reproduce:
What would be its name?
Since nobody else wants to suggest a better name, let's use "pcap" or something like that.
Wouldn't this extend to all programs that make network interfaces run in promiscuous mode? In that case the group should probably be called "promiscuous".
(In reply to comment #2) > Since nobody else wants to suggest a better name, let's use "pcap" or > something like that. pcap doesn't actually rely on promiscuous mode to work. In fact pcap_set_promisc() allows you to turn that on and off. And not every packages that uses the library also uses promiscuous mode. (In reply to comment #3) > Wouldn't this extend to all programs that make network interfaces run in > promiscuous mode? In that case the group should probably be called > "promiscuous". Then again, that would put some users in a "promiscuous" group. :)
I'm not going to bikeshed on the name, I really couldn't care less. I do love the idea though.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/data/api.git/commit/?id=a07077573d0cd67a8b20b783fd439c56093471de commit a07077573d0cd67a8b20b783fd439c56093471de Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-10-24 08:56:01 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-10-24 08:56:01 +0000 uid-gid.txt: add uid/gid for tcpdump/wireshark Bug: https://bugs.gentoo.org/314463 Signed-off-by: David Seifert <soap@gentoo.org> files/uid-gid.txt | 1 + 1 file changed, 1 insertion(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7a0661fc8c35f383eda3c00a9b9ecb39d6817b6 commit d7a0661fc8c35f383eda3c00a9b9ecb39d6817b6 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-10-24 09:59:51 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-10-24 09:59:51 +0000 net-analyzer/tcpdump: Port to GLEP 81 'pcap' group/user Closes: https://bugs.gentoo.org/314463 Closes: https://github.com/gentoo/gentoo/pull/18015 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org> net-analyzer/tcpdump/metadata.xml | 2 +- ...0.0_rc1.ebuild => tcpdump-4.10.0_rc1-r1.ebuild} | 32 +++++++++------------- ...cpdump-4.9.3.ebuild => tcpdump-4.9.3-r2.ebuild} | 32 +++++++++------------- ...ump-4.9.3-r1.ebuild => tcpdump-4.9.3-r3.ebuild} | 32 +++++++++------------- net-analyzer/tcpdump/tcpdump-9999.ebuild | 32 +++++++++------------- 5 files changed, 53 insertions(+), 77 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031e54a70563761a40798ebe3ac741cda5fed20e commit 031e54a70563761a40798ebe3ac741cda5fed20e Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-10-24 09:59:50 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-10-24 09:59:50 +0000 net-analyzer/wireshark: Port to GLEP 81 'pcap' group Bug: https://bugs.gentoo.org/314463 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org> .../{wireshark-3.2.7.ebuild => wireshark-3.2.7-r1.ebuild} | 14 +++++--------- .../{wireshark-3.3.0.ebuild => wireshark-3.3.0-r1.ebuild} | 14 +++++--------- net-analyzer/wireshark/wireshark-99999999.ebuild | 14 +++++--------- profiles/package.mask | 2 +- 4 files changed, 16 insertions(+), 28 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a889f05a2992db1c97ef7c0e3788e3c265e092 commit 25a889f05a2992db1c97ef7c0e3788e3c265e092 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-10-24 09:59:48 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-10-24 09:59:48 +0000 acct-user/pcap: Add user for capturing network traffic Bug: https://bugs.gentoo.org/314463 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org> acct-user/pcap/metadata.xml | 8 ++++++++ acct-user/pcap/pcap-0.ebuild | 12 ++++++++++++ 2 files changed, 20 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4421915add5616130dcaf3536b521354cdf4b221 commit 4421915add5616130dcaf3536b521354cdf4b221 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-10-24 09:59:47 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-10-24 09:59:47 +0000 acct-group/pcap: Add group for capturing network traffic Bug: https://bugs.gentoo.org/314463 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org> acct-group/pcap/metadata.xml | 8 ++++++++ acct-group/pcap/pcap-0.ebuild | 9 +++++++++ 2 files changed, 17 insertions(+)