From owner-freebsd-isp@FreeBSD.ORG Tue Mar 8 15:01:50 2005 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93A7A16A4CE for ; Tue, 8 Mar 2005 15:01:50 +0000 (GMT) Received: from smtp4.wlink.com.np (smtp4.wlink.com.np [202.79.32.87]) by mx1.FreeBSD.org (Postfix) with SMTP id 53B1243D49 for ; Tue, 8 Mar 2005 15:01:47 +0000 (GMT) (envelope-from bikrant_ml@wlink.com.np) Received: (qmail 89685 invoked from network); 8 Mar 2005 15:01:42 -0000 Received: from unknown (HELO av-scanner-02.wlink.com.np) (202.79.32.91) by 0 with SMTP; 8 Mar 2005 15:01:42 -0000 Received: (qmail 83751 invoked by uid 1009); 8 Mar 2005 15:01:39 -0000 Received: from bikrant_ml@wlink.com.np by av-scanner-02.wlink.com.np by uid 1003 with qmail-scanner-1.20 ( Clear:RC:1(202.79.32.78):. Processed in 0.014503 secs); 08 Mar 2005 15:01:39 -0000 Received: from smtp3.wlink.com.np (202.79.32.78) by av-scanner-02.wlink.com.np with SMTP; 8 Mar 2005 15:01:39 -0000 Received: (qmail 7004 invoked by uid 514); 8 Mar 2005 15:01:42 -0000 Received: from [202.79.45.235] (HELO HOME) by smtp3.wlink.com.np (qmail-smtpd) with SMTP; 08 Mar 2005 15:01:41 -0000 (Tue, 08 Mar 2005 20:46:41 +0545) Message-ID: <002a01c523ef$bc5af280$eb2d4fca@HOME> From: "Bikrant Neupane" To: Date: Tue, 8 Mar 2005 20:46:38 +0545 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Check-By: smtp3.wlink.com.np Spam: No ; -4.9 / 5.0 X-Spam-Status-WL: No, hits=-4.9 required=5.0 cc: freebsd-net@freebsd.org Subject: Session Timeout issue in pppoed X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 15:01:50 -0000 Hi, I have a pppoe server on FreeBSD 4.10. I have configured my Radius Server ( radiator) to set Session-Timeout parameter so that the clients who are using prepaid hour based service get disconnected when their time is over. In the ppp.log file I see the the Sessio-Timeout being accepted by the server. In the mean time the same connection has another Session-Timeout parameter set whose value is 0!! As a result the clients do not get dsconnected at the specified time. I guess this is configuration issue/problem with ppp rather than pppoed. this is a portion of my ppp.log file. ppp[18466]: Phase: PPP Started (direct mode). ppp[18466]: Phase: bundle: Establish ppp[18466]: Phase: deflink: closed -> opening ppp[18466]: Phase: deflink: Link is a netgraph node ppp[18466]: Phase: deflink: Connected! ppp[18466]: Phase: deflink: opening -> carrier ppp[18466]: Phase: deflink: carrier -> lcp ppp[18466]: Phase: bundle: Authenticate ppp[18466]: Phase: deflink: his = none, mine = PAP ppp[18466]: Phase: Pap Input: REQUEST (gomez5) ppp[18466]: Phase: Radius: Request sent ppp[18466]: Phase: Radius(auth): ACCEPT received ppp[18466]: Phase: MTU 768 ppp[18466]: Phase: VJ enabled ppp[18466]: Phase: Session-Timeout 29218 <<<<< ppp[18466]: Phase: Session-Timeout 0 <<<<< ppp[18466]: Phase: Pap Output: SUCCESS ppp[18466]: Phase: deflink: lcp -> open ppp[18466]: Phase: bundle: Network ppp[18466]: Phase: Radius(acct): Accounting response received Here is my ppp.conf file default: allow users enable pap allow mode direct set mru 1492 set mtu 1492 set speed sync set timeout 172800 #2 days: 48hrs enable lqr set ifaddr 202.79.xx.xx 202.79.xx.xx-202.79.xx.xx load server set radius /etc/radius.conf accept dns Any idea why this is happening?? Please suggest. Thank you, Bikrant