Date: Wed, 18 Oct 2000 08:26:15 -0700 (PDT) From: bigotfo@bigfoot.com To: freebsd-gnats-submit@FreeBSD.org Subject: docs/22088: ppp filter documentation errors Message-ID: <20001018152615.DC0E737B4C5@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001018152615.DC0E737B4C5>