From razor@ldc.ro  Mon Oct 29 13:42:20 2001
Return-Path: <razor@ldc.ro>
Received: from ldc.ro (ldc-gw.rdsnet.ro [213.157.163.8])
	by hub.freebsd.org (Postfix) with SMTP id 5715C37B403
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Oct 2001 13:42:19 -0800 (PST)
Received: (qmail 87079 invoked by uid 666); 25 Oct 2001 22:03:45 -0000
Message-Id: <20011025220345.87059.qmail@ldc.ro>
Date: 25 Oct 2001 22:03:45 -0000
From: Alex Popa <razor@ldc.ro>
Reply-To: Alex Popa <razor@ldc.ro>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: /etc/ppp/pap-secrets needs IP field, which is not listed as mandatory
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         31607
>Category:       docs
>Synopsis:       /etc/ppp/pap-secrets needs IP field, which is not listed as mandatory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 29 13:50:01 PST 2001
>Closed-Date:    Tue Dec 18 00:39:30 PST 2001
>Last-Modified:  Tue Dec 18 00:39:48 PST 2001
>Originator:     Alex Popa
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
None 
>Environment:
System: FreeBSD ns.ldc.ro 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Fri Sep 21 17:54:34 EEST 2001 root@ns.ldc.ro:/usr/src/sys/compile/NS i386


	
>Description:

	The pppd(8) man page states (around line 818 on a cons25 terminal)
	that "Thus each line in a secrets file has at least 3 fields:
	the name of  the  client,  the name  of  the server, and the
	secret.  These fields may be followed by a list of the IP
	addresses that the specified client may use when connecting to
	the specified server." (note: AUTHENTICATION section of the
	manpage)

	Not having the fourth field, the IP address, in the file will
	cause all PAP authentication attempts to fail.  Having the
	fourth field causes PAP auth to work as expected.


	
>How-To-Repeat:
	
>Fix:
	Mention the fourth (IP) field is mandatory, in the manpage;
	alternatively, have pppd accept auth even if the 4th field is
	not present.
	
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->brian 
Responsible-Changed-By: dd 
Responsible-Changed-When: Sun Nov 4 14:34:02 PST 2001 
Responsible-Changed-Why:  
Over to PPP maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31607 
Responsible-Changed-From-To: brian->freebsd-doc 
Responsible-Changed-By: brian 
Responsible-Changed-When: Mon Nov 5 03:02:29 PST 2001 
Responsible-Changed-Why:  
I don't do pppd(8) I'm afraid 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31607 

From: Hiten Pandya <hitmaster2k@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org, razor@ldc.ro, doc@FreeBSD.org
Cc:  
Subject: Re: docs/31607: /etc/ppp/pap-secrets needs IP field, which is not listed 
 as mandatory
Date: Thu, 13 Dec 2001 22:37:22 +0000

 The last field (the fourth field) is not must, but it is only
 used in special cases when the user has been given an ip
 address my their ISP.  As most ISPs do not allow the user to
 assign IP addresses;  the IP addresses are picked out from an
 IP Pool at the ISPs end.
 
 The following is a typical format of the ppp-secrets file:
 
 # Secrets for authentication using PAP
 # client     server     secret     acceptable_local_IP_addresses
 
 Summary: The use of the fourth field is to _force_ the ppp server
 to assign the ip address provided in field.  It is very
 unlikely (security matters), that ppp servers would allow a
 remote client to set the IP number they are to be given.
 
 Note: This PR can now be succefully closed after clarifying the
 issue regarding the fourth field of the /etc/pap-secrets file.
 
 If any one who is reading this followup-trail would like to
 clarify this with external sources, i would suggest you start out
 with http://www.linuxdoc.org/HOWTO/PPP-HOWTO/, which is a good
 source on PPP related information.
 
 Thanks,
 =Hiten
 =<hiten@uk.FreeBSD.org>

From: Hiten Pandya <hiten@uk.FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: re: docs/31607
Date: Tue, 18 Dec 2001 06:33:15 +0000

 This PR can now be closed, as discussion about this topic has already
 been carried out on the -doc mailing list, as it has also been clarified
 with the Linux PPP-HowTO about how to resolve the issue.
 
 No Patches are needed.
 
 =Hiten
 =<hiten@uk.FreeBSD.org>
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Tue Dec 18 00:39:30 PST 2001 
State-Changed-Why:  
Asked and answered. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31607 
>Unformatted:
