Linux PPP protocol development
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: PPP Encapsulated in GRE with IP Precedence headers
Date: Thu, 30 Jun 2005 13:27:25 +0000	[thread overview]
Message-ID: <17091.62269.155962.219103@gargle.gargle.HOWL> (raw)
In-Reply-To: <20050630051424.GA13477@digitalpath.net>

Ray Van Dolson writes:
> However, when Poptop encapsulates the PPP frames into GRE, it does not
> put any sort of DSCP flags in the corresponding GRE IP packets.  We are
> hoping to have Poptop/pptpclient modified to unpack the PPP frame it
> receives, examine the IP packet within and copy any DSCP flags into the
> GRE IP packet.  Thus if the IP packet in question was RTP, the
> resulting GRE packet would have the High Precedence DSCP flag set.

That's a bit icky, but I can see why you'd want to do it.

The "right" architectural answer would be to have PPP itself get the
IP DSCP information and use it to prioritize the traffic, and express
the priority in some implementation-dependent way down to the layer
that does the GRE/IP encapsulation.

> The question is, does PPP go haywire if packets start arriving out of
> order as a result of this?  Would we end up being worse-off than if we
> didn't do this at all?  I can see how a GRE-only tunnel would handle
> this just fine, but the added layer of PPP makes me think any sort of
> re-ordering of the GRE packets would break the PPP connection.

If it's just plain IP over PPP, and you're not negotiating any of MP,
ECP, CCP, VJ Header Compression, or Robust Header Compression, then
you should be able to get away with this.  The above protocols,
though, generally assume strict ordering (it is point-to-point,
right?) and will fall apart if that's compromised.

Since you're violating layering anyway, though, you could also just
intercept the initial negotiation messages and force any "unusual"
features off.

-- 
James Carlson                                 <carlsonj@workingcode.com>

  reply	other threads:[~2005-06-30 13:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30  5:14 PPP Encapsulated in GRE with IP Precedence headers Ray Van Dolson
2005-06-30 13:27 ` James Carlson [this message]
2005-06-30 15:25 ` Ray Van Dolson
2005-06-30 15:36 ` 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=17091.62269.155962.219103@gargle.gargle.HOWL \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox