Projects > ipfmeta
ipfmeta
ipfmeta is used to simplify the maintenance of your IPfilter ruleset. It does this through the use of 'objects'. A matching object gets replaced by its values at runtime. This is similar to what a macro processor like m4 does.
ipfmeta is specifically geared towards IPfilter. It is line oriented: if an object has multiple values, the line with the object is duplicated and substituted for each value. It is also recursive: an object may have another object as a value.
ipfmeta is written in Perl.
Download ipfmeta-1.3
ipfmeta is used to simplify the maintenance of your IPfilter ruleset. It does this through the use of 'objects'. A matching object gets replaced by its values at runtime. This is similar to what a macro processor like m4 does.
ipfmeta is specifically geared towards IPfilter. It is line oriented: if an object has multiple values, the line with the object is duplicated and substituted for each value. It is also recursive: an object may have another object as a value.
ipfmeta is written in Perl.
Download ipfmeta-1.3
Changelog 2001-01-16 11:18 camield * version 1.3 - allow whitespace in objects and values - split off example from manpage into seperate files - remove split and join: too much code for exotic functionality - BSD licence 2001-01-11 15:54 camield * version 1.2 - add command mode (%) - '%verbose' command to set verbose level; verbose level is no longer a commandline option, so ipfmeta does not depend on GetOpt anymore. - '%group ' command to automatically add 'group n' to ipfilter rules - '%dump' outputs objects with values, to aid debugging - / on end of line combines split lines - ; splits lines, so you can have more then one rule per line - whitespace is automatically cut, so output looks reasonable when a lot of indentation is used in the metarules 2001-01-16 10:43 camield * version 1 - posted to ipf mailinglist