pen-test
[Top] [All Lists]

RE: Traceroute question

To: 'Becky Nelson' <ralf.jacober@gmail.com>
Subject: RE: Traceroute question
From: Tal Argoni <moskito@012.net.il>
Date: Thu, 28 Dec 2006 10:26:08 +0200
Cc: pen-test@securityfocus.com
Delivered-to: sp-com-lists@consult.net
Delivered-to: pentest-list2@consult.net
Delivered-to: mailing list pen-test@securityfocus.com
Delivered-to: moderator for pen-test@securityfocus.com
In-reply-to: <95cea9f80612271736o2c581dfck84987790a4ca695d@mail.gmail.com>
List-help: <mailto:pen-test-help@securityfocus.com>
List-id: <pen-test.list-id.securityfocus.com>
List-post: <mailto:pen-test@securityfocus.com>
List-subscribe: <mailto:pen-test-subscribe@securityfocus.com>
List-unsubscribe: <mailto:pen-test-unsubscribe@securityfocus.com>
Mailing-list: contact pen-test-help@securityfocus.com; run by ezmlm
Resent-date: Thu, 28 Dec 2006 17:19:20 -0700 (MST)
Resent-from: pen-test-return-1078483332@securityfocus.com
Resent-message-id: <20061229001920.D1357239E4A@outgoing3.securityfocus.com>
Resent-sender: listbounce@securityfocus.com
Sender: listbounce@securityfocus.com
Thread-index: AccqI/U9SJsBzW1NR8GoERlZ2NCcugAK3iCg
Traceroute base on the IP header time-to-live (TTL) field. TTL field is used
to limit IP datagram's. TTL functions as a decrementing counter, Each hop
(router etc..) that a datagram passes through reduces the TTL field by one.
If the TTL value reaches 0, the datagram is discarded and a time exceeded in
transit Internet Control Message Protocol (ICMP) message is created to
inform the source of the failure (Type 11 code 0).

Now.. 
What if there is a machine that function as packet filter?
Well..
The last 2 host have the same ip address. Why?
The firewall defined to return Echo Reply (Type 0 code 0).
The first time that the firewall handle the packet that his TTL was 0,
The firewall return time exceeded, the second packet has a TTL 1,
The firewall will pass thru the packet to the next machine, that will
Return echo reply if it is the destination  or time exceeded if it's not.
Assume it return an echo reply. And the firewall not allow a ICMP outgoing
packets, the firewall return with his own ip the echo reply.
That why we get 2 or more result with the same ip.

A solution:
Try to do a TCP traceroute because Windows tracert base on ICMP, Unix
traceroute base on UDP.
You can use Hping.


-----Original Message-----
From: Becky Nelson [mailto:ralf.jacober@gmail.com] 
Sent: Thursday, December 28, 2006 3:37 AM
To: pen-test@securityfocus.com
Subject: Traceroute question

I am running a traceroute and have two hops that report the same
address.  Could someone please explain what would cause this?  I
suspect that this is some type of firewall?

Regards,

Ralf


<Prev in Thread] Current Thread [Next in Thread>