joerg
f17aeea6de
Preprocessor support for `ipfw [-q] ... file'.
...
This allows for more flexible ipfw configuration files using
`variables' to describe frequently used items in the file, like the
local IP address(es), interface names etc. Both m4 and cpp are useful
and supported; with m4 being a little more unusual to the common C
programmer, things like automatic rule numbering can be achieved
fairly easy.
While i was at it, i've also untangled some of the ugly style inside
main(), and fixed a bug or two (like not being able to use blank lines
when running with -q).
A typical call with preprocessor invocation looks like
ipfw -p m4 -Dhostname=$(hostname) /etc/fwrules
Someone should probably add support for this feature to /etc/rc.firewall.
1998-11-23 10:54:28 +00:00
..
1998-06-04 06:35:12 +00:00
1998-10-30 16:17:50 +00:00
1998-06-28 18:34:01 +00:00
1998-10-23 18:57:39 +00:00
1998-11-12 17:47:24 +00:00
1998-11-19 20:22:10 +00:00
1998-06-04 06:44:18 +00:00
1998-06-30 06:09:37 +00:00
1998-06-30 06:12:44 +00:00
1998-10-23 18:57:39 +00:00
1998-07-27 18:53:45 +00:00
1998-10-06 07:32:45 +00:00
1998-10-27 04:01:19 +00:00
1998-06-15 07:00:01 +00:00
1998-08-31 16:41:09 +00:00
1998-11-06 03:43:21 +00:00
1998-11-05 03:26:36 +00:00
1998-11-05 03:26:36 +00:00
1998-11-05 03:26:36 +00:00
1998-11-09 03:43:55 +00:00
1998-06-30 06:18:44 +00:00
1998-11-06 03:43:21 +00:00
1998-08-07 06:36:53 +00:00
1998-07-22 05:45:11 +00:00
1998-03-21 13:53:18 +00:00
1998-03-21 13:53:18 +00:00
1998-11-23 10:54:28 +00:00
1998-08-30 04:48:00 +00:00
1998-03-21 13:53:18 +00:00
1998-11-12 11:10:26 +00:00
1998-11-12 11:10:26 +00:00
1998-11-12 11:10:26 +00:00
1998-09-09 01:21:25 +00:00
1998-07-06 07:04:50 +00:00
1998-07-06 07:06:15 +00:00
1998-08-12 02:39:23 +00:00
1998-07-06 07:09:13 +00:00
1998-10-16 00:06:56 +00:00
1998-03-19 07:46:04 +00:00
1998-09-09 16:26:51 +00:00
1998-10-16 00:06:56 +00:00
1998-06-30 06:23:42 +00:00
1998-06-30 06:23:42 +00:00
1998-07-06 07:15:53 +00:00
1998-07-06 07:17:27 +00:00
1998-07-06 07:17:27 +00:00
1998-08-02 16:06:35 +00:00
1998-08-02 16:06:35 +00:00
1998-07-15 06:08:47 +00:00
1998-07-15 06:12:32 +00:00
1998-07-15 06:12:32 +00:00
1998-07-15 06:13:45 +00:00
1998-07-15 06:13:45 +00:00
1998-10-15 13:37:35 +00:00
1998-07-15 03:32:45 +00:00
1998-10-17 08:03:52 +00:00
1998-10-17 12:44:55 +00:00
1998-06-30 06:28:18 +00:00
1998-07-15 06:33:15 +00:00
1998-07-15 06:35:20 +00:00
1998-07-15 06:37:07 +00:00
1998-08-02 16:06:35 +00:00
1998-09-19 22:42:06 +00:00
1998-07-15 06:48:52 +00:00
1998-09-23 06:54:14 +00:00
1998-10-27 04:01:19 +00:00
1998-09-19 22:42:06 +00:00
1998-07-28 06:36:31 +00:00
1998-07-28 06:38:57 +00:00
1998-09-19 22:42:06 +00:00
1998-08-02 16:06:35 +00:00
1998-08-03 06:24:59 +00:00
1998-08-03 06:32:57 +00:00
1998-08-03 06:35:01 +00:00
1998-11-08 19:27:43 +00:00
1998-08-03 06:41:20 +00:00
1998-08-03 06:44:46 +00:00
1998-11-03 06:39:39 +00:00
1998-11-10 11:54:29 +00:00