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, 02: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, 12: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, 01:16 PM
Junior Member
 
Join Date: Oct 2009
Location: Europe
Posts: 12
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
  #4 (permalink)  
Old 12-16-2009, 07:50 PM
sleep's Avatar
Junior Member
 
Join Date: Nov 2008
Location: Sao Paulo, Brazil
Posts: 13
Default

Hi guys,

I've set up a 'Persistant Changes' USB due to my need for security tools like firewalk running everytime I boot BT.

But... I couldn't even run the ./configure. It gives me the same error stated on this first post.

It seems that the installer tries to look for libnet and cannot find them.

I tried to fine tune the ./configure with:

Code:
./configure --includedir=/usr/include/libnet --libdir=/usr/lib
But still doesn`t work.

Did you find a solution?

Thanks in advance!
sl33p
Reply With Quote
  #5 (permalink)  
Old 01-08-2010, 08:49 PM
sleep's Avatar
Junior Member
 
Join Date: Nov 2008
Location: Sao Paulo, Brazil
Posts: 13
Arrow

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:
Originally Posted by sleep View Post
Hi guys,

I've set up a 'Persistant Changes' USB due to my need for security tools like firewalk running everytime I boot BT.

But... I couldn't even run the ./configure. It gives me the same error stated on this first post.

It seems that the installer tries to look for libnet and cannot find them.

I tried to fine tune the ./configure with:

Code:
./configure --includedir=/usr/include/libnet --libdir=/usr/lib
But still doesn`t work.

Did you find a solution?

Thanks in advance!
sl33p
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 01:33 AM.


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