[OpenIndiana-discuss] Anybody using ipf.conf without a comment line?

Lou Picciano loupicciano at comcast.net
Mon Mar 24 16:30:21 UTC 2014


Gary, 

Yes, can confirm the behavior(s) you're seeing. On oi hipster.

IE, does not require a commented first line, and only hiccups on an empty ipf.conf.

Lou Picciano

----- Original Message -----
From: "Gary Mills" <gary_mills at fastmail.fm>
To: openindiana-discuss at openindiana.org
Sent: Monday, March 24, 2014 11:34:00 AM
Subject: [OpenIndiana-discuss] Anybody using ipf.conf without a comment line?

I'm looking at illumos bug 3617 `ipf.conf requires a comment on the
first line to work', here:

    https://www.illumos.org/issues/3617

I'm unable to reproduce the problem, using a group of valid ipf
statements either by themself or preceeded by a comment line or an
empty line.  In all cases, ipf parses them without error.

The only way I could cause the error cited was with an ipf.conf that
contained only an empty line, like this:

    $ touch /tmp/ipf4.conf
    $ /usr/sbin/ipf -n -d -f /tmp/ipf4.conf
    $ print $?                                          
    0
    $ echo "" > /tmp/ipf5.conf
    $ /usr/sbin/ipf -n -d -f /tmp/ipf5.conf
    syntax error error at "", line 1
    $ print $?                             
    1

I'm wondering if the original cause was misinterpreted?  Maybe this
bug report should be closed.

-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the OpenIndiana-discuss mailing list