THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

how do I configure in read only mode?

I need to configure Wireshark without capture capabilities or privileges. Only decode pcap files from tcpdump. I am looking for a virtual windows installation that requires administrator privileges to install. Can It be installed without Winpcap, npcap, and Usbcap to achieve this?

cristo's avatar
1
cristo
asked 2022-12-28 16:59:11 +0000, updated 2022-12-29 16:15:38 +0000
edit flag offensive 0 remove flag close merge delete

Comments

Disable Capturing Capacity or Just to read the pcap files but no capture option
On what operating system?
Are you interested in compiling yourself and disabling/removing capture from the gui and cli options?

Chuckc's avatar Chuckc (2022-12-28 22:59:30 +0000) edit

Or remove the dumpcap program.

There is no run-time configure option for this.

Guy Harris's avatar Guy Harris (2022-12-29 08:52:36 +0000) edit

On Windows you can use the portable version of Wireshark also -- no admin rights needed to install.

André's avatar André (2022-12-29 10:10:29 +0000) edit
add a comment see more comments

1 Answer

0

For Windows, just run the installer but skip the installation of Npcap by unchecking the option. The option for USBcap is unchecked by default.

Alternatives: uninstall Npcap afterwards, remove dumpcap.exe or use the portable version.

See also Installing Wireshark under Windows, i.e. installer command line options.

André's avatar
176
André
answered 2022-12-29 17:13:20 +0000
edit flag offensive 0 remove flag delete link

Comments

The reason why this doesn't work on UN*Xes is that 1) libpcap is installed by default on most if not all UN*Xes on which Wireshark runs (Linux, *BSD, macOS, Solaris, possibly AIX) and 2) the capture mechanism libpcap uses on those systems is built into the operating system (unlike Windows, where Npcap has to install its own driver).

So there's no equivalent on other platforms. You'd have to manually remove the dumpcap program or rebuild Wireshark from source with packet capturing disabled.

Guy Harris's avatar Guy Harris (2022-12-30 04:09:51 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer