Nmap Development mailing list archives

Re: [PATCH] allow --host-timeout to be specified in days


From: Sven Klemm <sven () c3d2 de>
Date: Mon, 13 Oct 2008 07:58:48 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fyodor wrote:
On Sun, Oct 12, 2008 at 01:36:08PM +0200, Sven Klemm wrote:
currently the documentation about --host-timeout is ambigous. Some
places state 'd' is valid while other places do not mention it:

nmap localhost --host-timeout 7d
--host-timeout is specified in milliseconds unless you qualify it by
appending 's', 'm', 'h', or 'd'.  The value must be greater than 1500
milliseconds
QUITTING!

Thanks Sven.  But unless someone actually needs timeout values in
days, I think a better patch is to fix the documentation.  Nmap
currently does not allow you to specify timeouts in days, and I've
never had a desire to do so.  If you want a 3 day host timeout for
some reason, you can always specify --host-timeout 72h.  There is also
a risk that people will see us adding a special option for
multiple-day timeouts and assume that Nmap must be hideously slow.
What's next, adding 'w' for weeks and 'y' for years?

The bug was reported by ircerr in #nmap who tried to specify a
host-timeout of 1d.

I just changed the nmap.cc error message you referenced.  If you've
seen any other cases where Nmap suggests that 'd' is valid, please do
fix them.

Ok, will do,

Cheers,
Sven

- --
Sven Klemm
http://cthulhu.c3d2.de/~sven/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjy45gACgkQevlgTHEIT4aWKgCZASpt4YVlETDU7AfBpzjPhSy8
TFgAniEiz+Uc5enqT9JnSRWUsQ5Bqmli
=usEP
-----END PGP SIGNATURE-----

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


Current thread: