goscan icon indicating copy to clipboard operation
goscan copied to clipboard

osx bug

Open joeblew99 opened this issue 8 years ago • 2 comments

x-MacBook-Pro:main apple$ sudo ./main Password: INFO[0000] 本机ip:172.16.238.99
INFO[0000] 内网IP范围:172.16.0.0 --- 172.16.255.255
FATA[0000] pcap打开失败:en0: (cannot open BPF device) /dev/bpf0: Too many open files FATA[0000] pcap打开失败:en0: (cannot open BPF device) /dev/bpf0: Too many open files

joeblew99 avatar Nov 09 '17 19:11 joeblew99

The maximum number of devices(bpf file descriptor) that can be created is 256 default. You can setting this using sysctl debug.bpf_maxdevices=xxx . And I will using thread pool to fix this issue.

timest avatar Nov 12 '17 07:11 timest

刚开始学 go 在下载依赖包的过程简直痛苦,golang.org 无法访问 只能手动从 github.com 克隆,然后拷贝到 $GOPATH 下 不过跑起来还是挺厉害的,给你👍 运行效果如图 https://www.jianguoyun.com/p/DRVxM-4QgO-uBhiz3zo

albertofwb avatar Nov 20 '17 12:11 albertofwb