Bonjour,
Je suis en train de développer un application qui tente à sniffer des packets d'un traffic
La méthode findalldevs() ne me permet pas de trouver otutes les interfaces(devices), en cherchant j'ai touvé ce lien http://linux.die.net/man/3/pcap
"there may be network devices that cannot be opened with pcap_open_live() by the process calling pcap_findalldevs(), because, for example, that process might not have sufficient privileges to open them for capturing; if so, those devices will not appear on the list."
Dans ce cas que serait la solution pour touver et ouvrir l'interface pour l'écout? sachant que je connais osn adresse ip
Merci énormément pour toute aide
Partager