Nmap Development mailing list archives
Re: Raw IP NSE Functionality
From: David Fifield <david () bamsoftware com>
Date: Thu, 25 Feb 2010 18:30:44 -0700
On Thu, Feb 25, 2010 at 07:59:50PM -0500, kx wrote:
Oh no! That is my fault. I recommended math.randomseed(os.time()) to Kris because when I ran the ip-id script it was generating the same 6 source port/tcp sequence numbers each time I ran Nmap and I wanted to see different values. What would be a better way to seed that? Something like os.time() plus the IP plus the port or something? Or could nse call math.randomseed(os.time()) once before any scripts run?
I think the last option is the best. There are a couple of other scripts that currently do math.randomseed(os.time()) too. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: Raw IP NSE Functionality, (continued)
- Re: Raw IP NSE Functionality Patrick Donnelly (Feb 23)
- Re: Raw IP NSE Functionality Patrick Donnelly (Feb 23)
- Re: Raw IP NSE Functionality Kris Katterjohn (Feb 23)
- Re: Raw IP NSE Functionality David Fifield (Feb 23)
- Re: Raw IP NSE Functionality David Fifield (Feb 25)
- Re: Raw IP NSE Functionality Kris Katterjohn (Feb 25)
- pcap_register David Fifield (Feb 25)
- Re: pcap_register majek04 (Feb 26)
- Re: pcap_register Kris Katterjohn (Feb 26)
- Re: Raw IP NSE Functionality kx (Feb 25)
- Re: Raw IP NSE Functionality David Fifield (Feb 25)
- Re: Raw IP NSE Functionality Kris Katterjohn (Feb 26)