Nmap Development mailing list archives

Re: NSE Host Groups and Previous Host Accessibility


From: David Fifield <david () bamsoftware com>
Date: Fri, 28 Aug 2009 14:27:25 -0600

On Wed, Aug 26, 2009 at 09:05:19PM -0400, Patrick Donnelly wrote:
Right now NSE keeps old hosts in the "current_hosts" table (in the Lua
Registry [1]) even after the current host group has finished. This
means that scripts can modify these hosts (change port version, port
state, etc.) in a different host group. There are possibly some good
reasons for doing this and possibly some scripts already doing this. I
wondered if anyone would be against disallowing the use of hosts from
an old host group (as I believe it was originally intended) in the
future.

If you can modify hosts from previous host groups I think that's
contrary to intention. These are hosts whose output has already been
printed, after all. Do these records never go away, and keep consuming
memory?

David Fifield

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


Current thread: