All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jason Opperisano" <Jopperisano@alphanumeric.com>
To: netfilter@lists.netfilter.org
Subject: RE: Masquarede stalls?
Date: Tue, 10 Aug 2004 15:13:27 -0400	[thread overview]
Message-ID: <D5C9032B2B09C64EA2409D6214E91AC9051264@asimail2.alphanumeric.com> (raw)

> Unfortunately "tcpdump -n -nn -p -i ppp0 icmp" gives nothing (I hope i did it well :)).
> (what is -nn ? I cannot find that in the manpage.)

       -n     Don't convert host addresses to names.   This  can  be  used  to
              avoid DNS lookups.

       -nn    Don't convert protocol and port numbers etc. to names either.

guess that depends on the specific tcpdump you have...

>
> Are you sure this is a ICMP related problem? I can ping everything very quickly and correctly from the internal net. The things go wrong somewhere during the connections. :-( However you must be right, im not guru.
>

it's not an ICMP problem--it's a TCP problem.  the error message that tells you there is a TCP problem is an ICMP packet, however...

>
> And whats  that clamp-mss-to-mtu thing ? :)
>

you can try adding:

  iptables -I FORWARD -i $INTERNAL_IF -p tcp --syn -j TCPMSS --clamp-mss-to-pmtu
-OR-
  iptables -I FORWARD -i $INTERNAL_IF -p tcp --syn -j TCPMSS --set-mss 1400

to your test scenario to see if that fixes your problem.  if i recall correctly, MSS = MTU - 40.  if you have an MTU issue--you're best bet is to play around with tcpdump and different values of "--set-mss" until you don't have the problem anymore (unless "--clamp-mss-to-pmtu" magically works for you--it didn't for me).

-j


             reply	other threads:[~2004-08-10 19:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-10 19:13 Jason Opperisano [this message]
2004-08-10 20:22 ` Masquarede stalls? Mészáros Gergely
2004-08-11  5:05   ` Alistair Tonner
2004-08-10 20:24 ` Meszaros Gergely
2004-08-10 22:35   ` Alistair Tonner
2004-08-10 22:48     ` Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2004-08-10 18:33 Jason Opperisano
2004-08-10 18:56 ` Meszaros Gergely
2004-08-10 19:18   ` Antony Stone
2004-08-10 21:10     ` Alistair Tonner
2004-08-10 18:23 Meszaros Gergely
2004-08-10 18:31 ` Antony Stone
2004-08-10 18:20 Mészáros Gergely

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=D5C9032B2B09C64EA2409D6214E91AC9051264@asimail2.alphanumeric.com \
    --to=jopperisano@alphanumeric.com \
    --cc=netfilter@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.