|
|||||||
| BackTrack 4 Software Related Issues Problems with packages, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi guys,
I'm trying to install Firewalk 0.99 but when I use the configure command I get back errors about libnet installed. I'm pretty sure it is installed tho by default. root@bt4:~/Firewalk-0.99.1# ./configure loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O3 -funroll-loops -fomit-frame-pointer -pipe ) works... yes checking whether the C compiler (gcc -O3 -funroll-loops -fomit-frame-pointer -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /usr/bin/install -c checking for libnet_build_ip in -lnet... no configure: error: No libnet? No firewalk. As far as trying to install libnet, thats another headache too: root@bt4:~/libnet# cp makfiles/linux.mak port.mak root@bt4:~/libnet# make make -C lib/ lib make[1]: Entering directory `/root/libnet/lib' gcc -O2 -Wall -Werror -Wno-unused -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -I../include -Iinclude -DTARGET_LINUX -c -o core/core.o core/core.c gcc -O2 -Wall -Werror -Wno-unused -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -I../include -Iinclude -DTARGET_LINUX -c -o core/channels.o core/channels.c gcc -O2 -Wall -Werror -Wno-unused -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -I../include -Iinclude -DTARGET_LINUX -c -o core/config.o core/config.c cc1: warnings being treated as errors core/config.c: In function '__libnet_internal__seek_section': core/config.c:87: error: ignoring return value of 'fgets', declared with attribute warn_unused_result core/config.c: In function '__libnet_internal__get_setting': core/config.c:111: error: ignoring return value of 'fgets', declared with attribute warn_unused_result make[1]: *** [core/config.o] Error 1 make[1]: Leaving directory `/root/libnet/lib' make: *** [lib] Error 2 Any advice anyone please? |
|
|||
|
Hi Pentester,
Am facing the exact same problem installing firewalk that you've mentioned. However, I was able to install libnet without any probs. Try downloading and installing libnet 1.1.2.1. But even after installing libnet I got the same exact error message again while trying to install firewalk. Please help us guys |
|
|||
|
EHLO,
Perhaps you've already tried this otherwise it's worth a try. Do like this: 1. Visit this mirror site: packetfactory[dot]openwall[dot]net/projects/firewalk/index.html 2. Download "latest version" 5.0 3. Download libnet 1.1.x from provided link in mirror site. 4. ./configure && make && make install for the just downloaded libnet 5. Do ./configure in the above downloaded 5.0-version. Do you still have the same problem? Otherwise continue with editing the firewalk.c at line 191 and add "break" after the default switch-case. 6. After editing the source code you're now able to compile it. Do "make" and continue with "make install" and after that target the specified router/fw ![]() / Alex |
|
||||
|
Just as a note, I solved the problem by isntalling firewalk version 5.0 found on Google, and following the instructions here:
hxxp:[slash[slash]lifewithubuntu.blogspot.com[slash]2009[slash]01[slash]installing-firewalk-security-tool.html] I would encourage the poster of this message to post the results as well. I couldn't find it right away because of lack of information. sl33p Quote:
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|