NetBSD Problem Report #32772

From  Wed Feb  8 08:23:08 2006
Return-Path: <>
Received: from (unknown [])
	by (Postfix) with ESMTP id A4E5C63B873
	for <>; Wed,  8 Feb 2006 08:23:07 +0000 (UTC)
Message-Id: <>
Date: Wed,  8 Feb 2006 09:23:47 +0100 (CET)
Subject: pppoe(4) should (optionally) wait before retrying
X-Send-Pr-Version: 3.95

>Number:         32772
>Category:       kern
>Synopsis:       pppoe(4) should (optionally) wait before retrying
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    martin
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 08 08:25:00 +0000 2006
>Last-Modified:  Tue Mar 28 21:46:42 +0000 2006
>Originator:     Quentin Garnier
>Release:        NetBSD-current
Quentin Garnier - -
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
	Currently, pppoe(4) (and other users of sppp code) doesn't wait
	before retrying when configured to retry after e.g. a failed
	login.  Some PPPoE servers are not really happy about it, and
	take a lot of time to properly allow authentication when they
	are hammered that way, whereas waiting for a few seconds is
	enough to make them happy.

	I think it would be good to have an option to make the sppp
	code wait before retrying, for a configurable time.  Marin
	Husemann even suggested to have an incremental waiting time.
	Disconnect and reconnect too fast on some PPPoE servers.  It
	will fail all attempts for a long time before properly
	recovering, while downing the interface and upping a while
	later just works.
	Not provided.  From what I've started, it shouldn't be very
	difficult, using a callout.  However, one has to be very
	careful about the state of the callout when the user changes
	the state of the interface and so forth.

	Note that I won't be around the relevant PPPoE line before
	long, so I won't really be able to test anything (the line is
	20,000 kms away from where I usually live).



Responsible-Changed-From-To: kern-bug-people->martin
Responsible-Changed-When: Wed, 08 Feb 2006 08:32:01 +0000
I'll add the requested feature.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.