From: James Cameron <james.cameron@hp.com>
To: linux-ppp@vger.kernel.org
Subject: Re: How to fix continuous ConfReq's on celluar internet connection
Date: Sun, 10 Aug 2008 23:21:48 +0000 [thread overview]
Message-ID: <20080810232148.GD6024@hp.com> (raw)
In-Reply-To: <489F746B.3040002@123mail.org>
Oh, and something else that springs to mind ... when I had this problem
that you report with 1x RTT modems, an analysis of the packet stream
with pppdump and tcpdump resulted in a correlation between certain
packets and a reconfiguration event.
I could force it to occur by emitting packets to the modem with IP
addresses that were incorrect. The provider's back-end NAT equipment
was closing the session when it saw such invalid packets.
The host was multi-homed, and when the 1x RTT link came up the default
route was swung onto the link. Existing connections began to emit
packets to the modem link with a source IP corresponding to the previous
default route. It was these packets which caused the reconfiguration.
In the end what solved the problem for me was filtering the packets
before they reached the modem ... by adding the following to an ip-up
script:
iptables --insert OUTPUT 1 --source 192.168.0.0/255.255.0.0 \
--destination 0.0.0.0/0.0.0.0 --jump DROP \
--out-interface ${PPP_IFACE}
iptables --insert OUTPUT 1 --source 10.0.0.0/255.255.0.0 \
--destination 0.0.0.0/0.0.0.0 --jump DROP \
--out-interface ${PPP_IFACE}
iptables --insert OUTPUT 1 --protocol GRE --jump DROP \
--out-interface ${PPP_IFACE}
In my case, 10.0/16 was a local LAN, and 192.168/16 was the satellite
service.
It looks like I've said all this before:
http://osdir.com/ml/linux.ppp/2007-10/msg00011.html
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
next prev parent reply other threads:[~2008-08-10 23:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-10 23:06 How to fix continuous ConfReq's on celluar internet connection Marshall Crocker
2008-08-10 23:11 ` James Cameron
2008-08-10 23:21 ` James Cameron [this message]
2008-08-10 23:28 ` Marshall Crocker
2008-08-11 0:04 ` Marshall Crocker
2008-08-11 0:06 ` Bill Unruh
2008-08-11 5:03 ` Marshall Crocker
2008-08-11 5:09 ` James Cameron
2008-08-11 5:36 ` Marshall Crocker
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=20080810232148.GD6024@hp.com \
--to=james.cameron@hp.com \
--cc=linux-ppp@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 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.