From owner-freebsd-doc Wed Oct 18 8:30: 8 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C51AB37B4E5 for ; Wed, 18 Oct 2000 08:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA61896; Wed, 18 Oct 2000 08:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id DC0E737B4C5; Wed, 18 Oct 2000 08:26:15 -0700 (PDT) Message-Id: <20001018152615.DC0E737B4C5@hub.freebsd.org> Date: Wed, 18 Oct 2000 08:26:15 -0700 (PDT) From: bigotfo@bigfoot.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: docs/22088: ppp filter documentation errors Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22088 >Category: docs >Synopsis: ppp filter documentation errors >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 18 08:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: John Murphy >Release: 4.1 >Organization: >Environment: FreeBSD wall.my.domain 4.1-RELEASE FreeBSD 4.1-RELEASE #4: Tue Oct 17 15:45:55 BST 2000 root@wall.my.domain:/usr/src/sys/compile/WALL i386 >Description: Section 6.2 'Playing with PPP filters' of the pedantic ppp primer at: http://www.freebsd.org/tutorials/ppp/x879.html refers to filter syntax as afilter, dfilter, ifilter etc. whereas they actually need to be filter alive, filter dial etc. ----------------------Also--------------------------------------------- /usr/share/examples/ppp/ppp.conf.sample Shows example filter lines of the form: set filter alive 0 deny udp src eq 520 # routed set filter alive 1 deny udp dst eq 520 # routed set filter alive 2 deny udp src eq 513 # rwhod set filter alive 3 deny udp src eq 525 # timed All of these lines fail with syntax errors like: Warning: ParseUdpOrTcp: bad src/dst port syntax: Apparently because of the remarks! >How-To-Repeat: Use 'set filter' lines in ppp.conf with trailing remarks. >Fix: Remove the remarks, or suggest in /usr/share/examples/ppp/ppp.conf.sample that trailing remarks should not be left on filter lines in a working ppp.conf. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message