Re: PPP loses compression sync when TCP transaction starts.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/22/07, James Cameron <james.cameron@xxxxxx> wrote:
> What is the underlying data link, /dev/pts/0 ?
>
> --
> James Cameron                         http://quozl.netrek.org/
> HP Open Source, Volunteer             http://opensource.hp.com/
> PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
>
Yep, I missed out some details here, sorry for that.

Since I have to route packets to/from ppp to/from my serial
connection, I have a shunt program that talks to a file descriptor
from /dev/ptmx and tell pppd to use the corresponding /dev/pts/0.

Hmm... more updates... I've realized that this problem does not occur
when using BSD-compression.

I dug on this a little further and noticed that in linux-2.4.18, there
are two files "zlib.[ch]" in drivers/net that's actually used by
ppp_deflate.c. Why is it not using the kernel's "inflate.c"?? I
noticed that these "zlib.[ch]" files are no longer in 2.6.20; so as an
experiment, I copied these two files from 2.4.18 including
drivers/net/ppp_deflate.c to 2.6.20 and use them instead; the result:
Deflate works!

Could there be a bug somewhere in the deflate code?

Cheers!
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux