Comment 1 for bug 397836

Revision history for this message
Greg Copenhaver (greg-gcopenhaver) wrote :

Try this for python-scapy 2.0.0.5-1:

>>> from scapy.all import *

I first looked at scapy yesterday, using python-scapy 1.1.1-3 on Ubuntu Server 8.04.3. All that required was:
>>> from scapy import *

Then when I went to my other machines running Ubuntu 9.04, I installed python-scapy, and I could import it like that. Then I found this bug, and then shortly after I found that scapy was changed a little.

Scapy also comes with an executable:
/usr/bin/scapy

Which you can run by typing:
sudo scapy

(You need sudo to create raw packets)