From owner-freebsd-current Tue Dec 15 11:48:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA15493 for freebsd-current-outgoing; Tue, 15 Dec 1998 11:48:38 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA15488 for ; Tue, 15 Dec 1998 11:48:35 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id TAA11894; Tue, 15 Dec 1998 19:44:54 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id KAA01588; Tue, 15 Dec 1998 10:45:30 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199812151045.KAA01588@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Christopher Hall cc: freebsd-current@FreeBSD.ORG Subject: Re: ppp tunnelling In-reply-to: Your message of "Mon, 14 Dec 1998 17:42:48 +0800." <199812140942.RAA04244@hsw.generalresources.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 Dec 1998 10:45:30 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That's what you get for being so -current ;-P This is a latency problem - one that's been made just a bit worse by yesterdays timer changes.... But the good news is that I've found the problem. The fix should be committed by the time you read this mail. Thanks for the report. > On a fairly recent make world (cvsu30220p about 12 hours ago) I rebuilt the > kernel with two tunnel devices to try to use the ppp.conf "loopback". > (from ppp.conf.sample file version 1.33) > > I tried the following: > > When I run the client ppp, the server ppp seems to hang, and kill is > needed to stop the server. > > Telnet to server ppp also hangs, there is no output from the server. > > Running ppp -direct loop-in prints 5 blocks of binary data. > > Replacing the server with a simple C program to output a couple of > lines of text and running the client interactive mode; the text shows > up when the "term" command is used. > > > > Here is the run: > > [hsw:/etc/ppp]# ppp -background loop > Working in background mode > Using interface: tun0 > Child failed (errdead). > [hsw:/etc/ppp]# > > > >From ps -ax: > > 698 ?? Is 0:00.04 ppp -direct loop-in > > > It looks to me like the server ppp is not doing any I/O once it has been > started by inetd. > > Just added the Async log flag and I can see the data is only received > by the server ppp _after_ it receives the signal 15 from the kill. > Might this suggest that it has not set the socket to non-blocking? > > > --- > Christopher Hall -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message