Re: [dev] simple portscanner

From: hiro <23hiro_AT_googlemail.com>
Date: Sat, 2 Jan 2010 14:04:37 +0100

licenses are stupid

On Sat, Jan 2, 2010 at 12:59 PM, Colin Didier <cdidier_AT_cybione.org> wrote:
> 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 - 13:04:37 UTC

This archive was generated by hypermail 2.2.0 : Sat Jan 02 2010 - 13:24:01 UTC