Comments (4)
[EDIT] Have now submitted the change upstream @ Homebrew/homebrew-cask#84455. Once it's merged, it should just be a matter of upgrading to the latest version, but if you can't wait, the manual steps in my previous edit below will still work.
My brew
PR was rejected because there is no official upstream recommendation to do it the way I proposed, so the steps below will have to suffice.
Got it working with Wireshark 3.x as follows:
$ brew uninstall wireshark
$ brew cask uninstall wireshark
$ rm -f /usr/local/bin/wireshark
$ brew cask install wireshark
$ echo '#!/bin/sh
exec /Applications/Wireshark.app/Contents/MacOS/Wireshark "$@"' > /usr/local/bin/wireshark
$ chmod +x /usr/local/bin/wireshark
from ksniff.
Another OSX user here, I could not make ksniff work with Wireshark 3.x, neither manual install nor homebrew packages and casks.
However, the solution for me was to use the latest 2.x release:
- Select your closest mirror from the list https://www.wireshark.org/download.html#spelunking
- Search for the latest 2.x version
- e.g. in Europe, I used https://1.eu.dl.wireshark.org/osx/Wireshark%202.6.15%20Intel%2064.dmg
- mount the dmg
- execute the included installer
- done, no reboot required
from ksniff.
I had this issue when using wireshark installed by homebrew.
I ended up downloading the DMG from wireshark directly, and found that when I opened the DMG it had a file "Add Wireshark to the system path" along with "Install Chmod BPF".
I installed those, restarted my computer and got passed that error.
from ksniff.
Thanks @hendrikmaus. That worked for me as well just as you described.
from ksniff.
Related Issues (20)
- can't execute 'ctr': No such file or directory HOT 3
- can't run in privileged mode
- Openshift 4.10 Mac M1 nsenter: can't execute 'tcpdump': No such file or directory
- sniff on RKE2 fails to create the ksniff pod HOT 2
- Vulnerable 3rd party libs
- Release new version HOT 1
- Add istio inject false label/annotation
- Add ARM linux based static-tcpdump HOT 1
- ksniff failing to create a privileged pod on the node with taints
- Issues running on arm64 HOT 1
- Can ksniff be used for one-time packet captures (~10 min) in production environment for debugging purposes? Apart from clean up of left over pods or containers, what else should I look into after using it for a short pcap?
- cloud storage support for sniff output
- Not able to build static-tcpdump on Ubuntu 22.04 Jammy
- Can we take tcpdump on multiple pods using ksniff ? For an example if a namespace has 4 PODs running can we take TCPDUMP on all the 4 PODs using kubectl sniff -p <pod1> <pod2> <pod3>
- 'kubectl sniff' command returning 139 exit/error code during execution. RCA required for failed attempt at packet capture so that workaround can be identified. HOT 6
- exitCode: '126' when using --tcpdump-image for an airgapped scenario HOT 1
- kubectl sniff fails with certificate error.
- Incorrect Makefile install path for kubectl >= 1.28
- K8S API client 30s timeout: request canceled (Client.Timeout exceeded while awaiting headers)
- ksnif with GKE (cos) capture with privileged (-p) option: Nothing get captured
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksniff.