Nmap Development mailing list archives

Re: [PATCH] Allow OPTIONS for ncat http proxy


From: David Fifield <david () bamsoftware com>
Date: Mon, 3 Oct 2011 09:49:57 -0700

On Mon, Oct 03, 2011 at 11:56:32AM +0200, Odin Hørthe Omdal wrote:
OPTIONS is often used in HTTP, and should be allowed [1].

I've made a small patch against nmap 5.21. Hope it hasn't changed
against HEAD.

Thanks for this patch, and especially for including a test. The code has
indeed changed since 5.21, but it was not hard to update the patch.

The only problem I see is that it doesn't support the Max-Forwards
header field, which is a MUST according to what you cited at
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html.

I've attached an updated patch against current Subversion, along with
two additional tests for Max-Forwards. Do you think you can make the
necessary changes to make both the new tests pass?

David Fifield

Attachment: ncat-options.patch
Description:

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

Current thread: