[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pf macro syntax error...what am I missing?



On Tue, Oct 05, 2004 at 08:07:56PM -0500, Rick Barter wrote:
> I'm getting a syntax error when loading my pf rule set:
> 
> janus: /home/rvb01 $ sudo pfctl -nf pf.conf.example
> pf.conf.example:18: syntax error
> pf.conf.example:56: macro 'tcp_services' not defined
> pf.conf.example:56: syntax error
> 
> 
> Here is the portion of the pf.conf file to which the error message is 
> referring:
> 
> 8 #=================================
> 9 # Port Nbr Mapping
> 10 # Used for tcp_services macro
> 11 #=================================
> 12 ssh     = "22"
> 13 ident   = "113"
> 14 irc_dcc = "1023><1067"
> 15 web_svr = "80"
> 16 tomcat  = "8080"
> 17
> 18 tcp_services = "{" $ssh $ident $irc_dcc "}"

Hint #1...

irc_dcc = "{ 1023 >< 1067 }"