From: Cedric Blancher <blancher@cartel-securite.fr>
To: Lior Hammer <lior@typo.co.il>
Cc: netfilter@lists.netfilter.org
Subject: Re: Strange problem with iptables IP Masq
Date: 16 Sep 2002 13:23:29 +0200 [thread overview]
Message-ID: <1032175409.719.48.camel@elendil> (raw)
In-Reply-To: <002001c25dc4$69549800$6400a8c0@hammer1>
Le lun 16/09/2002 à 23:02, Lior Hammer a écrit :
> I'm using the IP Masq script from the IP masq howto from TLDP.
> The connection sharing is fine except for one thing:
> in some of the sites (for example: http://httpd.apache.org or DynDNS.org
> members area) my browser keep's searching and searching without any result
> (or other response) or it just print few lines and that's it.
> I thought it's a problem with my browser, so i tryed to get the page
> directly with telnet.
> i got the HTTP Headers, and the first lines, and that's it, it didn't
> disconnect or somthing, just waited.
> Everything is ok when i'm trying to get this page directrly with lynx from
> the computer that shares the conection.
Are you connected via ADSL line using PPPoE ?
If so, you have to lower TCP MSS for forwarded packets down to 1452 (MTU
1492) to avoid problems when PMTU discovery is broken. This can be done
directly on pppoed using -m switch :
pppoe -I eth0 -T 80 -m 1452
Or this can be done using Netfilter mangle table :
iptables -t mangle -A FORWARD -o ppp0 -p tcp --syn \
-j TCPMSS --clamp-mss-to-pmtu
If not, forwarded hosts will export a 1460 TCP MSS (MTU 1500). Big
replies will be to big and lost.
--
Cédric Blancher
Consultant en sécurité des systèmes et réseaux - Cartel Sécurité
Tél: +33 (0)1 44 06 97 87 - Fax: +33 (0)1 44 06 97 99
PGP KeyID:157E98EE FingerPrint:FA62226DA9E72FA8AECAA240008B480E157E98EE
next prev parent reply other threads:[~2002-09-16 11:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-16 21:02 Strange problem with iptables IP Masq Lior Hammer
2002-09-16 11:23 ` Cedric Blancher [this message]
2002-09-16 23:38 ` Lior Hammer
2002-09-16 23:38 ` Lior Hammer
2002-09-16 11:25 ` dizma
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=1032175409.719.48.camel@elendil \
--to=blancher@cartel-securite.fr \
--cc=lior@typo.co.il \
--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.