xfangfang / PPPwn_cpp

C++ rewrite of PPPwn (PlayStation 4 PPPoE RCE)
GNU General Public License v3.0
350 stars 48 forks source link

Failed to set direction for capturing packets #16

Closed DJTOMATO closed 1 month ago

DJTOMATO commented 1 month ago

[ERROR: \build_deps\pcapplusplus-src\Pcap++\src\PcapLiveDevice.cpp: doOpen:286] Failed to set direction for capturing packets, error code: '-1', error message: 'Setting direction is not supported on this device' [ERROR: \build_deps\pcapplusplus-src\Pcap++\src\PcapLiveDevice.cpp: doOpen:286] Failed to set direction for capturing packets, error code: '-1', error message: 'Setting direction is not supported on this device'

Both with network pci card and usb card, windows, using npcap 1.79

paulloeduardo commented 1 month ago

i have

[ERROR: /home/runner/work/PPPwn_cpp/PPPwn_cpp/build/_deps/pcapplusplus-src/Pcap++/src/PcapLiveDevice.cpp: doOpen:286] Failed to set direction for capturing packets, error code: '-1', error message: 'Setting direction is not supported on this device' [ERROR: /home/runner/work/PPPwn_cpp/PPPwn_cpp/build/_deps/pcapplusplus-src/Pcap++/src/PcapLiveDevice.cpp: doOpen:286] Failed to set direction for capturing packets, error code: '-1', error message: 'Setting direction is not supported on this device'

xfangfang commented 1 month ago

Having updated the code.

npcap does not support the direction filter of packets, however, this will not result in any issues. Ideally, this configuration should have been removed during the build for Windows, but a minor oversight on my part led to this option remaining enabled under Windows.