All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: PPP comression and extension info required...
Date: Thu, 24 Jun 2010 11:10:43 +0000	[thread overview]
Message-ID: <4C233D33.508@workingcode.com> (raw)
In-Reply-To: <4C2246C1.2000206@workingcode.com>

arun b wrote:
> HI,
> Ok thanks, To agree it is a peer-issue (server ).
> few things to know..
> 1) In the logs it shows deflate , bsd   is that mean is PPPD tries for
> multiple types of encryption and fails?

Those are some of the supported data compression algorithms that can be
negotiated by pppd using CCP.  On a good day, it'll try to negotiate all
of them and use whatever is in common between the peers.  You can see it
offering all that it supports at once here:

sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]

RFC 1962 specifies that if you ask for multiple types, and if the peer
agrees to the list, then what you actually use is the first one on the
list ("deflate 15" above).  Thus, asking for them all at once is the
most reasonable thing to do.

However, if the peer refuses CCP, then it doesn't matter what types of
algorithms pppd implements.  Refusing CCP is the peer's way of saying "I
don't want to talk about data compression at all."  It likely means that
the peer doesn't implement any sort of data compression, because if it
implemented other methods, it would more likely offer some with a
Configure-Nak rather than a flat-out rejection.  You can see the peer
refusing to negotiate data compression here:

rcvd [LCP ProtRej id=0xa 80 fd 01 01 00 0f 1a 04 78 00
18 04 78 00 15 03 2f] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...

Protocol-Reject for 'Compression Control Protocol' (0x80fd) received

In PPP, you can refuse to negotiate any protocol or mechanism you want.
 If it's refused, there's really nothing pppd can do about it, but
either decide to plow ahead without the requested feature (as is done
for CCP) or terminate the link (as might be done for something like CHAP).

Nit: those aren't encryption mechanisms.  They're data compression only.

> 2)can we run this test for PPPoE?

Sure.  PPPoE is merely a low-level transport and tunneling mechanism.
It has nothing much to do with the PPP options and protocols.

> 3) what is shlc ?

I see nothing called "shlc" in any of your logs, nor do I know of
anything by that name.  If you have a question about a particular log
message or feature, I recommend quoting the actual message or
documentation you're reading in order to be clear.

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

  parent reply	other threads:[~2010-06-24 11:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23 17:39 PPP comression and extension info required James Carlson
2010-06-23 17:41 ` arun b
2010-06-23 17:59 ` arun b
2010-06-23 18:17 ` James Carlson
2010-06-24  5:13 ` arun b
2010-06-24  7:23 ` James Cameron
2010-06-24 10:18 ` arun b
2010-06-24 10:22 ` arun b
2010-06-24 11:10 ` James Carlson [this message]
2010-06-24 11:24 ` James Carlson
2010-06-24 13:55 ` arun b
2010-06-24 14:19 ` James Carlson
2010-06-24 16:48 ` arun b
2010-06-24 17:49 ` James Carlson
2010-06-25  0:51 ` arun b

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=4C233D33.508@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.