mentby.com
Blog | Jobs | Help | Signup | Login

Hey List!

Anyone know of a tool that can take a pcap file from wireshark that was usd to collect dns queries and then spit out statistics about the queries suh as RTT and timeouts?

Thanks!

Joseph


Joseph Jackson Mon, 30 Nov 2009 16:07:52 -0800

Not off the top of my head, but, you could use wireshark's Lua  
extension system to write a plugin to do this for you right within  
wireshark.

The wireshark/Lua stuff is quite powerful (though not super super  
fast), it's a really useful tool to have on hand.

--
Nathan Ward


Nathan Ward Mon, 30 Nov 2009 17:13:59 -0800

It just so happens there is a tool aptly named DNS Analyzer by NLnet Labs.
I used it a while back but if I recall you could feed it a pcap and it could
spit out all kinds of useful statistical data.

I don't think it's being actively maintained at the moment but you should be
able to find it on the NLnet Labs site - http://www.nlnetlabs.nl/projects/dns-analyzer/

HTHs.

Stefan Fouant
www.shortestpathfirst.net
GPG Key ID: 0xB5E3803D


sfouant Mon, 30 Nov 2009 18:50:02 -0800

Hi!

I very recently asked the maintainers of that package if its still under
development but i heard if was unfortunately dropped.

Bye,
Raymond.


Raymond Dijkxhoorn Mon, 30 Nov 2009 18:55:43 -0800

It would be nice if we could convince them to release the source code into
the public domain.  I'm sure there are a few people who would find it highly
useful and would work on it to add to its utility.

Stefan Fouant
www.shortestpathfirst.net
GPG Key ID: 0xB5E3803D


sfouant Mon, 30 Nov 2009 19:03:51 -0800

The source (versions 0.2.0 and 0.3.0) is available at the above URL and
there is a GPL license in the tarball.

--
Jay Hennigan - CCIE #7880 - Network Engineering - jay*******
Impulse Internet Service  -   http://www.impulse.net/
Your local telephone and internet company - 805 884-6323 - WB6RDV


Jay Hennigan Mon, 30 Nov 2009 19:21:34 -0800

Nothing with RTT and timeouts in this, but it could probably be adapted
with an additional, rudimentary subroutine to try summarizing that too:

  < http://www.cymru.com/jtk/code/pcapsum.pl> >

If you or no one else comes up with something or modifies this to do
it, give me a holler and I'll whip something up for you.

As is, it'll count DNS messages, header flags and give a top X list of
qnames seen. It uses the somewhat limited NetPacket modules, but it
would be easy to either switch wholesale to the Net::Packet modules or
pull in just those needed (e.g. VLAN and IPv6 support).  It is what it
is, hopefully its of use.

John


John Kristoff Mon, 30 Nov 2009 20:14:02 -0800

I have a "DNSaudit" program that takes libpcap (wireshark/tcpdump)
files. Originally its purpose was to identify AnswersWithoutQuestions,
and QuestionsWithoutAnswers when we were having some routing issues
causing answers to return via a different ISP.

Later I added statistics for response time by server.

I suggest trying the other programs mentioned first, I am the only
user of my program...

Jon


Jon Meek Mon, 30 Nov 2009 21:15:33 -0800

I don't know if DSC does this, but check it out:

http://dns.measurement-factory.com/tools/dsc/

    Cheers,
    Phil


Phil Regnauld Tue, 01 Dec 2009 00:47:02 -0800

I don't know if it'll do exactly what you want, but have a look at https://www.dns-oarc.net/tools/dnscap

Tony.
--
f.anthony.n.finch  <dot*******/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.


Tony Finch Tue, 01 Dec 2009 07:58:58 -0800

dnscap paired with dpkt can quickly and elegantly accomplish what you
desire; if you know python (:


Aaron Glenn Tue, 01 Dec 2009 16:35:42 -0800

You also have DNSTop

http://dns.measurement-factory.com/tools/dnstop/

Best regards,

    Julien


Julien (jul_bsd) Tue, 01 Dec 2009 21:48:51 -0800

DNStop is a real good tool for what it does.  It's an exceptionally useful tool and probably at the top of my list for deciphering DoS attacks targetting or amplifying against DNS resolvers.  But for RTT and timeouts, errr not so good.

Sorry for the top post. Stupid Blackberry...

Regards,

Stefan Fouant
www.shortestpathfirst.com


sfouant Tue, 01 Dec 2009 21:59:02 -0800



Related Topics

Post a Comment