Re: PacketSendPackets and latency

Varunram Ganesh via dev <[email protected]>
Newsgroups gmane.comp.security.nmap.devel
Message-ID <[email protected]>
Hi David,
Disregard what I said about -d2. I thought you were trying to send data using --send-eth and similar using nmap.
Coming back to the problem at hand, from what I know with regard to npf, NPF_BufferedWrite() scans the buffer and then calls NdisSend to send the same. So, if the buffer has enough space, it should queue the data, send and immediately return. I have seen such errors only when we receive and send packets both at the same time, but I haven't sent 30Mb or seen issues which report the same. A quick question - Does Sending a smaller buffer cause the same 13ms delays? My guess is that its taking time to scan the buffer (assuming you are resetting the buffer contents), but I could be wrong.

Cheers,
Varunram 

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.