-
sommerfeldI'd look for errors in the service's log - cat $(svcs -L /network/ipfilter)
-
szilardHi. It seems my ipf is acting up, so I have removed all configs (from GZ and from /zones/etc).
-
szilardNow /etc/ipf/ipf.conf in GZ contains the following 2 lines:
-
szilardpass in quick on lo0 all
-
szilardpass out quick on lo0 all
-
szilardI have also disabled ipf using: "svcadm disable network/ipfilter"
-
szilardnow svcs doesn't list ipfilter anymore and I have even rebooted the box to make sure it starts with a clean state.
-
szilardso this is the current state: pastebin.com/raw/M2F9vtCH
-
szilardenabling ipf doesn't populates the filter list, but manual reload populates it: pastebin.com/raw/ucrMmv4g
-
szilardnow, I assume ipf should read /etc/ipf/ipf.conf automatically, so let me reboot the box to see what happens.
-
szilardIt still doesn't loads the rules from ipf.conf automatically after a reboot: pastebin.com/raw/et9kCTLP
-
szilardWhat am I doing wrong here?
-
m1arimaybe check it's setup to use the correct files as per the documentation on omnios.org/info/ipfilter.html
-
m1ari`svccfg -s ipfilter:default listprop | grep file`
-
m1aribut if things are in default state then it sounds like what you have should work
-
m1aribut also try sommerfeld's earlier suggestion:
-
m1ari01:20 < sommerfeld> I'd look for errors in the service's log - cat $(svcs -L /network/ipfilter)
-
szilardThe files are the default, and looks ok to me. The log output doesn't tells me too much: pastebin.com/raw/4zTQnwrW
-
szilardMaybe: "Set 0 now inactive" ?
-
szilardI try to reboot again, in this time I won't be available via irc.
-
szilardI don't get this. Everything seems to be enabled according to the guides, i have rules in the ipf.conf, still the firewall rules doesn't gets loaded after booting the system: pastebin.com/raw/96QUxWhd
-
tsoomesometimes, it ma y happen, the guides are bad. from that log, see into /lib/svc/method/ipfilter - from it you will find the function to upgrade config and hint that you should have firewall_config_default/policy astring custom if you want to use those config files.... :P see also output from "svccfg -s ipfilter:default listprop"
12 minutes ago