From turutani@polymer3.scphys.kyoto-u.ac.jp  Thu Jul 28 11:30:41 2005
Return-Path: <turutani@polymer3.scphys.kyoto-u.ac.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 22D8616A41F
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <turutani@scphys.kyoto-u.ac.jp>
Reply-To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: "enable proxy" is ignored in ppp.conf
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         84217
>Category:       bin
>Synopsis:       "enable proxy" is ignored in ppp.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 28 11:40:11 GMT 2005
>Closed-Date:    Sat Jul 18 21:41:20 UTC 2009
>Last-Modified:  Sat Jul 18 21:41:20 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Wed Aug 24 12:28:15 GMT 2005 
Responsible-Changed-Why:  
Assign to ppp(8) author. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84217 
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Fri May 29 06:35:44 UTC 2009 
State-Changed-Why:  
There's a bit in the manual page about this - in the PPP COMMAND LIST 
section (search for 'proxy'). 

The proxy entry cannot be made unless HISADDR is an address from a LAN 
connected to the host running ppp.  When HISADDR is assigned, the 
proxy arp entry is added, so check the log files for any messages 
suggesting that a proxy arp entry cannot be added when the link comes 
up. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84217 
State-Changed-From-To: closed->feedback 
State-Changed-By: brian 
State-Changed-When: Fri May 29 06:49:28 UTC 2009 
State-Changed-Why:  
Oops, 'feedback' is what I meant! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84217 
State-Changed-From-To: feedback->closed 
State-Changed-By: brian 
State-Changed-When: Sat Jul 18 21:39:41 UTC 2009 
State-Changed-Why:  
No response from the submitter in over 7 weeks.  I believe this is just a 
configuration issue as per my comments. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84217 
>Unformatted:
