Ticket #166 (closed defect: fixed)
Scapy crashes on Windows Vista with the "scapy version" pypcap
| Reported by: | scapy.20.elimis@… | Owned by: | anonymous |
|---|---|---|---|
| Priority: | critical | Milestone: | scapy 2.2 |
| Component: | Scapy | Version: | 1.1.1 |
| Keywords: | windows, vista | Cc: |
Description
(For the record, I'm using Python 2.5.2, running on Windows Vista Home Edition).
I followed the installation guide for installing Scapy on Windows, including downloading and installing a special version of PyPcap? (supposedly because of bugs in PyPcap? preventing parts of Scapy from working).
Unfortunately, Scapy crashed every time I tried to sniff packets from my network (nothing fancy, just called "sniff(1) or some such). More specifically, when I did this, my Python.exe crashed (no convenient error message, unfortunately).
I just tried installing the regular, non-patched version of PyPcap?, and while I haven't messed around with Scapy too much (I'm a new user anyway), it is now at least allowing me to sniff my network without crashing.
Note: Before installing the original pypcap, I tried doing: import pcap p = pcap.pcap() p.setfiler("icmp")
This alone (without importing Scapy or anything) caused Python to crash. Of course, after installing the regular pypcap, it started working fine.
Anyways, hope the description was clear, I should be reachable at my email if anybody needs any further info.
DASH