Results 1 to 7 of 7

Thread: fragrouter/tcpreplay

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Posts
    26

    Default fragrouter/tcpreplay

    well, i'm not sure if there's any tools that serve the same purpose in BT3F, i'm trying to get these installed and have trouble getting them to install at all. just to show you what problems i'm getting check it out...

    bt tcpreplay-1.0.1 # configure install
    creating cache ./config.cache
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking for a BSD compatible install... /usr/bin/ginstall -c
    checking whether make sets ${MAKE}... yes
    checking for socket in -lsocket... no
    checking for gethostbyname in -lnsl... yes
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/time.h... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for gettimeofday... yes
    updating cache ./config.cache
    creating ./config.status
    creating Makefile
    creating config.h
    configuring in Libnet-0.99
    running /bin/sh ./configure install --cache-file=.././config.cache --srcdir=.
    loading cache .././config.cache
    checking host system type... Invalid configuration `install': machine `install' not recognized

    checking target system type... Invalid configuration `install': machine `install' not recognized

    checking build system type... Invalid configuration `install': machine `install' not recognized

    checking for gcc... (cached) gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for working const... yes
    checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
    checking whether make sets ${MAKE}... (cached) yes
    checking for ranlib... ranlib
    checking for ar... ar
    checking for ln... ln
    checking for strerror... yes
    checking low-level packet interface type... found SOCK_PACKET
    configure: warning: your OS is not officially supported yet
    configure: warning: dunno if this will work
    you'll have to edit the makefile by hand
    please send diffs to mike@infonexus.com
    checking for build_ip in -lnet... no
    checking whether byte ordering is bigendian... no
    checking if unaligned accesses fail... no
    checking for sys/sockio.h... no
    updating cache .././config.cache
    creating ./config.status
    creating Makefile
    creating test/Makefile
    creating test/TCP/Makefile
    creating test/Ethernet/Makefile
    creating test/UDP/Makefile
    creating test/ICMP/Makefile
    creating test/Random/Makefile
    creating include/config.h
    configuring in libpcap-0.4
    running /bin/sh ./configure install --cache-file=.././config.cache --srcdir=.
    loading cache .././config.cache
    checking host system type... Invalid configuration `install': machine `install' not recognized

    checking target system type... Invalid configuration `install': machine `install' not recognized

    checking build system type... Invalid configuration `install': machine `install' not recognized

    checking for gcc... (cached) gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking gcc version... 4
    checking how to run the C preprocessor... (cached) gcc -E
    checking for malloc.h... yes
    checking for sys/ioccom.h... no
    checking for sys/sockio.h... (cached) no
    checking for ANSI ioctl definitions... yes
    checking for ether_hostton... yes
    checking for strerror... (cached) yes
    checking packet capture type... linux
    checking for net/if_arp.h... yes
    checking Linux kernel version... 2
    checking for flex... flex
    checking for flex 2.4 or higher... yes
    checking for bison... bison
    checking for ranlib... ranlib
    checking if sockaddr struct has sa_len member... no
    checking if unaligned accesses fail... (cached) no
    checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
    updating cache .././config.cache
    creating ./config.status
    creating Makefile
    can anyone give me a hand? i know it says that bt isn't supported, but on packetstorm, it generalizes and says nix as a whole is supported as well as bsd.... what gives??

  2. #2
    Junior Member
    Join Date
    Jan 2010
    Posts
    79

    Default

    Backtrack comes with both tcpreplay and fragroute. Assuming that your directory name indicates which version you are trying to compile, Backtrack even comes with a newer version. Having said that you are executing the command "configure install". Try instead "./configure ; make install"

  3. #3
    Junior Member
    Join Date
    Jun 2008
    Posts
    26

    Default

    d`oh. i'll give that a shot when i'm back at that box. wrong command/syntax aye...

    i tried executing fragroute but nada (just to see if it was there). maybe i should do things when i'm _not_ tired and it's _not_ late. cheers

  4. #4
    Junior Member
    Join Date
    Jan 2010
    Posts
    79

    Default

    Not sure why you can't find it. Should be:
    /usr/local/sbin/fragroute
    and
    /usr/local/bin/tcpreplay
    At least on my copy of Backtrack
    Quote Originally Posted by merderah View Post
    d`oh. i'll give that a shot when i'm back at that box. wrong command/syntax aye...

    i tried executing fragroute but nada (just to see if it was there). maybe i should do things when i'm _not_ tired and it's _not_ late. cheers

  5. #5
    Junior Member
    Join Date
    Jun 2008
    Posts
    26

    Default

    Quote Originally Posted by armedpilot View Post
    Not sure why you can't find it. Should be:
    /usr/local/sbin/fragroute
    and
    /usr/local/bin/tcpreplay
    At least on my copy of Backtrack
    i'll peek in those dirs and see what pops up. thanks for the help and pointing me in the right direction. i'm running bt3f on a 'real' install, i'll have the opportunity to check this in the evening. cheers again mate!

  6. #6

    Default

    armedpilot: fragroute and fragrouter are 2 seperate programs. fragroute is indeed already on bt3, however, fragrouter is not.

    merderah: fragrouter 1.6 compiled on my bt3 without any additional modifications (at least according to my jumbled notes). Just do a "./configure" a "make" and a "make install" and you should be good to go.

  7. #7
    Junior Member
    Join Date
    Jan 2010
    Posts
    79

    Default

    Good catch. I hadn't noticed that it was fragrouter that was being looked for.

    Quote Originally Posted by cybrsnpr View Post
    armedpilot: fragroute and fragrouter are 2 seperate programs. fragroute is indeed already on bt3, however, fragrouter is not.

Posting Permissions

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