Andy Gay | 2 Nov 06:56 2003
Picon

Strange stuff in syslog...

Hi all -

I'm working with pppd on an embedded Linux box, pppd claims to be 
version 2.4.2b3 when it's started up. The log messages during link 
negotiation have characters missing in several places - see the example 
below. There don't seem to be any other bad effects - the link comes up 
fine. Any idea what's going on here?

Nov  2 00:22:25 pppd[349]: sent [LCP ConfReq id=0x10 syncmap 0x0> agic 
0x1c299461> comp> ccomp>]
Nov  2 00:22:25 pppd[349]: rcvd [LCP ConfReq id=0x2 ru 1514> syncmap 
0x0> uth chap MD5> agic 0x7c0b69fd> comp> ccomp>]
Nov  2 00:22:25 pppd[349]: sent [LCP ConfNak id=0x2 uth pap>]
Nov  2 00:22:26 pppd[349]: rcvd [LCP ConfAck id=0x10 syncmap 0x0> agic 
0x1c299461> comp> ccomp>]
Nov  2 00:22:26 pppd[349]: rcvd [LCP ConfReq id=0x3 ru 1514> syncmap 
0x0> uth pap> agic 0x7c0b69fd> comp> ccomp>]
Nov  2 00:22:26 pppd[349]: sent [LCP ConfAck id=0x3 ru 1514> syncmap 
0x0> uth pap> agic 0x7c0b69fd> comp> ccomp>]
Nov  2 00:22:26 pppd[349]: sent [LCP EchoReq id=0x0 magic=0x1c299461]
Nov  2 00:22:26 pppd[349]: sent [PAP AuthReq id=0x1 user="xxxx" 
password=idden>]
Nov  2 00:22:26 pppd[349]: rcvd [LCP EchoRep id=0x0 magic=0x7c0b69fd]
Nov  2 00:22:26 pppd[349]: rcvd [PAP AuthAck id=0x1 ""]
Nov  2 00:22:26 pppd[349]: PAP authentication succeeded
Nov  2 00:22:26 pppd[349]: sent [CCP ConfReq id=0x1 eflate 15> 
eflate(old#) 15> sd v1 15>]
Nov  2 00:22:26 pppd[349]: sent [IPCP ConfReq id=0x1 ompress VJ 0f 01> 
ddr 0.0.0.0> s-dns1 0.0.0.0> s-dns3 0.0.0.0>]
Nov  2 00:22:26 pppd[349]: rcvd [IPCP ConfReq id=0x4 ompress VJ 0f 00> 
(Continue reading)

James Cameron | 2 Nov 23:09 2003
Picon

Re: ppp library for c?

Yes, you could replace main() with ppp() and then call it, and it will
be like exec()'ing pppd.  It will presumably either return or call
exit() when it completes.

But why would you bother?  It is so much easier to fork() and exec() the
pppd, and then communicate with it over the process boundary.  Using
separate processes makes it "safer", because your program defects won't
as easily create damage.

I've written programs which call pppd using fork() and exec().

--

-- 
James Cameron
Software Security Response Team, Linux Level 2, Tru64 Level 1
HP Services, Asia Pacific
-
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

Abdul J | 3 Nov 22:05 2003
Picon

Default MRRU behaviour

Hi,

I am using PPP-2.4.1 on a Redhat 7.3, Kernel 2.4.20
machine.

I am using the Multilink option to bundle 4
(satellite)links. My question is regarding the
fragmentation of TCP/IP packets at the MLPPP layer.

Does MLPPP (as implementation in PPP-2.4.1) by default
fragments every data packet and sends one fragment on
each link of the bundle?

Can I change the way fragmentation is done by
modifying the MRRU,MRU and the data segment size. 

Please give your comments.

Thanks,
Abdul.

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
-
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

(Continue reading)

Sripat.Sringkarn | 4 Nov 12:06 2003
Picon

How to find VJ compression in Redhat linux 9

Dear All,

Now I am using Redhat Linux 9.0 and need to modify VJ header compression
mechanism with my improved TCP header compression mechanism for testing, So
anyone help me how I can find the VJ header compression source code in
Redhat Linux 9.0.

Best Regards.
------------------------------------------------------------------------------------

Sripat Sringkarn
GPRS Design Engineer

TA Orange Co., Ltd.
968 U Chu Liang Building,
12Fl., Rama IV Road, Silom, Bangrak
Bangkok 10500, Thailand
Direct Phone   +66 (0) 2-647-5060
Mobile Phone  +66 (0) 9-100-6234
Fax Number    +66 (0) 2-647-4028

Disclaimer:
******************************************************************************
Important
Confidentiality: This Information is intended for the above-named person and
may contain confidential and/or legally privileged material. Any opinions expressed in this
information are not necessarily those of the company.  If it has come to you in error you must take no action
based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately.

Monitoring/Viruses
(Continue reading)

Paul Mackerras | 4 Nov 12:48 2003
Picon

Re: How to find VJ compression in Redhat linux 9

Sripat.Sringkarn <at> orange.co.th writes:

> Now I am using Redhat Linux 9.0 and need to modify VJ header compression
> mechanism with my improved TCP header compression mechanism for testing, So
> anyone help me how I can find the VJ header compression source code in
> Redhat Linux 9.0.

drivers/net/slhc.c in the kernel source.
-
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

Jörg Sommer | 4 Nov 21:47 2003
Picon

Ooops, linux 2.6.0-test9

Unable to handle kernel NULL pointer dereference at virtual address 00000024
printing eip:
cc85f8f7
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<cc85f8f7>]    Not tainted
EFLAGS: 00010217
EIP is at ppp_ioctl+0x555/0x710 [ppp_generic]
eax: 00000001   ebx: bffff704   ecx: 00000000   edx: 00000000
esi: cbd9d8a0   edi: 00000000   ebp: c2d15f74   esp: c2d15f64
ds: 007b   es: 007b   ss: 0068
Process pppd (pid: 7548, threadinfo=c2d14000 task=ca0ad3a0)
Stack: 00000000 00000000 00000000 00000000 00000021 00000001 c01ca89a 00000003
bffff704 c08eebe0 4008744b ffffffe7 c014bc2b c317c340 c08eebe0 4008744b
bffff704 c2d14000 c2d14000 00000004 400135cc bffff934 c2d14000 c0108807
Call Trace:
[<c01ca89a>] sys_socketcall+0x123/0x1cd
[<c014bc2b>] sys_ioctl+0x1d2/0x217
[<c0108807>] syscall_call+0x7/0xb

Code: 0f ba 72 24 00 19 c0 85 c0 0f 84 8e 01 00 00 0f ba 6a 24 03 
Sripat.Sringkarn | 5 Nov 08:07 2003
Picon

How to make modified VJ header compression effect after

Dear All,

When does PPP call VJ header compression? and if I modify VJ header
compression in "slhc.c" file how I can do to make my modification work?
Need recompile all PPPD and socket module?

Best Regards.
------------------------------------------------------------------------------------

Sripat Sringkarn
GPRS Design Engineer

TA Orange Co., Ltd.
968 U Chu Liang Building,
12Fl., Rama IV Road, Silom, Bangrak
Bangkok 10500, Thailand
Direct Phone   +66 (0) 2-647-5060
Mobile Phone  +66 (0) 9-100-6234
Fax Number    +66 (0) 2-647-4028

Disclaimer:
******************************************************************************
Important
Confidentiality: This Information is intended for the above-named person and
may contain confidential and/or legally privileged material. Any opinions expressed in this
information are not necessarily those of the company.  If it has come to you in error you must take no action
based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately.

Monitoring/Viruses
TA Orange reserves the right to monitor all incoming and outgoing emails via TA Orange system. Although we
(Continue reading)

Gavin Davenport | 5 Nov 14:35 2003
Picon
Picon

pppd crashing or stupid admin ??

Hi there all, I'm usually ok with pppd but I'm really stuck on this.

I'm trying to configure pppd on a cobalt linux server.
Linux 2.4.19C6_V, ppp-2.4.1b2-C1.

I'm trying to dial a nortel CVX (whatever that is), which works when you
dial using windows (2000 or XP) and you have 'multilink for single link
connections' enabled.

If I try to enable multilink in my ppp options file, the connection doesn't
succeed, and pppd bombs out (Inappropriate ioctl for device).
Nov  5 13:05:32 server pppd[7869]: pppd 2.4.1b2 started by root, uid 0
Nov  5 13:05:56 server pppd[7869]: Serial connection established.
Nov  5 13:05:56 server pppd[7869]: using channel 149
Nov  5 13:05:56 server pppd[7869]: Connect:  <--> /dev/ttyS0
Nov  5 13:05:57 server pppd[7869]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x709cf0ce> <pcomp> <accomp> <mrru 1500> <endpoint
[MAC:00:10:e0:06:13:af]>]
Nov  5 13:05:57 server pppd[7869]: rcvd [LCP ConfReq id=0x1 <mru 1500>
<asyncmap 0xa0000> <auth chap MD5> <magic 0xba0481d8> <pcomp> <accomp> <mrru
1506>]
Nov  5 13:05:57 server pppd[7869]: sent [LCP ConfAck id=0x1 <mru 1500>
<asyncmap 0xa0000> <auth chap MD5> <magic 0xba0481d8> <pcomp> <accomp> <mrru
1506>]
Nov  5 13:05:57 server pppd[7869]: rcvd [LCP ConfRej id=0x1 <endpoint
[MAC:00:10:e0:06:13:af]>]
Nov  5 13:05:57 server pppd[7869]: sent [LCP ConfReq id=0x2 <asyncmap 0x0>
<magic 0x709cf0ce> <pcomp> <accomp> <mrru 1500>]
Nov  5 13:05:58 server pppd[7869]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>
<magic 0x709cf0ce> <pcomp> <accomp> <mrru 1500>]
(Continue reading)

