Create nmap-nsock-scan branch.


git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32620 e0a8ed71-7df4-0310-8962-fdc924857419
Add my early attempts to create nsock_scan.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32621 e0a8ed71-7df4-0310-8962-fdc924857419
Fix filename in nsock_scan.cc header.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32622 e0a8ed71-7df4-0310-8962-fdc924857419
Add first nsock scanning proof of concept.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32625 e0a8ed71-7df4-0310-8962-fdc924857419
Fix a memory leak.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32626 e0a8ed71-7df4-0310-8962-fdc924857419
Add nsock_scan files to the Windows MSVC project.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32627 e0a8ed71-7df4-0310-8962-fdc924857419
Call nsi_delete to close the connection immediately.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32629 e0a8ed71-7df4-0310-8962-fdc924857419
Use nse_iod to get the iod based on the event. Henri told me that I
don't need to keep a pointer to the iod.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32632 e0a8ed71-7df4-0310-8962-fdc924857419
Add a quick-and-dirty fix that enabled scans from --top-ports=1000
family (including the default scan).

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32882 e0a8ed71-7df4-0310-8962-fdc924857419
Make --reason work for -sD.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32901 e0a8ed71-7df4-0310-8962-fdc924857419
Conform to the line width limit.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32902 e0a8ed71-7df4-0310-8962-fdc924857419
Don't fire all the probes at once - run --max-parallelism (default:
100) probes, then schedule the remaining ones once the previous
complete.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32941 e0a8ed71-7df4-0310-8962-fdc924857419
Remove a comment. Actually, it looks like we already have the disconnecting code.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32942 e0a8ed71-7df4-0310-8962-fdc924857419
Add schedule_scan, a function that schedules sending a given probe.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32963 e0a8ed71-7df4-0310-8962-fdc924857419
Backport Henri's patch to nmap-nsock-scan branch to simplify testing.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@32995 e0a8ed71-7df4-0310-8962-fdc924857419
Bacport r32877 from the trunk.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@33019 e0a8ed71-7df4-0310-8962-fdc924857419
Get rid of o.nsockscan.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@33027 e0a8ed71-7df4-0310-8962-fdc924857419
Let me know when nsock_scan() kicks in.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@33028 e0a8ed71-7df4-0310-8962-fdc924857419
Move the get_max_parallelism function up.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@33056 e0a8ed71-7df4-0310-8962-fdc924857419
Remove the comment related to setting default Nsock engine. It's set in
nmap.cc anyway.

git-svn-id: https://svn.nmap.org/nmap-exp/d33tah/nmap-nsock-scan@33057 e0a8ed71-7df4-0310-8962-fdc924857419