PF syntax error

Jon Radel jon at radel.com
Wed Oct 15 21:54:16 UTC 2008


Jeremy Chadwick wrote:
> On Wed, Oct 15, 2008 at 12:00:50PM -0500, Peter Clark wrote:
>> I am trying my hand at pf on a 7.0-p5 RELEASE box and one rule is giving  
>> me problems.
>>
>> pass in quick on $ext_if proto tcp from any to any port 22 flags S/SA \ 
>>
>>  (max-src-conn 15, max-src-conn-rate 5/3, overload <bruteforce> flush  
>> global)
>>
>> Actually the "pass in" line does not generate the error. The next line does.
>>
>> /etc/pf.conf:71: syntax error

Are you absolutely, positively positive that the backslash on the end of
the first line has no space or tab character after it and is escaping
the newline character?  You're trying to split a single line into two,
and that has to be done just so.

--Jon Radel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3283 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20081015/8911a82b/smime.bin


More information about the freebsd-pf mailing list