Bill Unruh | 5 Nov 15:11 2003
Picon
Picon

Re: pppd crashing or stupid admin ??

On Wed, 5 Nov 2003, Gavin Davenport wrote:

> Hi there all, I'm usually ok with pppd but I'm really stuck on this.
> 
> I'm trying to configure pppd on a cobalt linux server.
> Linux 2.4.19C6_V, ppp-2.4.1b2-C1.
> 
> I'm trying to dial a nortel CVX (whatever that is), which works when you
> dial using windows (2000 or XP) and you have 'multilink for single link
> connections' enabled.

No idea.

However you state that if you connect without multilink yo uget a
connection, but have routing problems. routing problems are different
from ppp. a ppp connection is by definition a point to point
connection-- ie it connects two machines together and sends packets from
one to the other. It does NOT handle routing. Thus, if you can ping the
IP address of the other machine from your machine than ppp has done all
it can do. 

Routing is taken care of by other programs-- eg using the route command. 
pppd has the option of taking care of a little bit of this for you with
the defaultroute option, where in addition to setting up the ppp
connection, pppd will also run the equivatlent of the command
route add default ppp0
for you. However it will ONLY do this if NO default route already
exists. Ie, if befor you run pppd, the output of the 
route
command indicates that a default route exists, then pppd will not set up
(Continue reading)

Gavin Davenport | 5 Nov 15:22 2003
Picon
Picon

RE: pppd crashing or stupid admin ??

>> Routing is taken care of by other programs-- eg using the route command.

The box I'm dialling from has eth0 and eth1 already, so I can't use the
defaultroute option.

Under linux, when I dial it up and get the peer and interface listed in
ifconfig,
and I can ping the peer

When I add a "host" route to the target - the host is unroutable
(traceroutes don't answer after the dial peer).

Under windows, I dial it, add the host route, hey presto the target host is
accessible (down the dial link) !
If I don't have multilink for single link connections ticked under windows,
it doesn't work.

I didn't build the kernel on this host, and the sources from it was built
are not on the machine.
I don't know how to tell if the ppp_generic module i have loaded is
multilink capable.

I'm stuck :(

Gavin

-
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
(Continue reading)


Gmane