[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pf macro syntax error...what am I missing?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: pf macro syntax error...what am I missing?
- From: "Clint M. Sand" <clint_(_at_)_neotrance_(_dot_)_dyndns_(_dot_)_org>
- Date: Tue, 5 Oct 2004 22:45:40 -0400
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 }"
Visit your host, monkey.org