Date: Wed, 14 Sep 2005 11:09:38 -0400 From: Michael Scheidell <scheidell@secnap.net> To: onatan@gmail.com Cc: ports@FreeBSD.org, mike@infonexus.com Subject: FreeBSD Port: firewalk-5.0_1 Message-ID: <43283D32.2090707@secnap.net>
next in thread | raw e-mail | index | archive | help
Two issues with Firewalk: on FREEBSD 4.x and 5.x if the old (non libnet-devel) is installed, you will have to manually deinstall it prior to firewalk including libnet-devel. If you don't, you will get this error: In file included from ../include/firewalk.h:42, from init.c:38: /usr/local/include/libnet.h:87: #error "byte order has not been specified, you'l l" In file included from ../include/firewalk.h:42, from init.c:38: /usr/local/include/libnet.h:88: syntax error before string constant *** Error code 1 once you deinstall libnet 1.0x, and then make install firewall, and firewall installss libnet 1.1x you get this: init.c: In function `fw_init_net': init.c:156: `BIOCIMMEDIATE' undeclared (first use in this function) init.c:156: (Each undeclared identifier is reported only once init.c:156: for each function it appears in.) patching include/firewalk.h to include bpf.h has its own problems, and won't compile. if you apply this patch, firewall will compile now: --- firewalk.h.orig Wed May 15 02:46:54 2002 +++ firewalk.h Wed Sep 14 10:55:52 2005 @@ -41,6 +41,10 @@ #include <dnet.h> #include <libnet.h> +#ifndef BIOCIMMEDIATE +#define BIOCIMMEDIATE _IOW('B',112, u_int) +#endif + #define FW_BANNER "Firewalk (c) 2002 Mike D. Schiffman \ <mike@infonexus.com>\nhttp://www.packetfactory.net/firewalk\n\ for more information.\n" -- Michael Scheidell, CTO SECNAP Network Security 561-999-5000, x 1131
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43283D32.2090707>