1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 21:51:28 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
kris
412fcbcca0 o [NSE] Added a "times" table to the host table passed to scripts.
This table contains Nmap's timing data (srtt, the smoothed round
  trip time; rttvar, the rtt variance; and timeout), all represented
  as floating-point seconds.  The ipidseq and qscan scripts were
  updated to utilize the host's timeout value instead of the very
  conservative guess of 3 seconds for read timeouts. [Kris]
2010-08-05 01:55:05 +00:00
fyodor
027f095b4f Remove Kris's email address from two scripts to match what he uses in the other three (If he wants the email addresses, he is welcome to put them on all five--I'm just doing a little cleanup for consistency 2010-07-24 05:32:18 +00:00
kris
cc33a59ca4 Add nmap.clock() for providing scripts with the current time in floating
point seconds since the epoch, and add clock_ms() and clock_us() to stdnse
for convenience (millisecond and microsecond).

qscan.nse now provides microsecond resolution.
2010-07-23 19:49:42 +00:00
kris
ee3c89afe4 o [NSE] When receiving raw packets from Pcap, the packet capture time
is now available to scripts as an additional return value from
  pcap_receive().  It is returned as the floating point number of
  seconds since the epoch.  The qscan.nse script was updated to use
  this more accurate data instead of using the clock_ms() function
  (which returns the current time). [Kris]
2010-07-23 10:43:04 +00:00
david
1ff1a4f892 First-pass copyediting on the remaining scripts. 2010-07-12 17:19:26 +00:00
kris
3a0aa06db1 Fix a bug in qscan.nse which kept a confidence level of 0.9995 from working;
Marcin Hoffmann reported the problem.
2010-06-05 00:46:48 +00:00
david
a6e014d42e Change these script arguments to use stdnse.parse_timespec:
qscan.delay
dns-fuzz.timelimit
mssql.timelimit
A side effect is that the default units for qscan.delay are seconds, not
milliseconds. 0 is now the magic value to disable the time limit in
dns-fuzz.
2010-04-13 23:09:23 +00:00
david
5fa554266b Fix NSEDoc. 2010-03-31 20:28:14 +00:00
kris
918a1bb909 o [NSE] Added the qscan script to repeatedly probe ports on a host to
gather round-trip times for each port.  The script then uses these
  times to group together ports with statistically equivalent RTTs.
  Ports in different groups could be the result of things such as port
  forwarding to hosts behind a NAT.  This is based on work by Doug
  Hoyte. [Kris]
2010-03-21 20:05:31 +00:00