Subject: Re: IPF parsing problems
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 08/17/2004 11:54:14
In article <Pine.NEB.4.61.0408170757480.12053@p2.piuha.net>,
Martti Kuparinen <martti.kuparinen@iki.fi> wrote:
>On Tue, 17 Aug 2004, Martti Kuparinen wrote:
>
>> Anyone else having these kind of problems with the
>> latest NetBSD 2.0_BETA?
>
>[Fixed the copy-paste errors]
>
>ROOT h18:~> echo | ipftest -r ~martti/ipf.conf
>ROOT h18:~>
>ROOT h18:~> ipf -V
>ipf: IP Filter: v4.1.1 (396)
>Kernel: IP Filter: v4.1.1 Running: yes
>Log Flags: 0 = none set
>Default: pass all, Logging: available
>Active list: 0
>Feature mask: 0x10a
>ROOT h18:~> uname -srm
>NetBSD 2.0_BETA i386
>
>
>
>ROOT h19:~> echo | ipftest -r ~martti/ipf.conf
>syntax error error at "S", line 2
>ROOT h19:~>
>ROOT h19:~> ipf -V
>ipf: IP Filter: v4.1.3 (396)
>Kernel: IP Filter: v4.1.3 Running: no
>Log Flags: 0 = none set
>Default: pass all, Logging: available
>Active list: 0
>Feature mask: 0x10a
>ROOT h19:~> uname -srm
>NetBSD 2.0_BETA i386
>
>
>
>ROOT h19:~> cat ~martti/ipf.conf
>pass in quick proto tcp from any to any port = 22 \
>  flags S keep state keep frags


It works if you don't split the line, so don't :-)

christos