Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 1998 14:51:01 +0200
From:      Ignatios Souvatzis <is@jocelyn.rhein.de>
To:        hm@hcs.de, Guido von Walter <gvw@brainaid.dascon.de>
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: Problems with ppp and idletimeout
Message-ID:  <19980818145101.B594@jocelyn.rhein.de>
In-Reply-To: <m0z8faF-0000dkC@hcswork.hcs.de>; from Hellmuth Michaelis on Tue, Aug 18, 1998 at 08:49:31AM %2B0200
References:  <199808172033.WAA00388@void1.dascon.de> <m0z8faF-0000dkC@hcswork.hcs.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 18, 1998 at 08:49:31AM +0200, Hellmuth Michaelis wrote:
> 
> > Aug 12 09:50:43 firewall /kernel: isppp0: lcp input(opened): <echo-req id=0x21 l
> > en=12 22-f6-d9-74-0-6-3f-7b>
> > Aug 12 09:50:44 firewall /kernel: isppp0: got lcp echo req, sending echo rep
> > Aug 12 09:50:44 firewall /kernel: isppp0: lcp output <echo-reply id=0x21 len=12
> > 35-d9-ec-9c-0-6-3f-7b>
> > 
> > every ten seconds.
> 
> In this case, the kernel part sees traffic and this means to it that it must
> not hangup because something is still going on.
...
> 
> It seems that someone who has this problem should/must add some code
> (to i4b_isppp.c and perhaps other parts) to qualify packets and give 
> the kernel timeout mechanism hints, which traffic is "real" traffic
> and which traffic can be safely ignored for timeout purposes.

Uhm, you would even want to make this configurable, through a bpf-similar
language for example. Thats what the async PPP people did (whose stuff is
integrated at least in NetBSD (and I guess, OpenBSD; I'm not sure what
PPP FreeBSD ships with; you're the people with the userland PPP, right?)

Which creates another idea:
I'd like to see an interface where the hdlc level is provided to other kernel
modules, so that, e.g., I could do:

i4bhdlc0 at ... (whatever channel that happens to be)
ppp0 at i4b0

Of course, this is a long-term goal; the async ppp stuff would need to be split
up, too. OTOH, it is (or was originally) designed to have such an interface.

This way, isdn people could benefit from whatever work is already available
in the PPP module, and concentrate on debugging the difficult stuff.

Regards,
	Ignatios

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



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