mehrdadrad / mylg

Network Diagnostic Tool
http://mylg.io
MIT License
2.69k stars 231 forks source link

bind.socket: operation not permitted #87

Open sbilly opened 2 years ago

sbilly commented 2 years ago

on my laptop:macbook pro 2021, M1, macOS 12.1

almost every command returns bind.socket: operation not permitted.

# mylg trace 8.8.8.8
bind.socket: operation not permitted

# sudo mylg trace 8.8.8.8
open /var/root/.mylg.config: permission denied
unexpected end of JSON input
bind.socket: operation not permitted

# mylg ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
listen ip4:icmp : socket: operation not permitted icmp_seq=0
listen ip4:icmp : socket: operation not permitted icmp_seq=0
listen ip4:icmp : socket: operation not permitted icmp_seq=0
listen ip4:icmp : socket: operation not permitted icmp_seq=0

--- 8.8.8.8 ping statistics ---
4 packets transmitted,  0 packets received, 100% packet loss

# sudo mylg ping 8.8.8.8
open /var/root/.mylg.config: permission denied
unexpected end of JSON input
PING 8.8.8.8 (8.8.8.8): 56 data bytes
listen ip4:icmp : socket: operation not permitted icmp_seq=0
listen ip4:icmp : socket: operation not permitted icmp_seq=0
listen ip4:icmp : socket: operation not permitted icmp_seq=0
listen ip4:icmp : socket: operation not permitted icmp_seq=0

--- 8.8.8.8 ping statistics ---
4 packets transmitted,  0 packets received, 100% packet loss