Monthly Archives: September 2011

DNS query tracing

dig @dns.server target.dns +trace watch it under wireshark, It is very useful to understand how DNS query works especially for a non-cached look up. http://www.thegeekstuff.com/2012/02/dig-command-examples/ As a DNS client, dig will send a standard DNS query to the target DNS … Continue reading

Posted in dig, dns | Leave a comment

Packet crafting and sniffing with Python extensions

libpcap: sudo apt-get install libpcap-dev download and install pypcap, dpkt, dnet pypcap ‘s installation is tricky: download the pyrex and recompile the pcap.pyx file will work. Furthermore, use Makefile instead of setup.py seems fixed issues.

Posted in network, python | Leave a comment