FreeBSD Port: firewalk-5.0_1
Michael Scheidell
scheidell at secnap.net
Wed Sep 14 08:09:39 PDT 2005
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 at infonexus.com>\nhttp://www.packetfactory.net/firewalk\n\
for more information.\n"
--
Michael Scheidell, CTO
SECNAP Network Security
561-999-5000, x 1131
More information about the freebsd-ports
mailing list