Am Mittwoch, den 03.12.2014, 11:08 +0800 schrieb Cosmo Wu: > > and it parsed correctly using > command " pfctl -nf /etc/pf.conf.test" > > > > when I loaded it from the > command " pfctl -f /etc/pf.conf.test " > > > > it grumbled: > > > > pfctl: > DIOCXCOMMIT: Invalid argument
Happens usually, if the pf.conf is indeed correct if read on it's own, but something else in the current state of pf leads to a different result of a line than you might expect. In my case, usually flushing the queues before reloading them from pf.conf helps. -dd -- David Dahlberg Fraunhofer FKIE, Dept. Communication Systems (KOM) | Tel: +49-228-9435-845 Fraunhoferstr. 20, 53343 Wachtberg, Germany | Fax: +49-228-856277