Skip to content

Error when run #1

@mangareader

Description

@mangareader

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions