bin/89058: [pf] pfctl(8) parser is too terse when detecting syntax in table specification

Vladimír Kotal vlada at devnull.cz
Tue Nov 15 11:20:19 PST 2005


The following reply was made to PR bin/89058; it has been noted by GNATS.

From: =?ISO-8859-1?Q?Vladim=EDr_Kotal?= <vlada at devnull.cz>
To: bug-followup at FreeBSD.org,
 =?ISO-8859-1?Q?Vladim=EDr_Kotal?= <vlada at devnull.cz>
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.
 


More information about the freebsd-pf mailing list