add chmod o+r /dev/bpf somewhere
samatt opened this issue · comments
also:
sudo sysctl -w net.inet.ip.forwarding=1
sudo sysctl -w net.inet.ip.fw.enable=1
maybe using https://www.npmjs.com/package/electron-sudo
Packet sniffing made simple
samatt opened this issue · comments
also:
sudo sysctl -w net.inet.ip.forwarding=1
sudo sysctl -w net.inet.ip.fw.enable=1
maybe using https://www.npmjs.com/package/electron-sudo