From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 28 11:40:15 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 2251F16A420 for ; Thu, 28 Jul 2005 11:40:15 +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 453C743D5F for ; Thu, 28 Jul 2005 11:40:12 +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 j6SBeCB0002807 for ; Thu, 28 Jul 2005 11:40:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6SBeCRf002806; Thu, 28 Jul 2005 11:40:12 GMT (envelope-from gnats) Resent-Date: Thu, 28 Jul 2005 11:40:12 GMT Resent-Message-Id: <200507281140.j6SBeCRf002806@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, Tsurutani Naoki Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22D8616A41F for ; Thu, 28 Jul 2005 11:30:41 +0000 (GMT) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: from polymer3.scphys.kyoto-u.ac.jp (polymer3.scphys.kyoto-u.ac.jp [130.54.55.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 932D643D45 for ; Thu, 28 Jul 2005 11:30:40 +0000 (GMT) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: from polymer3.scphys.kyoto-u.ac.jp (localhost [127.0.0.1]) by polymer3.scphys.kyoto-u.ac.jp (8.13.3/8.13.3/20030426-1) with ESMTP id j6SBUbH4009016; Thu, 28 Jul 2005 20:30:37 +0900 (JST) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: (from turutani@localhost) by polymer3.scphys.kyoto-u.ac.jp (8.13.3/8.13.1/Submit) id j6SBUbvw009015; Thu, 28 Jul 2005 20:30:37 +0900 (JST) (envelope-from turutani) Message-Id: <200507281130.j6SBUbvw009015@polymer3.scphys.kyoto-u.ac.jp> Date: Thu, 28 Jul 2005 20:30:37 +0900 (JST) From: Tsurutani Naoki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/84217: "enable proxy" is ignored in ppp.conf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tsurutani Naoki List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 11:40:15 -0000 >Number: 84217 >Category: bin >Synopsis: "enable proxy" is ignored in ppp.conf >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 28 11:40:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Tsurutani Naoki >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 5.4-STABLE FreeBSD 5.4-STABLE #6: Fri Jul 1 17:32:43 JST 2005 root@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386 >Description: When use /usr/sbin/ppp with PoPToP, "enable proxy" in /etc/ppp/ppp.conf is ignored. >How-To-Repeat: Always using ppp with PoPToP (installed from ports without any Macros). I have no serial line, so I don't know PoPToP affects this phenomna. my ppp.conf is as follows: loop: set log Phase Chat Connect LCP IPCP CCP tun command #set log All set device localhost:pptp set dial set login set ifaddr 10.1.1.1 10.1.1.101-10.1.1.105 255.255.255.128 set server /var/tmp/loop "" 0177 loop-in: set timeout 0 allow mode direct pptp: load loop set timeout 0 disable CHAP MSCHAP PAP enable MSCHAPv2 disable deflate pred1 deny deflate pred1 set mppe 128 stateless enable MPPE accept MPPE enable chap81 enable proxy set dns 10.1.1.1 accept dns When i write "enable proxy" prior to "set ifaddr ..." line, this does not occur. >Fix: I checked when entries in ppp.conf was interpreted with arranging code of ppp, and i found that function about proxy is called just after "set ifaddr" is treated. At that time, flag to enable proxy is not set yet, so if treating "enable proxy" later, nothing can happen. As i checked in above way, each entries in ppp.conf is treated one by one, but it is not correct way, i think. >Release-Note: >Audit-Trail: >Unformatted: