Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Ketan Kulkarni <ketkulka@gmail.com>
Cc: cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] ping icmp ttl exceeded
Date: Sun, 3 Feb 2013 23:41:22 -0800	[thread overview]
Message-ID: <CAA93jw6NCyW6OaXzcqtA0KpozV+Mt7NtM=7P0D+7294__-Sbhw@mail.gmail.com> (raw)
In-Reply-To: <CAD6NSj66fcX3PrnbEMYD9UpQiqL7_i+O0=LTSLVkakXCBx+s4Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3016 bytes --]

Heh. I turned out I'd left mtr running in another window...

On Sun, Feb 3, 2013 at 11:34 PM, Ketan Kulkarni <ketkulka@gmail.com> wrote:

> Sorry to send it again, as the list rejected the attachment
> (attachment removed in this one)
>
> Hi Dave,
>
> The TTL is decremented by 1 on every router. If it reaches 0, the pkt
> is dropped and ICMP ttl exceeded is sent to the sender with icmp body
> = first few bytes of the packet which caused this error.
> Looks like, for every new Echo Req, ip ttl is set to 1. The next
> router decrements it and send ICMP ttl exceeded back.
>
> So 172.20.26.17 send Echo Req to 172.20.0.1 with ttl=1.
> 172.20.26.1 (probably your next router) decrements and sends ICMP TTL
> exceeded to 172.20.26.17 (probably your client)
>
> For the next request, ttl=2 and this time 172.20.26.17 (next to next
> router) send ttl exceeded.
> This is happening till ttl=6 at which the Echo Req is successful.
>
> Probably this is the behaviour of ping cmd used with -R (record route)
> option enabled.
>
> Attached jpg for reference.
>
> -Ketan
>
> On Mon, Feb 4, 2013 at 1:03 PM, Ketan Kulkarni <ketkulka@gmail.com> wrote:
> > Hi Dave,
> >
> > The TTL is decremented by 1 on every router. If it reaches 0, the pkt
> > is dropped and ICMP ttl exceeded is sent to the sender with icmp body
> > = first few bytes of the packet which caused this error.
> > Looks like, for every new Echo Req, ip ttl is set to 1. The next
> > router decrements it and send ICMP ttl exceeded back.
> >
> > So 172.20.26.17 send Echo Req to 172.20.0.1 with ttl=1.
> > 172.20.26.1 (probably your next router) decrements and sends ICMP TTL
> > exceeded to 172.20.26.17 (probably your client)
> >
> > For the next request, ttl=2 and this time 172.20.26.17 (next to next
> > router) send ttl exceeded.
> > This is happening till ttl=6 at which the Echo Req is successful.
> >
> > Probably this is the behaviour of ping cmd used with -R (record route)
> > option enabled.
> >
> > Attached jpg for reference.
> >
> > -Ketan
> >
> > On Mon, Feb 4, 2013 at 12:40 PM, Dave Taht <dave.taht@gmail.com> wrote:
> >> I have been largely looking at packet captures for tcp streams. today I
> >> noticed that I was oddly getting icmp ttl exceeded messages back on the
> >> network from various devices on the path when I wasn't even pinging...
> >>
> >> I have to admit parsing icmp is not in my skillset. Is there useful
> >> information in the icmp messages in this capture?
> >>
> >> http://snapon.lab.bufferbloat.net/~d/ttl_exceeded.cap
> >>
> >> --
> >> Dave Täht
> >>
> >> Fixing bufferbloat with cerowrt:
> >> http://www.teklibre.com/cerowrt/subscribe.html
> >> _______________________________________________
> >> Cerowrt-devel mailing list
> >> Cerowrt-devel@lists.bufferbloat.net
> >> https://lists.bufferbloat.net/listinfo/cerowrt-devel
> >>
>



-- 
Dave Täht

Fixing bufferbloat with cerowrt:
http://www.teklibre.com/cerowrt/subscribe.html

[-- Attachment #2: Type: text/html, Size: 4164 bytes --]

  reply	other threads:[~2013-02-04  7:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04  7:10 Dave Taht
2013-02-04  7:33 ` Ketan Kulkarni
2013-02-04  7:34   ` Ketan Kulkarni
2013-02-04  7:41     ` Dave Taht [this message]
2013-02-04 14:17       ` Maciej Soltysiak
2013-02-04 16:37         ` Dave Taht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA93jw6NCyW6OaXzcqtA0KpozV+Mt7NtM=7P0D+7294__-Sbhw@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=ketkulka@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox