From owner-freebsd-hackers Tue Aug 5 16:07:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA11231 for hackers-outgoing; Tue, 5 Aug 1997 16:07:34 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA11209 for ; Tue, 5 Aug 1997 16:07:09 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id AAA04776; Wed, 6 Aug 1997 00:05:33 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.6/8.8.6) with ESMTP id AAA29431; Wed, 6 Aug 1997 00:05:32 +0100 (BST) Message-Id: <199708052305.AAA29431@awfulhak.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Brian J. McGovern" cc: hackers@FreeBSD.ORG Subject: Re: SIGURG on ppp drop In-reply-to: Your message of "Mon, 04 Aug 1997 16:40:05 EDT." <199708042040.QAA03104@spoon.beta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 06 Aug 1997 00:05:32 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Can I assume safely that if I am fetch'ing a file across a PPP link, and > that link goes down (thereby removing the route, and causing a "No > route to host" error message when pinging) that the fetch process will > receive a SIGURG? > > I'm curious, because I'm running some tests that require fetch to die if > the link goes down, and I want to try to catch SIGURG, and then "cleanup > and exit"(tm). Maybe if your ppp deletes the route in ppp.linkdown (or if ppp isn't in -auto or -ddial mode). In -auto & -ddial mode, the route won't get deleted and packets just get queued waiting for the line to come back up. I haven't tried the SIGURG bit myself though.... suck it & see. > -Brian -- Brian , Don't _EVER_ lose your sense of humour....