requirement of root privileges for libpcap functions

前端 未结 3 1337
孤独总比滥情好
孤独总比滥情好 2021-01-15 03:26

The pcap_lookupdev() fills in the errbuf variable when run as non-root user, while the same functions returns the value of the first available network interface

3条回答
  •  太阳男子
    2021-01-15 04:14

    Many of the pcap functions require root privileges in order to work correctly. Might this be the problem?

提交回复
热议问题