From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 16 05:00:45 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5989016A41F for ; Thu, 16 Jun 2005 05:00:45 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A50A43D55 for ; Thu, 16 Jun 2005 05:00:45 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5G50ifk074416 for ; Thu, 16 Jun 2005 05:00:44 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5G50iiK074410; Thu, 16 Jun 2005 05:00:44 GMT (envelope-from gnats) Resent-Date: Thu, 16 Jun 2005 05:00:44 GMT Resent-Message-Id: <200506160500.j5G50iiK074410@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Boris Kovalenko Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C02FF16A41C for ; Thu, 16 Jun 2005 04:54:15 +0000 (GMT) (envelope-from boris@ntmk.ru) Received: from mail.ntmk.ru (mail.ntmk.ru [217.114.241.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DDCD43D48 for ; Thu, 16 Jun 2005 04:54:14 +0000 (GMT) (envelope-from boris@ntmk.ru) Received: from boris.nikom.ru ([10.1.16.195]) by mail.ntmk.ru with esmtp (Exim 4.51) id 1DimOL-0003Oq-0s for FreeBSD-gnats-submit@freebsd.org; Thu, 16 Jun 2005 10:54:13 +0600 Received: from boris by boris.nikom.ru with local (Exim 4.51 (FreeBSD)) id 1DimOK-000LYC-UN for FreeBSD-gnats-submit@freebsd.org; Thu, 16 Jun 2005 10:54:12 +0600 Message-Id: Date: Thu, 16 Jun 2005 10:54:12 +0600 From: Boris Kovalenko Sender: User Boris To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/82306: PPP ip-pool regression due CARP implementation X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Boris Kovalenko List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 05:00:45 -0000 >Number: 82306 >Category: bin >Synopsis: PPP ip-pool regression due CARP implementation >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 16 05:00:43 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Boris Kovalenko >Release: FreeBSD 5.4-STABLE i386 >Organization: JSC "TAGNet" >Environment: System: FreeBSD boris.nikom.ru 5.4-STABLE FreeBSD 5.4-STABLE #1: Wed May 11 09:37:01 YEKST 2005 root@boris.nikom.ru:/usr/obj/usr/src/sys/BSYS i386 >Description: I use FreeBSD as PPPoE dialin server. The configuration is very simple pppoe: enable pap disable chap allow mode direct set mru 1492 set mtu 1492 set speed sync set ifaddr x.x.x.254 x.x.x.225-x.x.x.250 255.255.255.255 set dns x.x.x.1 enable dns accept dns set timeout 3600 enable lqr echo set lqrperiod 15 set echoperiod 15 There was no problems with this configuration in 4.9 and 5.2.1 branches. But when I have upgraded to 5.4 - ppp began to assign duplicate ips to clients!!! So, clients are stop working. Gleb Smirnoff explained that problem is with CARP implementation where some check for duplicating ips was removed from kernel. But this makes /usr/sbin/ppp ip-pool feature useless, and even this is regression! Now we can not use ppp without RADIUS (which should support of ip-pool feature itself). >How-To-Repeat: Try to make ppp dialin server with 5.4 and connect many clients to it >Fix: Really don't know how. But IMHO we should introduce some option like (disable carp) and implement duplicate ip checking in ppp code. >Release-Note: >Audit-Trail: >Unformatted: