From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Why DNS1 is rejected twice?
Date: Mon, 08 Feb 2010 18:32:40 +0000 [thread overview]
Message-ID: <4B7058C8.10602@workingcode.com> (raw)
In-Reply-To: <4B6ACD7E.9050603@daisytechbg.com>
Iordan Neshev wrote:
> This is the peer's response:
> [0x7E 0x80 0x21 0x04 0x01 0x00 0x10 0x81 0x06 0x00 0x00 0x00 0x00 0x81
> 0x06 0x00 0x00 0x00 0x00 0xF4 0x79 0x7E ]
> Our device reported:
> pppInput[0]: IPCP len\x16
> fsm_input(IPCP): code 4,id 1, len 16
> fsm_rconfnakrej(IPCP): Rcvd id 1 state=6 (LS_REQSENT)
> ipcp_rejci: received bad Reject!
Yep; that violates the RFC. It's a garbage message.
> The qustion is: Does somebody know why the peer rejected twice DNS1?
Only the designer of that peer system knows for sure. It looks like a
bug in that system.
> The GSM operator did not reply this question, that's why I'm asking here.
> Also, does pppd behave properly in this case?
I believe that it does. It shouldn't tolerate obvious protocol
violations from the peer, because it's not generally possible to "guess"
what the peer might have meant for arbitrary nonsense.
It should be possible, though, to create an option to allow pppd to
ignore any unrequested (or duplicated) options in Reject messages.
Whether doing so, and thus continuing to make a connection with an
obviously malfunctioning peer, is a good idea is perhaps subject to some
debate.
> We are using a slightly modified pppd 2.3.11 with some backports from
> all releases till pppd 2.4.5
> on an embedded device if it matters.
My recommendation: get a peer that follows the standards.
--
James Carlson 42.703N 71.076W <carlsonj@workingcode.com>
next prev parent reply other threads:[~2010-02-08 18:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 13:37 Why DNS1 is rejected twice? Iordan Neshev
2010-02-08 18:32 ` James Carlson [this message]
2010-02-09 8:54 ` Iordan Neshev
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=4B7058C8.10602@workingcode.com \
--to=carlsonj@workingcode.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.