-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi,
When run python dns.py
it show error
WARNING: Failed to execute tcpdump. Check it is installed and in the PATH
WARNING: No route found for IPv6 destination :: (no default route?)
Traceback (most recent call last):
File "dns.py", line 6, in
mypacket = IP(dst=server, src=fakesrc)/UDP(sport=RandShort())/DNS(rd=1L, qd=DNSQR(qname="isc.org.", qtype="ALL", qclass="IN"), ar=DNSRROPT(rclass=4096))
NameError: name 'DNSRROPT' is not defined
and
WARNING: Failed to execute tcpdump. Check it is installed and in the PATH
WARNING: No route found for IPv6 destination :: (no default route?)
Traceback (most recent call last):
File "snmp.py", line 9, in
sendpfast( l2packet*10000, pps=2500, loop=10, iface=device, file_cache=True )
TypeError: sendpfast() got an unexpected keyword argument 'file_cache'
what should i do ?
Thanks