Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when run #1

Open
mangareader opened this issue Jan 13, 2015 · 0 comments
Open

Error when run #1

mangareader opened this issue Jan 13, 2015 · 0 comments

Comments

@mangareader
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant