
dclark at pobox
Jun 21, 2012, 6:35 AM
Post #1 of 5
(570 views)
Permalink
|
|
Querying ntop data from the command line for mDNS <-> IP Address mappings
|
|
Is there a way to query ntop data via a command line user interface (cli/clui)? ntop seems to be able to detect which IP addresses correspond to which mdns (bonjour / avahi) host names, which isn't possible to do without the kind of long-term passive correlative network monitoring that ntop does (as far as I can tell, you can't initiate a query against an IP address to find its mdns host name due to the way the mdns protocol works; google supports this assertion). I'd like to query ntop from the command line with an IP address, and get back the contents of these columns (for specified network interfaces, in my case eth2 and eth3): Summary -> Hosts -> Host Summary -> Hosts -> Other Name(s) Summary -> Hosts -> Age/Inactivity Is this possible without screen scraping the web interface? I found a post circa 2005 talking about the deprecated intop ant ntcsh interfaces which states "So, basically, there's no interface into ntop except the data dumps (various formats) and the web." - if this is still true, is there a way to initiate a data dump from the command line? Finally, if this isn't possible with ntop, anyone know of a monitor tool that would work for this use case (passively sniff the network to find Multicast DNS host name to IP address mappings, and then allow access to that data from the command line)?
|