The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Alexander Clouter <alex@digriz.org.uk>
To: linux-kernel@vger.kernel.org
Cc: linux-net@vger.kernel.org
Subject: Re: strange fragmented udp packets
Date: Tue, 4 Jan 2011 08:50:54 +0000	[thread overview]
Message-ID: <ek3bv7-3m6.ln1@chipmunk.wormnet.eu> (raw)
In-Reply-To: 201101031647.56077.thomas@fjellstrom.ca

Thomas Fjellstrom <thomas@fjellstrom.ca> wrote:
>
>> I can't explain the packets getting fragmented (or I couldn't, see below).
>> And only have a guess as to why my VOIP provider isn't seeing them, I've
>> heard that some firewalls explicitly block fragmented UDP as its often
>> used in DoS attacks, and for little else.
>> 
>> Here's at least what tcpdump has to say..
>> 
>> packet coming in:
>> 23:38:26.136021 IP x.x.x.x.5060 > x.x.x.x.5060: SIP, length: 582
>> 
>> packet going out:
>> 23:38:18.136085 IP x.x.x.x.5060 > x.x.x.x.5060: SIP, length: 544
>> 23:38:18.136169 IP x.x.x.x > x.x.x.x: udp
>> 
>> ...
>> 
>> After writing all that I've realized that the problem is the mtu on the nic
>> attached to my cable modem, it was set to 576 for some odd reason. Changing
>> the mtu to 1500 fixes my problem, but what is causing it to auto select an
>> mtu of 576 anyhow? Could my modem be telling it that 576 is better for it?
> 
> Anyone have a hint? I've checked with my sip provider and they don't have 
> iptables set up, so nothing should be getting in the way of these packets. For 
> some reason they just aren't reaching the SIP server.
> 
pmtu?

Play around with the handy utility tracepath (and tracepath6) to 
<phun>discover</phun> more!

Cheers

-- 
Alexander Clouter
.sigmonster says: May you have many handsome and obedient sons.


      reply	other threads:[~2011-01-04  9:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28  6:54 strange fragmented udp packets Thomas Fjellstrom
2011-01-03 23:47 ` Thomas Fjellstrom
2011-01-04  8:50   ` Alexander Clouter [this message]

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

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

  git send-email \
    --in-reply-to=ek3bv7-3m6.ln1@chipmunk.wormnet.eu \
    --to=alex@digriz.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    /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