Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 1999 10:01:57 -0600
From:      Lars Fredriksen <lars@odin-corporation.com>
To:        paulo@nlink.com.br, freebsd-net@freebsd.org
Subject:   pppd and missing UI [was Problems with Trumpet winsock]
Message-ID:  <36E7E8F4.F2925E18@odin-corporation.com>

next in thread | raw e-mail | index | archive | help
Hi,
    I am seeing the same problem if I use the current pppd (this is on
current also) when I try to connect
with my ISP. However using a pppd from Feb last year:
fredriks-1# ident /usr/sbin/pppd
/usr/sbin/pppd:
     $Id: main.c,v 1.15 1997/10/10 09:28:37 peter Exp $
     $Id: magic.c,v 1.6 1997/08/19 17:52:42 peter Exp $
     $Id: fsm.c,v 1.7 1997/08/19 17:52:37 peter Exp $
     $Id: lcp.c,v 1.7 1997/08/19 17:52:40 peter Exp $
     $Id: ipcp.c,v 1.10 1997/08/22 12:03:54 peter Exp $
     $Id: upap.c,v 1.7 1997/08/19 17:52:47 peter Exp $
     $Id: chap.c,v 1.8 1997/08/19 17:52:34 peter Exp $
     $Id: ccp.c,v 1.7 1997/08/19 17:52:33 peter Exp $
     $Id: demand.c,v 1.3 1997/08/19 17:52:36 peter Exp $
     $Id: auth.c,v 1.21 1997/12/13 05:27:29 jdp Exp $
     $Id: options.c,v 1.16 1997/10/10 09:28:37 peter Exp $
     $Id: sys-bsd.c,v 1.12 1998/01/16 17:38:53 bde Exp $
     $Id: cbcp.c,v 1.3 1997/08/19 17:52:31 peter Exp $

it works fine. If you dump the packet as it comes in:
ppp0 input: ff 03 00 21 21 45 45 00 00 00 00 fa fa dd dd d0

You see the 0xff wich is the broadcast address, the 0x3 wich is the UI,
the compression flag 0x0 and
the protocol identifier 0x21. It appears that somehow the pppinput()
routine gets its sc_ilen reset to
1 for some reason sometime after it has already processed the ppp
header. I don't know yet as to why the older pppd doesn't trigger the
bug.

Lars



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36E7E8F4.F2925E18>