Remote Exploit Forums

Go Back   Remote Exploit Forums > BackTrack 4 (pre) Final > BackTrack 4 Software Related Issues


BackTrack 4 Software Related Issues Problems with packages, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2009, 03:47 PM
Just burned his ISO
 
Join Date: Dec 2007
Posts: 2
Default Can't install Firewalk - libnet problem

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?
Reply With Quote
  #2 (permalink)  
Old 08-25-2009, 01:34 PM
Junior Member
 
Join Date: Dec 2008
Location: http://forums.remote-exploit.org/
Posts: 17
Send a message via Yahoo to exus69
Default

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
Reply With Quote
  #3 (permalink)  
Old 10-27-2009, 02:16 PM
Junior Member
 
Join Date: Oct 2009
Location: Europe
Posts: 5
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2