Security Basics mailing list archives

RE: Help Needed


From: "George Njoku" <gnjoku () pegasus rutgers edu>
Date: Wed, 10 Mar 2004 18:36:06 -0500

Windows by default will not let you sent out icmp packets past a certain
byte value. I think *NIXs byte value is less then windows's.

George Njoku

-----Original Message-----
From: Aditya, ALD [Aditya Lalit Deshmukh]
[mailto:aditya.deshmukh () online gateway technolabs net] 
Sent: Wednesday, March 10, 2004 5:02 AM
To: Byron Sonne; Junaid; security-basics () securityfocus com
Subject: RE: Help Needed

Drop to a shell on *nix and type 'man ping'. I'm running SuSE 8.2 and
I 
found this option, which is also present in the ping on my OpenBSD
box:

      -s packetsize
      Specifies  the number of data bytes to be sent.  The default is
      56, which translates into 64 ICMP data bytes when combined with
      the 8 bytes of ICMP header data.

You'll probably have issues if you aren't root.


this is what happened on windows ? use the modified cygwin tool for
windows,
-aditya


F:\>ping 127.0.0.1 /?

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
            [-r count] [-s count] [[-j host-list] | [-k host-list]]
            [-w timeout] destination-list

Options:
    -t             Ping the specified host until stopped.
                   To see statistics and continue - type Control-Break;
                   To stop - type Control-C.
    -a             Resolve addresses to hostnames.
    -n count       Number of echo requests to send.
    -l size        Send buffer size.
    -f             Set Don't Fragment flag in packet.
    -i TTL         Time To Live.
    -v TOS         Type Of Service.
    -r count       Record route for count hops.
    -s count       Timestamp for count hops.
    -j host-list   Loose source route along host-list.
    -k host-list   Strict source route along host-list.
    -w timeout     Timeout in milliseconds to wait for each reply.


F:\>ping 127.0.0.1 -l 1000000
Bad value for option -l, valid range is from 0 to 65500.

F:\>


________________________________________________________________________
Delivered using the Free Personal Edition of Mailtraq (www.mailtraq.com)

------------------------------------------------------------------------
---
Ethical Hacking at the InfoSec Institute. Mention this ad and get $545
off 
any course! All of our class sizes are guaranteed to be 10 students or
less 
to facilitate one-on-one interaction with one of our expert instructors.

Attend a course taught by an expert instructor with years of
in-the-field 
pen testing experience in our state of the art hacking lab. Master the
skills 
of an Ethical Hacker to better assess the security of your organization.

Visit us at: 
http://www.infosecinstitute.com/courses/ethical_hacking_training.html
------------------------------------------------------------------------
----


---------------------------------------------------------------------------
Ethical Hacking at the InfoSec Institute. Mention this ad and get $545 off 
any course! All of our class sizes are guaranteed to be 10 students or less 
to facilitate one-on-one interaction with one of our expert instructors. 
Attend a course taught by an expert instructor with years of in-the-field 
pen testing experience in our state of the art hacking lab. Master the skills 
of an Ethical Hacker to better assess the security of your organization. 
Visit us at: 
http://www.infosecinstitute.com/courses/ethical_hacking_training.html
----------------------------------------------------------------------------


Current thread: