You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
# listen for DNS query
log('Listening for DNS queries...')
udpserver = socket. socket(socket.AF_INET, socket.SOCK_DGRAM)
udpserver.bind(('0.0.0.0',53)) #listen to 53 port
while True: dns_listener = sniff(filter='udp dst port 53', iface=args.interface, prn=dns_handler)
Recommand to add two line in the code to listen to udp port 53 .Because if we don't listen 53 port ,the kernel will always reply a "Destination Unreachable" packet to the client which will cause data transfering not stable.
The text was updated successfully, but these errors were encountered:
Recommand to add two line in the code to listen to udp port 53 .Because if we don't listen 53 port ,the kernel will always reply a "Destination Unreachable" packet to the client which will cause data transfering not stable.
The text was updated successfully, but these errors were encountered: