Re: [dev] simple portscanner

From: Colin Didier <cdidier_AT_cybione.org>
Date: Sat, 2 Jan 2010 12:59:33 +0100

On Sat, Jan 02, 2010 at 09:47:19AM +0300, anonymous wrote:
> Ok, code is here: http://bitbucket.org/noname/netscan/

Nice, but there is no license on the source code files.

Here is a patch to let it build on OpenBSD:

--- parse.c.orig Sat Jan 2 12:54:18 2010
+++ parse.c Sat Jan 2 12:54:01 2010
@@ -1,3 +1,5 @@
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 
 #include <sys/queue.h>
@@ -5,6 +7,7 @@
 #include <ctype.h>
 #include <err.h>
 #include <errno.h>
+#include <pthread.h>
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
Received on Sat Jan 02 2010 - 11:59:33 UTC

This archive was generated by hypermail 2.2.0 : Sat Jan 02 2010 - 12:12:02 UTC