Running Scapy on Windows with Python 2.7

Intrusive update: please note that this answer is outdated, with recent versions (>=2.4.0) scapy will ONLY require Npcap (or Winpcap) to work, and IPython for the console. Have a look at the official windows page In case someone needs Scapy for 64-bit + Python 2.7, I’ve uploaded the binaries here: https://github.com/Kondziowy/scapy_win64 dnet-1.12.win-amd64-py2.7.exe pcap-1.1.win-amd64-py2.7.exe scapy-2.2.0.win-amd64.exe In … Read more

Unwanted RST TCP packet with Scapy

The article you cited makes this pretty clear… Since you are not completing the full TCP handshake your operating system might try to take control and can start sending RST (reset) packets, to avoid this we can use iptables: iptables -A OUTPUT -p tcp –tcp-flags RST RST -s 192.168.1.20 -j DROP Essentially, the problem is … Read more