Re: scaning the local network with arping/sh script

From: Abu Khaled (khaled.abu_at_gmail.com)
Date: 04/25/05

  • Next message: Alex Soares de Moura: "Re: scaning the local network with arping/sh script"
    Date: Mon, 25 Apr 2005 07:41:30 +0300
    To: Alex Soares de Moura <alex@rnp.br>
    
    

    On 4/24/05, Alex Soares de Moura <alex@rnp.br> wrote:
    > Abu Khaled wrote:
    >
    > >Greetings...
    > >
    > >I don't know much about scripting but i tried to write one to scan my
    > >local network using the net/arping port.
    > >here is the script:
    > ><sciprt start>
    > >#!/bin/sh
    > >IP=1
    > >while [ $IP -le 20 ]
    > >do
    > >echo -e ".\c"
    > > if ( arping -c 1 -q -i rl1 10.0.0.$IP ) then
    > > echo -e "\n10.0.0.$IP Online"
    > > fi
    > >IP=$(( $IP +1 ))
    > >done
    > >echo -e "\n"
    > ><script end>
    > >
    > >The script runs and reports OK but it is very slow and takes a lot of
    > >time to scan a large network. Does anyone have an idea on how to
    > >improve it or provide an alternate way to do it?
    > >
    > >PS: I used the arpscan port in the past but it is reported as broken:
    > >Unfetchable.
    > > I'm running FreeBSD 5.4 Stable.
    > >
    > >
    > Have you tried the ettercap tool? It's in the ports:
    > /usr/ports/net-mgmt/ettercap
    >
    > Best regards,
    >
    > Alex
    >
    >

    Thanks Alex. Ettercap is a nice tool but I don't run X on my Gateway/Servers.
    I was looking for a port/package that runs from console. Seems that I
    forgot to mention that in my post.

    Thank again and sorry for the incomplete information.

    -- 
    Kind regards
    Abu Khaled
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Alex Soares de Moura: "Re: scaning the local network with arping/sh script"

    Relevant Pages

    • Re: scaning the local network with arping/sh script
      ... Alex Soares de Moura wrote: ... >>I don't know much about scripting but i tried to write one to scan my ... > Have you tried the ettercap tool? ... Kind regards ...
      (freebsd-questions)
    • Re: Scripting guys
      ... All he said was "have fun". ... > Thanks Alex, ... > like something that might have been related to scripting. ... > through future webcasts. ...
      (microsoft.public.scripting.wsh)
    • Re: Dropdown Menu to Links?
      ... Alex ... > You will have to do a lot of scripting by hand, ... > Steve Easton ... > Microsoft MVP FrontPage ...
      (microsoft.public.frontpage.client)
    • Re: FindWindow is not working
      ... Kind regards, Alex ... Imports System.Windows.Forms ... ask them in newsgroups devoted exclusively to .NET programming. ...
      (microsoft.public.vb.winapi)
    • Re: System for around 400 pounds.
      ... >> with a decent TFT. ... I looked at Dell outlet ... Thanks a lot Alex. ... Kind regards, ...
      (uk.adverts.computer)