* how to use compress modul in ppp process
@ 2008-04-24 16:01 C.J
2008-04-24 16:09 ` Charlie Brady
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: C.J @ 2008-04-24 16:01 UTC (permalink / raw)
To: linux-ppp
Hi list,
I got some troubles on ppp_mppe. After successful negotiation with parameter mppc-128bit encrypt, I cannot get decompressed package.
Between server and client, I got the comp_data package with wireshark also in my client I can get this package( which is not decompressed at all ).
I found ppp_mppe module decomp_init has been called successful. But why it couldn't work for me?
I only know that we need call ioctl(PPPIOCSCOMPRESS) to set compressor and call ccp_test which is set COMP flags. Both of them I've use in my client.
Any ideas?
Thx & Regards
--
cj
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to use compress modul in ppp process
2008-04-24 16:01 how to use compress modul in ppp process C.J
@ 2008-04-24 16:09 ` Charlie Brady
2008-04-25 12:29 ` Charlie Brady
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Charlie Brady @ 2008-04-24 16:09 UTC (permalink / raw)
To: linux-ppp
On Fri, 25 Apr 2008, C.J wrote:
> I got some troubles on ppp_mppe. After successful negotiation with
> parameter mppc-128bit encrypt ...
MPPC is patent burdened, and not very widely available. Are you quite sure
that you have it available in your kernel (or kernel modules)?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: how to use compress modul in ppp process
2008-04-24 16:01 how to use compress modul in ppp process C.J
2008-04-24 16:09 ` Charlie Brady
@ 2008-04-25 12:29 ` Charlie Brady
2008-04-25 14:38 ` C.J
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Charlie Brady @ 2008-04-25 12:29 UTC (permalink / raw)
To: linux-ppp
On Fri, 25 Apr 2008, C.J wrote:
> Hi Charlie Brady
Please do not reply to just me. Please keep any replies on the list (and
preferably, only on the list).
>> MPPC is patent burdened, and not very widely available. Are you quite sure
>> that you have it available in your kernel (or kernel modules)?
> I knew that pppd can use ppp_mppe. On the mppe log there are some messages as below :
> comp count xxx: xxx
> decomp count xxx: xxx
> So we can tell it works for pppd well.
I don't know that anything you have said indicates that MPPC is available.
It rarely is.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Re: how to use compress modul in ppp process
2008-04-24 16:01 how to use compress modul in ppp process C.J
2008-04-24 16:09 ` Charlie Brady
2008-04-25 12:29 ` Charlie Brady
@ 2008-04-25 14:38 ` C.J
2008-04-25 14:43 ` Charlie Brady
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: C.J @ 2008-04-25 14:38 UTC (permalink / raw)
To: linux-ppp
Hi ,
>I don't know that anything you have said indicates that MPPC is available.
>It rarely is.
Sorry for mine behavior. I thought it maybe the pppol2tp driver's bug(have not handle this case). Now I'll ask l2tp user about that.
--
c.j
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Re: how to use compress modul in ppp process
2008-04-24 16:01 how to use compress modul in ppp process C.J
` (2 preceding siblings ...)
2008-04-25 14:38 ` C.J
@ 2008-04-25 14:43 ` Charlie Brady
2008-04-26 12:10 ` C.J
2008-04-28 1:27 ` James Cameron
5 siblings, 0 replies; 7+ messages in thread
From: Charlie Brady @ 2008-04-25 14:43 UTC (permalink / raw)
To: linux-ppp
On Fri, 25 Apr 2008, C.J wrote:
> Hi ,
>
>> I don't know that anything you have said indicates that MPPC is available.
>> It rarely is.
>
> Sorry for mine behavior. I thought it maybe the pppol2tp driver's
> bug(have not handle this case).
Why did you think that?
> Now I'll ask l2tp user about that.
I very much doubt that will be relevant.
l2tp is just an encapsulation layer which has nothing to do with MPPC.
Do you have a good reason for apparently ignoring my statement that MPPC
is usually not supported by the ppp modules in the kernel? Are you quite
sure that your kernel (or kernel modules) has been specifically patched to
support MPPC? If not, you cannot use MPPC, not matter how you configure
your client.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Re: how to use compress modul in ppp process
2008-04-24 16:01 how to use compress modul in ppp process C.J
` (3 preceding siblings ...)
2008-04-25 14:43 ` Charlie Brady
@ 2008-04-26 12:10 ` C.J
2008-04-28 1:27 ` James Cameron
5 siblings, 0 replies; 7+ messages in thread
From: C.J @ 2008-04-26 12:10 UTC (permalink / raw)
To: linux-ppp
Hi,
>Why did you think that?
Since I got a strange package with protocol field 0xFD(not 0x00FD).
I've read ppp_generic.txt and got that the upper layer should pass packages to ppp_generic driver with two octets protocol field.
So this should be finished on l2tp layer(channel preferably) or other kinds of channel.
>l2tp is just an encapsulation layer which has nothing to do with MPPC.
You are right.
>Do you have a good reason for apparently ignoring my statement that MPPC
>is usually not supported by the ppp modules in the kernel? Are you quite
>sure that your kernel (or kernel modules) has been specifically patched to
>support MPPC? If not, you cannot use MPPC, not matter how you configure
>your client.
Really? But in my machine(which kernel is 2.6, Debian system) has ppp_mppe module but no any patch. Also has other compress module such as bsd_comp, deflate.
Does this mean that kernel support it and I can use it?
Thanks so much for your kindly reply.
Regards.
--
c.j
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Re: how to use compress modul in ppp process
2008-04-24 16:01 how to use compress modul in ppp process C.J
` (4 preceding siblings ...)
2008-04-26 12:10 ` C.J
@ 2008-04-28 1:27 ` James Cameron
5 siblings, 0 replies; 7+ messages in thread
From: James Cameron @ 2008-04-28 1:27 UTC (permalink / raw)
To: linux-ppp
On Sat, Apr 26, 2008 at 08:10:50PM +0800, C.J wrote:
> Charlie wrote:
> >Do you have a good reason for apparently ignoring my statement that MPPC
> >is usually not supported by the ppp modules in the kernel? Are you quite
> >sure that your kernel (or kernel modules) has been specifically patched to
> >support MPPC? If not, you cannot use MPPC, not matter how you configure
> >your client.
> Really? But in my machine(which kernel is 2.6, Debian system) has
> ppp_mppe module but no any patch.
Debian kernels do not have MPPC support, because of (a) kernel.org
kernel does not have MPPC support, and (b) the patent issue.
The ppp_mppe module provides MPPE support, not MPPC support.
> Also has other compress module such as bsd_comp, deflate.
This is not relevant.
> Does this mean that kernel support it and I can use it?
No.
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-04-28 1:27 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-24 16:01 how to use compress modul in ppp process C.J
2008-04-24 16:09 ` Charlie Brady
2008-04-25 12:29 ` Charlie Brady
2008-04-25 14:38 ` C.J
2008-04-25 14:43 ` Charlie Brady
2008-04-26 12:10 ` C.J
2008-04-28 1:27 ` James Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).