[Ferm] Awesome! Plus two small patches
Omen Wild
omen at mandarb.com
Sat Mar 12 01:15:34 CET 2011
I just discovered ferm and wanted to say thank you! I love the syntax
and the flexibility. I am in the process of migrating from my ~1,600
line shell script plus helper functions plus funky rule syntax. ferm
is so much nicer.
I have a couple small patches. The first allow negation to the
pkt-type argument of the pkttype module. The second adds a built in
variable named $LINE that is the line of the current script. I use it
like this:
@def &log($what) = {
LOG log-prefix "rule=$what:$LINE";
}
.
.
.
&log("drop_input_pkt");
Because the way functions work this actually shows the line where &log
was called, not the line where the function is defined.
--
As of next week, passwords will be entered in Morse code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ferm-pkt-type.diff
Type: text/x-diff
Size: 848 bytes
Desc: not available
URL: <http://foo-projects.org/pipermail/ferm/attachments/20110311/d70b17c0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ferm-LINES.diff
Type: text/x-diff
Size: 848 bytes
Desc: not available
URL: <http://foo-projects.org/pipermail/ferm/attachments/20110311/d70b17c0/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4538 bytes
Desc: not available
URL: <http://foo-projects.org/pipermail/ferm/attachments/20110311/d70b17c0/attachment-0002.bin>
More information about the Ferm
mailing list