Nmap Development mailing list archives
Re: UDP 'bytes=' option with comm.exchange()
From: Kris Katterjohn <katterjohn () gmail com>
Date: Sun, 27 Jul 2008 20:52:32 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brandon Enright wrote:
I agree that in the absence of an option, getting the whole buffer rather than defaulting to line=1 (and blocking) is preferred. This change should be "safe" to make. As I understand it, these values are minimums. If you want 10 bytes you might get 20 but you'll always block until there are 10 available (or the timeout occurs).
OK, I've committed the fix. I've tested it on my local machine with what I could and it seems to work fine. If you can test it out with the DNS recursion script and any other scripts which gave you problems and let me know how it goes, I'd appreciate it.
Thanks for your help, Brandon
Thanks, Kris Katterjohn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBSI0mW/9K37xXYl36AQLZ5RAAmZSkPyI5mF2DcWOLZUhg2z6SgQ8eohRk KUlCg1VMeMEMvrDksJRIz5yzeiiCKqRkjNsgRhqF8T3CY0irCqWbxTkpOhHW2IAX 9rBeRWzyt4kZO0tPOlg5QShel7+egV6QZDdSLvkhJqfZQhE0mewBm7XueyjxgOJl ARqPqisN/vvfPBKvxkobIcmcKlXBwwyOh8eoWDzZeaT238aUKk842fAmHnQ+YMvQ m4pgFh+Fis/WEGxU8q9e9hhzBr1RmsntJNJtmZAM41Kb5miM9l+DQklZiWQBl8su 5R7Z2Oq2FszRH1eC8y5mixBqY/JZ8Q1b/HooW+kWX2FKiN00nIP1LdD0ogoUxMmY G+jaIX45F/99U1OePYtOIfNCdIkUcZdC6tDrvCwemxvF1BwWJN9+OzESAynNTOLx x9XavAKRB2Zfm1f9/+4ty3pusyzNNsMgQ5NCiX0tG7J/eFKsGs+aUduq8fE/IhJb kVwZvTUQXUeTbjR5CQBvI+bAJPrBQJlgNKHGCS6+qWavEH5mc74aHaCkIsT8UQOV 5liZRER60ghjMIADyhAcbDX0PrYvCJvXMedEzQAtburd6WZKDauiOrWxhHdTARpD BjThMm4AgBNYuNhWdQscqVoqvrLxkh/tDO10yjcwhxgNpI4o4jvVaiAEnfiv3x3W 8glCkO0to5Y= =sBJX -----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:
- UDP 'bytes=' option with comm.exchange() Brandon Enright (Jul 27)
- Re: UDP 'bytes=' option with comm.exchange() Kris Katterjohn (Jul 27)
- Re: UDP 'bytes=' option with comm.exchange() Brandon Enright (Jul 27)
- Re: UDP 'bytes=' option with comm.exchange() Kris Katterjohn (Jul 27)
- Re: UDP 'bytes=' option with comm.exchange() Brandon Enright (Jul 27)
- Re: UDP 'bytes=' option with comm.exchange() Kris Katterjohn (Jul 27)