Michael De Groat | 5 Jan 23:15 2005
Picon

PPP not connecting to PoPToP server

Hello:

When I run pptpconfig and try to connect to my server I get this in
debug:

pptpconfig: debug information dump begins
WARNING: security sensitive information follows
pptpconfig 1.2 2004/06/19 08:57:15
# pppd --version
pppd version 2.4.3
# uname -a
Linux zinc.numerica.us 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004
i686 Intel(R) Celeron(R) CPU 1.80GHz unknown GNU/Linux
# grep mppe /proc/modules
# modinfo ppp_mppe
Array
(
    [name] => numerica
    [server] => 216.17.193.45
    [domain] => 
    [username] => backup
    [password] => (hidden by pptpconfig)
    [pppd-options] => 
    [pptp-options] => 
    [resolv] => 192.168.2.253
    [dns-options] => 
    [routing] => routing_client_to_lan
    [usepeerdns] => 
    [require-mppe] => 
    [nomppe-40] => 
(Continue reading)

Anton Voronin | 6 Jan 12:46 2005
Picon

2.4.2 and 2.4.3 fail to test that kernel has MPPE support

Hi everyone,

I've got a problem with pppd-2.4.2 and 2.4.3 using MPPE with 2.4.x kernel.
The ccp_test() function from sys-linux.c returns -1, however kernel has MPPE 
support (ppp_mppe module gets loaded). With pppd-2.4.1, however, it works 
fine. While ccp_test() seems to be identical between versions 2.4.1 and 
2.4.2/2.4.3 of pppd, I noticed difference in the opt_buf argument supplied to 
ccp_test():

pppd-2.4.1:
======================================
        if(p[5] & MPPE_40BIT) {
            keysize = 8;
            BCOPY(mppe_master_send_key_40, opt_buf+3, keysize);
            BCOPY(mppe_master_recv_key_40, opt_buf+11, keysize);
        } else if(p[5] & MPPE_128BIT) {
            keysize = 16;
            BCOPY(mppe_master_send_key_128, opt_buf+3, keysize);
            BCOPY(mppe_master_recv_key_128, opt_buf+19, keysize);
        }
        if(p[5] != 0) {
            opt_buf[0]=CI_MPPE;
            opt_buf[1]=CILEN_MPPE;
            opt_buf[2] = (go->mppe_stateless) ? 1 : 0;
            res = ccp_test(f->unit, opt_buf, (2*keysize)+3, 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        } else {
            res = -1;
        }
======================================
(Continue reading)

ierdnah | 8 Jan 13:47 2005
Picon

kernel oops


Jan  3 14:22:00 warsheep Unable to handle kernel NULL pointer
dereference at virtual address 00000000
Jan  3 14:22:00 warsheep printing eip:
Jan  3 14:22:00 warsheep 00000000
Jan  3 14:22:00 warsheep *pde = 00000000
Jan  3 14:22:00 warsheep Oops: 0000 [#1]
Jan  3 14:22:00 warsheep PREEMPT SMP
Jan  3 14:22:00 warsheep Modules linked in:
Jan  3 14:22:00 warsheep CPU:    0
Jan  3 14:22:00 warsheep EIP:    0060:[<00000000>]    Not tainted
Jan  3 14:22:00 warsheep EFLAGS: 00010282
(2.6.7-hardened-r18-warsheep43-p4-ht-mod)
Jan  3 14:22:00 warsheep EIP is at 0x0
Jan  3 14:22:00 warsheep eax: cbd82000   ebx: cb501000   ecx: c0374e1a
edx: dfe24a54
Jan  3 14:22:00 warsheep esi: cb501000   edi: 00000000   ebp: cb8dde80
esp: cbbaee9c
Jan  3 14:22:00 warsheep ds: 007b   es: 007b   ss: 0068
Jan  3 14:22:00 warsheep Process pptpctrl (pid: 20340,
threadinfo=cbbae000 task=cf8e32e0)
Jan  3 14:22:00 warsheep Stack: c0378896 cbd82000 00000000 c0377891
cb501000 00628d67 c0491ec1 cb501000
Jan  3 14:22:00 warsheep cb50100c cb8dde80 00000000 c0372f45 cb501000
cb8dde80 00000000 c03f538f
Jan  3 14:22:00 warsheep cb8dde80 00000010 00000004 00000004 c029740e
cb8dde80 00000000 00000000
Jan  3 14:22:00 warsheep Call Trace:
Jan  3 14:22:00 warsheep [<c0378896>] pty_chars_in_buffer+0x2c/0x49
Jan  3 14:22:00 warsheep [<c0377891>] normal_poll+0xed/0x150
(Continue reading)

Andreas Mattheiss | 9 Jan 19:27 2005
Picon
Picon

Build Problems of ppp-2.4.3 against linux-2.4.29-pre2

Hello,

I'm trying to build ppp-2.4.3 on a linux system, kernel 2.4.29-pre2, but I'm
getting gobs of errors when building in the pppd subdirectory. The final
words are:

cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include
-DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1
-DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS
-I/overspill/sekundaer/include -I/usr/include/libpng12
-I/usr/src/linux/include  -c -o sys-linux.o sys-linux.c
In file included from /usr/src/linux/include/linux/init.h:5,
                 from /usr/src/linux/include/net/inetpeer.h:13,
                 from /usr/src/linux/include/net/route.h:29,
                 from sys-linux.c:109:
/usr/src/linux/include/linux/compiler.h:25: warning: _attribute_used__'
redefined
/usr/include/sys/cdefs.h:195: warning: this is the location of the previous
definition
In file included from /usr/src/linux/include/linux/signal.h:4,
                 from /usr/src/linux/include/linux/sched.h:26,
                 from /usr/src/linux/include/net/inetpeer.h:14,
                 from /usr/src/linux/include/net/route.h:29,
                 from sys-linux.c:109:
/usr/src/linux/include/asm/signal.h:26: warning: SIG' redefined
/usr/include/signal.h:185: warning: this is the location of the previous
definition
/usr/src/linux/include/asm/signal.h:70: warning: IGRTMIN' redefined
/usr/include/bits/signum.h:72: warning: this is the location of the previous
definition
(Continue reading)

adi | 9 Jan 20:52 2005

Cyclades PC400 alternative

Sorry if asking question on a wrong list .. :-)
Hope that someone could help.

Is there any PC400 card available on the market?
If it is not, where I could get the PC400 pci
card? On the cyclades official web pages, seems
like this product is already discontinued.

Thanks a lot.

Regards,

P.Y. Adi Prasaja
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Jean Lee | 10 Jan 12:11 2005
Picon

PPP features ?

Hello,

In order to write my own application, I would like to know where I can 
find information on the ppp stack features for linux 2.4.27. Does 
anybody know it ?

In particular, does the linux ppp stack implements the following 
protocols ? :
PAP, IPCP, IP header compression, CCP, LZS and NCP

Thank you for any help...

Jean Lee

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

James Carlson | 10 Jan 20:18 2005

Re: Build Problems of ppp-2.4.3 against linux-2.4.29-pre2

Andreas Mattheiss writes:
> I'm trying to build ppp-2.4.3 on a linux system, kernel 2.4.29-pre2, but I'm
> getting gobs of errors when building in the pppd subdirectory. The final
> words are:

This doesn't look at all like a ppp-2.4.3 problem.  It looks like a
problem with your compiler and/or system header files.

> /usr/src/linux/include/linux/compiler.h:25: warning: _attribute_used__'
> redefined
> /usr/include/sys/cdefs.h:195: warning: this is the location of the previous
> definition

Neither of those files comes with ppp-2.4.3.

> /usr/src/linux/include/asm/signal.h:26: warning: SIG' redefined
> /usr/include/signal.h:185: warning: this is the location of the previous
> definition

Nor do those.

> pppd.h:512: 	nfo' redeclared as different kind of symbol
> /usr/src/linux/include/net/dst.h:66: previous declaration of 	nfo'
> pppd.h:515: rror' redeclared as different kind of symbol
> /usr/src/linux/include/net/dst.h:52: previous declaration of rror'
> pppd.h:603: tput' redeclared as different kind of symbol
> /usr/src/linux/include/net/dst.h:58: previous declaration of tput'

That doesn't match the net/dst.h I've seen on Linux.

(Continue reading)

James Carlson | 10 Jan 19:57 2005

Re: PPP features ?

Jean Lee writes:
> In order to write my own application, I would like to know where I can 
> find information on the ppp stack features for linux 2.4.27. Does 
> anybody know it ?
> 
> In particular, does the linux ppp stack implements the following 
> protocols ? :
> PAP, IPCP

Yes to both.

> IP header compression

It has VJ (RFC 1144) header compression, but nobody has worked on the
newer patent-laden ROHC things.

>, CCP

Yes.

>, LZS

No, not by default.  It's patent-encumbered.  There are patches
floating around the 'net that reportedly add this.  Use at your own
risk.

(Patents aren't like copyrights, at least in much of the world.  You
can get sued successfully even if you write the darned thing from
scratch.  You can even get sued if you happened to invent it on your
own purely by accident.  Not sure about the situation in France ...)
(Continue reading)

Jean Lee | 11 Jan 08:49 2005
Picon

Re: PPP features ?

Hello James,

Thank you very much for your answer.
For the patents in France, I think it is like what you said so I will 
forgot LZS
For the NCP protocol, I am not sure but I think that it is IPCP + IP 
header compression + software compression (LZS) + CCP because it is 
wrotten like this :

/Network Control Protocol (NCP), for the PPP protocol integration 
control in the IPv4 layer :/
    /- protocol IPC management (Internet Protocol Control)/ I think that 
there is a mistake and that he want to speek about IPCP because I don't 
know IPC.
    /- IP header compression support/
    /- software compression support (LZS) optional./
   / - Compression Control Protocol (CCP)/

Does it have a meaning ?
Is there another software compression protocol than LZS which is available ?
Where did you find all this information ?

Regards,

Jean Lee

James Carlson wrote:

>Jean Lee writes:
>  
(Continue reading)

James Carlson | 11 Jan 14:38 2005

Re: PPP features ?

Jean Lee writes:
> For the NCP protocol, I am not sure but I think that it is IPCP + IP 
> header compression + software compression (LZS) + CCP because it is 
> wrotten like this :

That looks like a misunderstanding.  "Network Control Protocol" in the
context of PPP is just a generic term.  It's like saying "a feature"
or "a program."  It doesn't define any particular protocol.  Requiring
support for it is just nonsense.

So, yeah, sure, pppd supports NCP.  ;-}

> /Network Control Protocol (NCP), for the PPP protocol integration 
> control in the IPv4 layer :/
>     /- protocol IPC management (Internet Protocol Control)/ I think that 
> there is a mistake and that he want to speek about IPCP because I don't 
> know IPC.

That does indeed look quite garbled.

There is no such thing as "protocol IPC management."  I don't know
what that would mean in this context.

IPCP (RFC 1332) is indeed one of the PPP NCPs, and is the one you want
if you want to run IPv4.  (If you want IPv6, you need IPV6CP, a
separate NCP, which is also supported by pppd.)

>     /- IP header compression support/
>     /- software compression support (LZS) optional./
>    / - Compression Control Protocol (CCP)/
(Continue reading)


Gmane