Page 1 of 2 12 LastLast
Results 1 to 15 of 30

Thread: Compiled some tools for x-mas!

  1. #1

    Compiled some tools for x-mas!

    Heya,

    Compiled some goodies for the WL500g. First is Darkstat, a graphical IP accounting tool:





    http://dmr.ath.cx/net/darkstat/

    Second is iplog, which can log portscans smurf attacks and so on:

    http://ojnk.sourceforge.net/stuff/iplog.readme

    And last but not least ltraf which can show realtime throughput:

    http://freshmeat.net/projects/ltraf/

    Have fun!
    Attached Files Attached Files
    Last edited by Rob ter Veer; 23-12-2004 at 08:44.

  2. #2
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Gee, thanks!

    Ho Ho Ho
    Last edited by Styno; 22-12-2004 at 20:03.

  3. #3
    Also compiled axel which is an wget alternative. Axel tries to accelerate downloads by using multiple connections (possibly to multiple servers) for one download.

    http://freshmeat.net/redir/axel/1497...page/axel.html

    And the lutz portscanner with OS identifier:

    http://freshmeat.net/redir/lutz/5138...w.codewear.org
    Attached Files Attached Files
    Last edited by Rob ter Veer; 24-12-2004 at 12:29.

  4. #4
    Join Date
    Dec 2004
    Location
    Skopje, Macedonia
    Posts
    13
    Tnx for the x-mas present
    Can you tell me how can I use the ltraf tool? It appears to require some bpf something. I need it to show me the realtime throughput. Tnx again.

  5. #5
    Quote Originally Posted by chupra
    Tnx for the x-mas present
    Can you tell me how can I use the ltraf tool? It appears to require some bpf something. I need it to show me the realtime throughput. Tnx again.
    What message do you get excactly?

  6. #6
    Join Date
    Feb 2004
    Posts
    103
    I also have some troubles getting it to work:

    [admin@wifi sbin]$ ltraf -s -Dk
    Segmentation fault
    Using: Oleg 1.9.2.7 CR2

  7. #7
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Just remove -s or specify valid filter string.
    Code:
    ltraf -I eth1 -Dk

  8. #8
    Join Date
    Dec 2004
    Location
    Skopje, Macedonia
    Posts
    13

    Thumbs up

    ltraf -I eth1 -Dk
    This does the job, tnx Oleg. I got confused by the options line of ltraf:
    ltraf -s bpf|-d bpf [-i interface][-v]
    I thought (-s bpf or -d bpf) is mandatory. What is this bpf anyway? Some sort of filter language perhaps? Is there some easy way to learn it?
    "What's the color of a chameleon put onto a mirror?" - Stewart Brand.

  9. Unhappy

    Hi. Will somebody so good and can post here all steps of instalation the x-mas stuff ;-) pls from plugin the usb key with files into ap plssss. I do that first time. plsssssss

    THNX

  10. #10
    Join Date
    Dec 2004
    Location
    Skopje, Macedonia
    Posts
    13
    Because you don't say how much you actually know, I'll be generous and detailed.

    First you plug the USB stick (or disk) into the wl500g. It will automount.
    From command prompt type
    telnet x.x.x.x (where x.x.x.x is the ip address of the wl500g). Use the same username and password you use to log to the web interface.

    When you are in the wl500g
    cd /tmp/harddisk , where you should find your files.
    mkdir /tmp/xmas
    cp ltraf.gz /tmp/xmas
    cd /tmp/xmas
    gunzip ltraf.gz
    chmod 777 ltraf
    ./ltraf -I eth1 -Dk

    If you want to stop the program, Ctrl+C.

    Same goes for the other programs. You should get yourself acquainted with the linux shell if you are a completely new to linux though.
    Last edited by chupra; 28-12-2004 at 09:17.
    "What's the color of a chameleon put onto a mirror?" - Stewart Brand.

  11. #11
    Join Date
    Dec 2004
    Location
    Skopje, Macedonia
    Posts
    13
    Rob, I use the following syntax that gives me segmentation fault:
    ./ltraf -d "host 10.0.0.4" or
    ./ltraf -s "host 10.0.0.4"

    Probably it's a pcap issue. How did you compile the programs?
    Last edited by chupra; 28-12-2004 at 13:52.
    "What's the color of a chameleon put onto a mirror?" - Stewart Brand.

  12. Thumbs up

    Chupra THNXXX very very mutch it works

  13. #13
    Quote Originally Posted by chupra
    Rob, I use the following syntax that gives me segmentation fault:
    ./ltraf -d "host 10.0.0.4" or
    ./ltraf -s "host 10.0.0.4"

    Probably it's a pcap issue. How did you compile the programs?
    I have my compile environment setup at work I will check out my compile configuration this afternoon.. I first compiled pcap (I think it was with defaults), installed it so that libraries can be found and then compiled ltraf.

  14. #14
    Compiled libpcap with:

    ./configure --host=mips --with-pcap=linux --prefix=/opt/brcm/hndtools-mipsel-uclibc

    Edited the Makefile of ltraf and changed the CC:

    CC=/opt/brcm/hndtools-mipsel-uclibc-3.2.3/bin/mipsel-uclibc-gcc

    I also used this version of the compiled libpcap for darkstat. With darkstat I had no problems at all so far.

  15. #15
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    270

    Thumbs up A good work, Rob. Thanks for your effort!

    A nice utilities. Thanks a lot! I have tested it under 1.7.5.9-2 and 1.7.5.9-5 firmwares. Everything is working fine. Just these libraries needs to be copied to /LIB folder:
    libpthread.so.0
    libnsl.so.0
    Last edited by Technik; 07-01-2005 at 16:31. Reason: Mistyping the version numbers.

Page 1 of 2 12 LastLast

Similar Threads

  1. no /dev/discs on own compiled 1.9.2.7-4
    By Jean-Fabrice in forum WL-HDD Custom Development
    Replies: 13
    Last Post: 22-10-2006, 16:49
  2. compiled 1950
    By alien433 in forum WL-500g Q&A
    Replies: 0
    Last Post: 23-09-2005, 22:00
  3. Need this compiled properly.
    By Mr.EoniX in forum WL-500g Custom Development
    Replies: 2
    Last Post: 04-09-2005, 08:08
  4. wireless-tools?
    By kolla in forum WL-HDD Custom Development
    Replies: 3
    Last Post: 23-06-2005, 14:18
  5. Some packages I compiled
    By Jean-Fabrice in forum WL-500g Custom Development
    Replies: 7
    Last Post: 23-03-2005, 12:29

Posting Permissions

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