This was reported to Homebrew in Homebrew/homebrew-core#14669 and does not appear to affect 0.87, which the previous version we had before recently updating the formula. Tested on macOS 10.12.5 and built with Xcode 8.3.2. bash-3.2$ sudo ...
其实伴随着Failure to open IPv4 sockets: Operation not permitted错误的同时,还出现了mtr: Failure to start mtr-packet: Invalid argument如下图, image 我百度到了v2ex上一个出现类似错误的帖子,不过没去尝试里面的方法, 后来我看到permitted的时候忽然想到了permission。 解决 加了个sudo在mtr命令前面就解决了问题...
Public bug reported: Since I have upgraded my system from 18.04 to 18.10, I was unable to use mtr without root privilege. $ mtr 9.9.9.9 Failure to open IPv4 sockets: Operation not permitted Failure to open IPv6 sockets: Operation not permitted mtr: Failure to start mtr-packet: Invalid ar...