Package: ferm Version: 2.0.5-1 Severity: wishlist Hi,
I would like to write code like foreach( @iface ) { chain INPUT interface $_ saddr `ipofif $_` DROP; } Since ferm doesn't have a loop construct itself, it would be - for example - good to expand the backticks to call an external script which creates ferm code which is then immediately interpolated: `external-program` with external-program being some binary which prints chain INPUT interface eth0 saddr 192.168.8.27 DROP; chain INPUT interface eth1 saddr 192.168.9.31 DROP; chain INPUT interface eth2 saddr 10.3.44.2 DROP; Alternatively, some means to directly write perl code into a ferm rule file would be great. At the moment, I do this with a hook which writes a file which is in turn @included later, which does the job but is ugly. Greetings Marc -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org