From owner-freebsd-hackers Sat Feb 15 16:12:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA27188 for hackers-outgoing; Sat, 15 Feb 1997 16:12:59 -0800 (PST) Received: from panda.hilink.com.au (panda.hilink.com.au [203.2.144.5]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA27181 for ; Sat, 15 Feb 1997 16:12:53 -0800 (PST) Received: (from danny@localhost) by panda.hilink.com.au (8.7.6/8.7.3) id LAA13003; Sun, 16 Feb 1997 11:13:33 +1100 (EST) Date: Sun, 16 Feb 1997 11:13:32 +1100 (EST) From: "Daniel O'Callaghan" To: Charles Mott cc: freebsd-hackers@freebsd.org Subject: Re: User ppp keepalive logic In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 15 Feb 1997, Charles Mott wrote: > I was thinking it would be a good idea to only run keepalive logic on > incoming packets and not outgoing packets in user ppp. > [snip] > > If the keepalive only worked on incoming packets, it would handle the > error condition where packets go out but never come back. > > I am going to do this for my own purposes, but I wondered whether people > felt it might be a good idea for the freebsd distribution. Sounds very reasonable. Have you had a look at kernel pppd/if_ppp? I'd really like to get idle-timeout going there. Some of the code is there, wrapped around #if _linux_ in pppd, but availabe in sys/net/if_ppp.c. It looks like someone implemented the last-packet deltas in the kernel, but did not finish making it work in the daemon. Does anyone have any ideas here? Danny