Nmap Development mailing list archives

Re: ncat - UNIX-domain sockets support


From: David Fifield <david () bamsoftware com>
Date: Thu, 8 Nov 2012 01:25:51 -0800

On Thu, Oct 04, 2012 at 10:16:00AM -0400, Tomas Hozza wrote:
It would be great if you (David) or other people would have a look on
my new patches and give me some feedback.

I'm having trouble applying these patches, both against 6.01 and against
current trunk.

$ git am 000*
Applying: Implementation of UNIX-domain sockets for Nsock.
/home/david/nmap-git/.git/rebase-apply/patch:42: trailing whitespace.
 * This function connects to the socket of type SOCK_STREAM.  ss should be a
/home/david/nmap-git/.git/rebase-apply/patch:43: trailing whitespace.
 * sockaddr_storage, sockaddr_un as appropriate (just like what you would pass to
/home/david/nmap-git/.git/rebase-apply/patch:50: trailing whitespace.
 * This function connects to the socket of type SOCK_DGRAM.  ss should be a
/home/david/nmap-git/.git/rebase-apply/patch:51: trailing whitespace.
 * sockaddr_storage, sockaddr_un as appropriate (just like what you would pass to
/home/david/nmap-git/.git/rebase-apply/patch:119: trailing whitespace.
 * string containing path to UNIX socket if the address family is AF_UNIX,
error: patch failed: nsock/src/nsock_core.c:470
error: nsock/src/nsock_core.c: patch does not apply
error: patch failed: nsock/src/nsock_read.c:55
error: nsock/src/nsock_read.c: patch does not apply
error: patch failed: nsock/src/nsock_write.c:55
error: nsock/src/nsock_write.c: patch does not apply
Patch failed at 0001 Implementation of UNIX-domain sockets for Nsock.
When you have resolved this problem run "git am --resolved".
If you would prefer to skip this patch, instead run "git am --skip".
To restore the original branch and stop patching run "git am --abort".

What revision did you build the patches against?

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


Current thread: