From owner-freebsd-pf@FreeBSD.ORG Tue Nov 15 19:20:19 2005 Return-Path: X-Original-To: freebsd-pf@hub.freebsd.org Delivered-To: freebsd-pf@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4E1716A41F for ; Tue, 15 Nov 2005 19:20:19 +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 6DBA043D49 for ; Tue, 15 Nov 2005 19:20:19 +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 jAFJKJ8d090121 for ; Tue, 15 Nov 2005 19:20:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAFJKJS5090120; Tue, 15 Nov 2005 19:20:19 GMT (envelope-from gnats) Date: Tue, 15 Nov 2005 19:20:19 GMT Message-Id: <200511151920.jAFJKJS5090120@freefall.freebsd.org> To: freebsd-pf@FreeBSD.org From: =?ISO-8859-1?Q?Vladim=EDr_Kotal?= Cc: Subject: Re: bin/89058: [pf] pfctl(8) parser is too terse when detecting syntax in table specification X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?ISO-8859-1?Q?Vladim=EDr_Kotal?= List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 19:20:19 -0000 The following reply was made to PR bin/89058; it has been noted by GNATS. From: =?ISO-8859-1?Q?Vladim=EDr_Kotal?= To: bug-followup@FreeBSD.org, =?ISO-8859-1?Q?Vladim=EDr_Kotal?= Cc: Subject: Re: bin/89058: [pf] pfctl(8) parser is too terse when detecting syntax in table specification Date: Tue, 15 Nov 2005 20:10:55 +0100 The -n option does not even report the syntax error help because of this code in pfctl.c: if (parse_rules(fin, &pf) < 0) { if ((opts & PF_OPT_NOACTION) == 0) ERRX("Syntax error in config file: " "pf rules not loaded"); else goto _error; } The -v option does not help either.