1

How do I even install ngrep on mac os x? I tried with brew, no avail... It gives me errors when I use ngrep but when I use sngrep it gives me more errors ): (it seems like progress though)

Unable to handle linktype 149
With command
sudo sngrep -d any '.flv' port 80
With ngrep error:
interface: any
exit
0 received, 0 dropped

What can I do to fix this?

sschale
  • 5,168
  • 3
  • 29
  • 36
Noble
  • 51
  • 10

1 Answers1

1

Not exactly an answer but recently I wanted to use ngrep also, had some issues then brew install'd wireshark. After it installed I got a message like this:

If your list of available capture interfaces is empty (default OS X behavior), try installing ChmodBPF from homebrew cask:

brew cask install wireshark-chmodbpf

This creates an 'access_bpf' group and adds a launch daemon that changes the permissions of your BPF devices so that all users in that group have both read and write access to those devices.

I wonder if this "chmodbpf" thing would be helpful to you, perhaps there is an ngrep version of it?

Btw I'm on OSX Yosemite (whatever's latest I think it's named Yosemite).

Randy L
  • 14,384
  • 14
  • 44
  • 73