From: Iordan Neshev <ineshev@daisytechbg.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Why DNS1 is rejected twice?
Date: Tue, 09 Feb 2010 08:54:46 +0000 [thread overview]
Message-ID: <4B7122D6.8030208@daisytechbg.com> (raw)
In-Reply-To: <4B6ACD7E.9050603@daisytechbg.com>
Thank you very much, James!
I was worried that the bug is in our device.
We can not switch to another operator but we can now live with that
because DNS is not really
needed in this special VPN. We solved the problem by removing
usepeerdns=1 in our code.
Greetings,
Iordan
James Carlson wrote:
> 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.
>
prev parent reply other threads:[~2010-02-09 8:54 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
2010-02-09 8:54 ` Iordan Neshev [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=4B7122D6.8030208@daisytechbg.com \
--to=ineshev@daisytechbg.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.