Skip to main content
spelling, addenda
Source Link
wpns
  • 161
  • 3

I had the same error, but found it doesn't happen reliably, sometimes it fails immediately with:

IndexError: Layer [ARP] not found

and sometimes it runs forever.

Hint: Set count=0 in the print sniff line to have it run forever, count appears to be timeout.

I had initially installed scaryscapy from the website, but ended up doing:

apt-get update
apt-get upgrade
apt-get install tcpdump tcpreplay wireshark python-scapy

and it seems to run just fine when it runs. Not sure I needed all of the above, but python-scalyscapy recommended them (and a bunch of graphics routines) when I installed it.

Addenda: Each time I fiddle with the code the probability that it'll run without crashing changes, so there's something really weird going on.

I had the same error, but found it doesn't happen reliably, sometimes it fails immediately with:

IndexError: Layer [ARP] not found

and sometimes it runs forever.

Hint: Set count=0 in the print sniff line to have it run forever, count appears to be timeout.

I had initially installed scary from the website, but ended up doing:

apt-get update
apt-get upgrade
apt-get install tcpdump tcpreplay wireshark python-scapy

and it seems to run just fine when it runs. Not sure I needed all of the above, but python-scaly recommended them (and a bunch of graphics routines) when I installed it.

I had the same error, but found it doesn't happen reliably, sometimes it fails immediately with:

IndexError: Layer [ARP] not found

and sometimes it runs forever.

Hint: Set count=0 in the print sniff line to have it run forever, count appears to be timeout.

I had initially installed scapy from the website, but ended up doing:

apt-get update
apt-get upgrade
apt-get install tcpdump tcpreplay wireshark python-scapy

and it seems to run just fine when it runs. Not sure I needed all of the above, but python-scapy recommended them (and a bunch of graphics routines) when I installed it.

Addenda: Each time I fiddle with the code the probability that it'll run without crashing changes, so there's something really weird going on.

I had the same error, but found it doesn't happen reliably, sometimes it fails immediately with: IndexError: Layer [ARP] not found and

IndexError: Layer [ARP] not found

and sometimes it runs forever.

Hint: Set count=0count=0 in the print sniff line to have it run forever, count appears to be timeout.

I had initially installed scary from the website, but ended up doing: apt-get update apt-get upgrade apt-get install tcpdump tcpreplay wireshark python-scapy

apt-get update
apt-get upgrade
apt-get install tcpdump tcpreplay wireshark python-scapy

and it seems to run just fine when it runs. NotNot sure I needed all of the above, but python-scaly recommended them (and a bunch of graphics routines) when I installed it.

I had the same error, but found it doesn't happen reliably, sometimes it fails immediately with: IndexError: Layer [ARP] not found and sometimes it runs forever.

Hint: Set count=0 in the print sniff line to have it run forever, count appears to be timeout.

I had initially installed scary from the website, but ended up doing: apt-get update apt-get upgrade apt-get install tcpdump tcpreplay wireshark python-scapy

and it seems to run just fine when it runs. Not sure I needed all of the above, but python-scaly recommended them (and a bunch of graphics routines) when I installed it.

I had the same error, but found it doesn't happen reliably, sometimes it fails immediately with:

IndexError: Layer [ARP] not found

and sometimes it runs forever.

Hint: Set count=0 in the print sniff line to have it run forever, count appears to be timeout.

I had initially installed scary from the website, but ended up doing:

apt-get update
apt-get upgrade
apt-get install tcpdump tcpreplay wireshark python-scapy

and it seems to run just fine when it runs. Not sure I needed all of the above, but python-scaly recommended them (and a bunch of graphics routines) when I installed it.

Source Link
wpns
  • 161
  • 3

I had the same error, but found it doesn't happen reliably, sometimes it fails immediately with: IndexError: Layer [ARP] not found and sometimes it runs forever.

Hint: Set count=0 in the print sniff line to have it run forever, count appears to be timeout.

I had initially installed scary from the website, but ended up doing: apt-get update apt-get upgrade apt-get install tcpdump tcpreplay wireshark python-scapy

and it seems to run just fine when it runs. Not sure I needed all of the above, but python-scaly recommended them (and a bunch of graphics routines) when I installed it.