Results 1 to 5 of 5

Thread: Can't install Firewalk - libnet problem

  1. #1
    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?

  2. #2
    Junior Member
    Join Date
    Dec 2008
    Location
    Shoulder surfing besides you...
    Posts
    39

    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

  3. #3
    Just burned his ISO
    Join Date
    Oct 2009
    Location
    Europe
    Posts
    16

    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

  4. #4
    Just burned his ISO sl33p's Avatar
    Join Date
    Jan 2010
    Posts
    19

    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

  5. #5
    Just burned his ISO sl33p's Avatar
    Join Date
    Jan 2010
    Posts
    19

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •