On Wed, Jul 04, 2007 at 11:01:51PM +0200, majek04 wrote:
On 7/4/07, Fyodor <fyodor () insecure org> wrote:
I'll take a look at it - maybe there is an easy way to replace
receive_lines with your buffer-approach, which seems more flexible
anyway.
That could be. It might even be best to add the feature to nsock
itself. Or maybe you'll find it more convenient/performant to
add it
at another layer.
Well. Actually I proposed this approach some time ago:
http://seclists.org/nmap-dev/2006/q4/0127.html
My patch implemented nsock buffering in next layer, after nsock.
Great! I knew I had seen that somewhere before, but I wasn't able to
find it. The fact that two different people implemented this
independently suggests that it is quite valuable. So I hope that your
implementation, or Doug's, or another one gets integrated. Diman and
Stoiko are currently guiding the NSE ship.