Re: [BUG] pfctl(8) silently accept directories as config files

2012-01-03 Thread Daniel Gracia Garallar
Maybe we can also hardcode the alias rm='rm -i', just in case. Your intentions are nice, but that are too much lines for a naive test that a serious 'root' would have hit with a simple -and mandatory- 'pfctl -s rules'. El 02/01/2012 18:59, Stephane A. Sezer escribis: On Mon, 2 Jan 2012

[BUG] pfctl(8) silently accept directories as config files

2012-01-02 Thread Stephane A. Sezer
Hi, I found a strange behavior in pfctl(8) which looks like a bug. When given a directory as input (either with the `-f` flag, or with the `include` directive in a config file), pfctl(8) does not emit any warning and silently accepts the given input. I suppose this is not the intended behavior

Re: [BUG] pfctl(8) silently accept directories as config files

2012-01-02 Thread Henning Brauer
what next? having pfctl whine about an empty config file? * Stephane A. Sezer s...@cd80.net [2012-01-02 09:36]: Hi, I found a strange behavior in pfctl(8) which looks like a bug. When given a directory as input (either with the `-f` flag, or with the `include` directive in a config file),

Re: [BUG] pfctl(8) silently accept directories as config files

2012-01-02 Thread Christiano F. Haesbaert
On 2 January 2012 06:58, Henning Brauer lists-openbsdt...@bsws.de wrote: what next? having pfctl whine about an empty config file? * Stephane A. Sezer s...@cd80.net [2012-01-02 09:36]: Hi, I found a strange behavior in pfctl(8) which looks like a bug. When given a directory as input

Re: [BUG] pfctl(8) silently accept directories as config files

2012-01-02 Thread Stephane A. Sezer
On Mon, 2 Jan 2012 15:28:48 -0200 Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 2 January 2012 06:58, Henning Brauer lists-openbsdt...@bsws.de wrote: what next? having pfctl whine about an empty config file? * Stephane A. Sezer s...@cd80.net [2012-01-02 09:36]: Hi, I