-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac下面执行没有任何输出 #5
Comments
我也是一样的问题 |
和wireshark等抓包原理相似,指定端口,设备(lo0,en0,en1等),这2点只要正确即可。
|
本地服务都是以0.0.0.0:port运行 无法启动监控 |
$ go-sniffer --dev 首先看一下设备对应的ip |
确认过参数无误,--dev 结果正常, ip显示内网ip go-sniffer 启动监控就退出 |
|
应该输出提示信息
使用mysql -h127.0.0.1 -uroot -p 测试Query乱码后再没有输出 |
之后加一下 权限判断 ,thx 辛苦 |
ubuntu18.04安装前需要安装libpcap-dev才能安装成功,说明文档没有写,不安装时会缺少pcap.h。还有就是执行时需要root权限才能执行,否则直接闪退 |
thx 反馈 我更新一下文档 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mac系统 0.14 (18A391)
go 版本: go version go1.11.1 darwin/amd64
执行命令:
go-sniffer lo0 redis
The text was updated successfully, but these errors were encountered: