Nmap Development mailing list archives

Re: Google SoC Ideas - Feature Creep?


From: doug () hcsw org
Date: Wed, 24 May 2006 00:11:58 -0700

Hi kx,

On Tue, May 23, 2006 at 07:37:17PM -0400 or thereabouts, kx wrote:

Out of curiosity, had you put together a beta patch for using cymru
and the rDNS architecture? If not, I might give it a try just to see
how it might work.

Nope, I haven't looked at it yet and of course you're welcome to hack away. :)

Off the top of my head here are some of the things that might need doing:

* Give each request a pointer to the domain to use ("in-addr.arpa" or
  "origin.asn.cymru.org" or whatever) and make put_dns_packet_on_wire()
  use this.

* Don't forget it's a TXT record! The current rDNS always uses 12 (PTR).
  read_evt_handler() checks this in a packet and decides what to do with it.

* Figuring out way to input and output it best might be tricky! I suspect more
  fields should be added to the Target class and the nmap_mass_rdns()
  interface will have to be modified... What about something so it's
  easy to customise exactly which types of lookups to do with
  nmap_mass_rdns()? Something like


#define MASS_RDNS_DNS 1
#define MASS_RDNS_ASN 2
...

nmap_mass_rdns(targs, num_targs, MASS_RDNS_DNS|MASS_RDNS_ASN);



Sounds like a fun project!

Best of luck,

Doug


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev

Current thread: