All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: [PATCH] pppoe: Missed check for destination addr in PADT frame
Date: Fri, 15 Oct 2010 11:49:38 +0000	[thread overview]
Message-ID: <4CB83FD2.7070501@workingcode.com> (raw)
In-Reply-To: <AANLkTim5m4f-7U4kMghBR0yEQka3-iOaJ9aHwf4sGsxj@mail.gmail.com>

On 10/15/10 07:11, Leonid Lisovskiy wrote:
> Once more - this is how it should be done by RFC. But due to buggy ISP
> hardware uniqueness of session_id violated! Client doesn't know
> anything about other clients connected to the ISP, so it can't fix
> anything.

It might not necessarily be a bug in the ISP (well, except for the fact
that they're using PPPoE -- that's arguably a separate bug).

There's a known flaw in the way PPPoE assigns session ID numbers.
Instead of assigning a separate session number for each direction (as is
done with most competent tunneling protocols), PPPoE uses a single
session number that's assigned by the server.

This raises a problem.  If you have a single client talking to two or
more servers, there's no guarantee at all that the session IDs assigned
by those servers will be distinct.  If they're not, then the client must
match on MAC address.

Is this the problem you're running into?  Are you talking to two
different servers?

(This is also why the standards process, as cumbersome as it may seem,
is useful.  With decent review, it's possible to fix problems like this
before they become unfixable.  Unfortunately, that's not how PPPoE was
done.)

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

  parent reply	other threads:[~2010-10-15 11:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13 12:33 [PATCH] pppoe: Missed check for destination addr in PADT frame processing Leonid Lisovskiy
2010-10-15 10:32 ` Leonid Lisovskiy
2010-10-15 10:34 ` Sujit K M
2010-10-15 10:51 ` Sujit K M
2010-10-15 11:11 ` Leonid Lisovskiy
2010-10-15 11:49 ` James Carlson [this message]
2010-10-15 12:38 ` Leonid Lisovskiy
2010-10-15 13:31 ` [PATCH] pppoe: Missed check for destination addr in PADT frame James Carlson

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=4CB83FD2.7070501@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.