* [gentoo-user] Wireshark on Gentoo
@ 2009-01-26 18:25 Grant
2009-01-26 18:38 ` Dale
0 siblings, 1 reply; 6+ messages in thread
From: Grant @ 2009-01-26 18:25 UTC (permalink / raw
To: Gentoo mailing list
I'm confused on how to run wireshark on Gentoo. The ebuild says:
* With version 0.99.7, all function calls that require elevated privileges
* have been moved out of the GUI to dumpcap. WIRESHARK CONTAINS OVER ONE
* POINT FIVE MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT.
*
* NOTE: To run wireshark as normal user you have to add yourself into
* wireshark group. This security measure ensures that only trusted
* users allowed to sniff your traffic.
I added my user to the wireshark group, but there are no interfaces
listed in the program. I read:
http://wiki.wireshark.org/CaptureSetup/CapturePrivileges
"Running Wireshark (or any other network capture/analyzer, for that
matter) on Linux needs root privileges. Therefore, you have to have
root privileges when starting Wireshark, else you can't capture data."
I'm not sure how to proceed.
- Grant
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Wireshark on Gentoo
2009-01-26 18:25 [gentoo-user] Wireshark on Gentoo Grant
@ 2009-01-26 18:38 ` Dale
2009-01-26 20:25 ` Grant
0 siblings, 1 reply; 6+ messages in thread
From: Dale @ 2009-01-26 18:38 UTC (permalink / raw
To: gentoo-user
Grant wrote:
> I'm confused on how to run wireshark on Gentoo. The ebuild says:
>
> * With version 0.99.7, all function calls that require elevated privileges
> * have been moved out of the GUI to dumpcap. WIRESHARK CONTAINS OVER ONE
> * POINT FIVE MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT.
> *
> * NOTE: To run wireshark as normal user you have to add yourself into
> * wireshark group. This security measure ensures that only trusted
> * users allowed to sniff your traffic.
>
> I added my user to the wireshark group, but there are no interfaces
> listed in the program. I read:
>
> http://wiki.wireshark.org/CaptureSetup/CapturePrivileges
>
> "Running Wireshark (or any other network capture/analyzer, for that
> matter) on Linux needs root privileges. Therefore, you have to have
> root privileges when starting Wireshark, else you can't capture data."
>
> I'm not sure how to proceed.
>
> - Grant
>
>
>
Works as a user here. Here is some info to compare against.
root@smoker / # emerge -pv wireshark
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-analyzer/wireshark-1.0.5 USE="caps gtk ipv6 pcap
pcre zlib -adns -gcrypt -gnutls -kerberos -lua -portaudio -profile
(-selinux) -smi -threads" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
root@smoker / # cat /etc/group | grep wireshark
wireshark:x:444:dale
root@smoker / #
Hope that helps.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Wireshark on Gentoo
2009-01-26 18:38 ` Dale
@ 2009-01-26 20:25 ` Grant
2009-01-26 22:03 ` Marc Joliet
0 siblings, 1 reply; 6+ messages in thread
From: Grant @ 2009-01-26 20:25 UTC (permalink / raw
To: gentoo-user
>> I'm confused on how to run wireshark on Gentoo. The ebuild says:
>>
>> * With version 0.99.7, all function calls that require elevated privileges
>> * have been moved out of the GUI to dumpcap. WIRESHARK CONTAINS OVER ONE
>> * POINT FIVE MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT.
>> *
>> * NOTE: To run wireshark as normal user you have to add yourself into
>> * wireshark group. This security measure ensures that only trusted
>> * users allowed to sniff your traffic.
>>
>> I added my user to the wireshark group, but there are no interfaces
>> listed in the program. I read:
>>
>> http://wiki.wireshark.org/CaptureSetup/CapturePrivileges
>>
>> "Running Wireshark (or any other network capture/analyzer, for that
>> matter) on Linux needs root privileges. Therefore, you have to have
>> root privileges when starting Wireshark, else you can't capture data."
>>
>> I'm not sure how to proceed.
>>
>> - Grant
>>
>>
>>
>
>
> Works as a user here. Here is some info to compare against.
>
> root@smoker / # emerge -pv wireshark
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild R ] net-analyzer/wireshark-1.0.5 USE="caps gtk ipv6 pcap
> pcre zlib -adns -gcrypt -gnutls -kerberos -lua -portaudio -profile
> (-selinux) -smi -threads" 0 kB
>
> Total: 1 package (1 reinstall), Size of downloads: 0 kB
> root@smoker / # cat /etc/group | grep wireshark
> wireshark:x:444:dale
> root@smoker / #
>
> Hope that helps.
>
> Dale
Thanks Dale, my stuff is very similar to your's. I don't know why it
isn't finding eth0 and wlan0 (USB wireless). I'll ask on the hardened
list in case it's a hardened issue.
- Grant
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Wireshark on Gentoo
2009-01-26 20:25 ` Grant
@ 2009-01-26 22:03 ` Marc Joliet
2009-01-26 22:11 ` Dale
2009-01-26 22:20 ` Grant
0 siblings, 2 replies; 6+ messages in thread
From: Marc Joliet @ 2009-01-26 22:03 UTC (permalink / raw
To: Gentoo-User ML
[-- Attachment #1: Type: text/plain, Size: 558 bytes --]
Am Mon, 26 Jan 2009 12:25:33 -0800
schrieb Grant <emailgrant@gmail.com>:
[...]
>
> Thanks Dale, my stuff is very similar to your's. I don't know why it
> isn't finding eth0 and wlan0 (USB wireless). I'll ask on the hardened
> list in case it's a hardened issue.
>
> - Grant
This is only a guess, but maybe you didn't log out and log back in
again. That is required for the new group membership to take affect.
--
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Wireshark on Gentoo
2009-01-26 22:03 ` Marc Joliet
@ 2009-01-26 22:11 ` Dale
2009-01-26 22:20 ` Grant
1 sibling, 0 replies; 6+ messages in thread
From: Dale @ 2009-01-26 22:11 UTC (permalink / raw
To: gentoo-user
Marc Joliet wrote:
> Am Mon, 26 Jan 2009 12:25:33 -0800
> schrieb Grant <emailgrant@gmail.com>:
>
> [...]
>
>> Thanks Dale, my stuff is very similar to your's. I don't know why it
>> isn't finding eth0 and wlan0 (USB wireless). I'll ask on the hardened
>> list in case it's a hardened issue.
>>
>> - Grant
>>
>
> This is only a guess, but maybe you didn't log out and log back in
> again. That is required for the new group membership to take affect.
>
>
Yep, sure is. I did that once. Let's just say I slapped my own
forehead. LOL
Good thing to try.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Wireshark on Gentoo
2009-01-26 22:03 ` Marc Joliet
2009-01-26 22:11 ` Dale
@ 2009-01-26 22:20 ` Grant
1 sibling, 0 replies; 6+ messages in thread
From: Grant @ 2009-01-26 22:20 UTC (permalink / raw
To: gentoo-user
> [...]
>>
>> Thanks Dale, my stuff is very similar to your's. I don't know why it
>> isn't finding eth0 and wlan0 (USB wireless). I'll ask on the hardened
>> list in case it's a hardened issue.
>>
>> - Grant
>
> This is only a guess, but maybe you didn't log out and log back in
> again. That is required for the new group membership to take affect.
Yeah that was exactly it. Sorry everyone, I'll take a time-out.
- Grant
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-01-26 22:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 18:25 [gentoo-user] Wireshark on Gentoo Grant
2009-01-26 18:38 ` Dale
2009-01-26 20:25 ` Grant
2009-01-26 22:03 ` Marc Joliet
2009-01-26 22:11 ` Dale
2009-01-26 22:20 ` Grant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox