Cope with recent changes to pfctl output.
Ignore failure when deleting regress/ttest anchorin 'stamp-setup' target. Found by anton@.
Table persistent flag (PFR_TFLAG_PERSIST) won't get setby ioctl(2) operation if table exists already. The issuehas been noticed by Giannis Kapetanakis (_at_) edu.physics.uoc.gr.Giannis noticed rel
Table persistent flag (PFR_TFLAG_PERSIST) won't get setby ioctl(2) operation if table exists already. The issuehas been noticed by Giannis Kapetanakis (_at_) edu.physics.uoc.gr.Giannis noticed relayd(8) aborts unexpectedly when 'relay host'gets disabled by 'relayctl host dis ...' command. To understandwhat's going on we must look at the way how relayd(8) managesits firewall configuration. If relay-host 'example' is enabled relayd(8)inserts rule to anchor relayd/example. The rule looks somewhatlike this: pass in from ... to ... rdr-to <example>When the rule gets inserted to pf(4) the table 'example' iscreated with flags: lumpy# pfctl -a relayd/example -vg -sT ----r-- example relayd/exampler-flag indicates table is referred by rule only. In the nextstep relayd(8) creates and populates table example. It askspf(4) to add a persistent flag (PFR_TFLAG_PERSIST), so tablesurvives flush operation of relayd/example ruleset on behalfof 'relayctl host dis ...' command. relayd(8) exits via abort()when table is gone with disable operation.Giannis was patient enough so we could debug and fix issue.The committed change has been tested by Giannis too.OK kn@, bluhm@
show more ...
Remove useless make depend targets.
Make the test pass when an obj directory exists.
Add a basic test for pf_table using pfctl -t x -T test