[Slackbuilds-users] Suggestion: add some additional remarks for wireshark installation/upgrade

Luiz Carlos Ramos lramos.prof at yahoo.com.br
Sun Oct 27 15:45:57 UTC 2019


Willy,

I usually update packages manually running commands by hand, and when I
have to update wireshark, there are some additional operations I do in
my installation.

As it may be of benefit for others, I'd like to share them. If you'll
find them interesting, you can add to the package.

Follows a patch with that remarks, to be applied on the README file.

Many thanks,

Luiz Ramos
lramos dot prof at yahoo dot com dot br
Sao Paulo - Brazil


P.S.: I've sent one email in the beginning of October which possibly
didn't reach the recipients. Interestingly, it was not replied by the
list even to my box, but it appears in the archives (and it was the
second of two emails sent at the same day; the first one had no
problems). If you'd like to check if there's anything wrong, you can
refer to:

https://lists.slackbuilds.org/pipermail/slackbuilds-users/2019-October/023414.html


>From ff8543d78c9b39c48d2dccd6440b8771d5f45c1d Mon Sep 17 00:00:00 2001
From: Luiz Ramos <lramos.prof at yahoo.com.br>
Date: Sun, 27 Oct 2019 12:16:59 -0300
Subject: [PATCH] network/wireshark: add notes about post-installation/upgrade

Some notes were added in the README file suggesting things that can be
made after installation/upgrade of wireshark.
---
 network/wireshark/README | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/network/wireshark/README b/network/wireshark/README
index 65c3490f74..846be286bf 100644
--- a/network/wireshark/README
+++ b/network/wireshark/README
@@ -18,6 +18,26 @@ start wireshark as a normal user, while still providing it with all of the
 access permissions it requires, is by issuing the following command:
   $ setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
 
+One may also test if things are ok running this command as a normal user:
+
+  $ dumpcap -L
+
+You may also create a special group (wireshark) and include users allowed
+to monitor networks in that group:
+
+  $ sudo /bin/sh
+  # groupadd wireshark
+  # usermod -a -G wireshark ${user1}
+  # usermod -a -G wireshark ${user2}
+  ...
+  # chgrp wireshark /usr/bin/dumpcap
+  # chmod 750 /usr/bin/dumpcap
+  # setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
+  $ newgrp wireshark
+
+Other users not in the group wireshark can still open files with previously
+saved monitorings and inspect them.
+
 You will need to remove any already-installed wireshark package before 
 building this one or else the new one will not work (the new build will
 link libraries present in the old package, which will then be removed 
-- 
2.14.5



More information about the SlackBuilds-users mailing list