OpenBSD CVS

CVS log for src/usr.sbin/ifstated/parse.y


[BACK] Up to [local] / src / usr.sbin / ifstated

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.56 / (download) - annotate - [select for diffs], Fri Oct 15 15:01:28 2021 UTC (2 years, 7 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.55: +13 -13 lines
Diff to previous 1.55 (colored)

Don't declare variables as "unsigned char *" that are passed to
functions that take "char *" arguments.  Where such chars are
assigned to int or passed to ctype functions, explicitly cast them
to unsigned char.

For OpenBSD's clang, -Wpointer-sign has been disabled by default,
but when the parse.y code was built elsewhere, the compiler would
complain.

With help from millert@
ok benno@ deraadt@

Revision 1.55 / (download) - annotate - [select for diffs], Wed Feb 13 22:57:08 2019 UTC (5 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

(unsigned) means (unsigned int) which on ptrdiff_t or size_t or other
larger types really is a range reduction...
Almost any cast to (unsigned) is a bug.
ok millert tb benno

Revision 1.54 / (download) - annotate - [select for diffs], Thu Nov 1 00:18:44 2018 UTC (5 years, 7 months ago) by sashan
Branch: MAIN
Changes since 1.53: +3 -2 lines
Diff to previous 1.53 (colored)

- odd condition/test in PF lexer
  (and other lexers too)

This commit rectifies earlier change:

    in the lex... even inside quotes, a \ followed by space or tab should
    expand to space or tab, and a \ followed by newline should be ignored
    (as a line continuation).  compatible with the needs of hoststated
    (which has the most strict quoted string requirements), and ifstated
    (where one commonly does line continuations in strings).

OK deraadt@, OK millert@

Revision 1.53 / (download) - annotate - [select for diffs], Fri Sep 7 07:35:31 2018 UTC (5 years, 8 months ago) by miko
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.52: +3 -8 lines
Diff to previous 1.52 (colored)

replace malloc()+strlcpy() with strndup() in cmdline_symset().

"looks good" gilles@ halex@

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jul 11 07:39:22 2018 UTC (5 years, 10 months ago) by krw
Branch: MAIN
Changes since 1.51: +10 -10 lines
Diff to previous 1.51 (colored)

Do for most running out of memory err() what was done for most running
out of memory log_warn(). i.e. ("%s", __func__) instead of manual
function names and redundant verbiage about which wrapper detected the
out of memory condition.

ok henning@

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jul 9 12:05:11 2018 UTC (5 years, 10 months ago) by krw
Branch: MAIN
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

No need to mention which memory allocation entry point failed (malloc,
calloc or strdup), we just need to log that we ran out of memory in a
particular function.

Recommended by florian@ and deraadt@

ok benno@ henning@ tb@

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jul 8 17:15:07 2018 UTC (5 years, 10 months ago) by krw
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Be consistent in warn() and log_warn() usage when
running out of memory.

Next step, be correct *and* consistent.

ok dennis@ tb@ benno@ schwarze@

Revision 1.49 / (download) - annotate - [select for diffs], Thu Apr 26 14:12:19 2018 UTC (6 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored)

Plug leak in error case of the common 'varset' implementations.

ok benno@

Revision 1.48 / (download) - annotate - [select for diffs], Tue Mar 6 15:26:14 2018 UTC (6 years, 2 months ago) by rob
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Initialize pushback_index like we do (mostly) everywhere else.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Aug 21 17:38:55 2017 UTC (6 years, 9 months ago) by rob
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.46: +2 -4 lines
Diff to previous 1.46 (colored)

Remove unnecessary NULL check and fix an incorrect warning.

Ok jca@

Revision 1.46 / (download) - annotate - [select for diffs], Sun Aug 20 17:49:29 2017 UTC (6 years, 9 months ago) by rob
Branch: MAIN
Changes since 1.45: +12 -9 lines
Diff to previous 1.45 (colored)

Stop tracking interface indexes. Suggested by deraadt.

Tweaks and ok jca@
"just get it in" deraadt@

Revision 1.45 / (download) - annotate - [select for diffs], Sun Jul 23 13:53:54 2017 UTC (6 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Don't bother initializing global variables to 0, since they will be in BSS.
ok jca

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jul 4 21:13:03 2017 UTC (6 years, 10 months ago) by benno
Branch: MAIN
Changes since 1.43: +2 -4 lines
Diff to previous 1.43 (colored)

delete tokens that have never been used.
From Rob Pierce
ok yacc and gcc

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 2 15:28:26 2017 UTC (6 years, 11 months ago) by benno
Branch: MAIN
Changes since 1.42: +8 -8 lines
Diff to previous 1.42 (colored)

Second diff to rename additional "always" variable in struct ifsd_config.
from Rob Pierce.
Requested by stsp@

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jul 2 14:27:30 2017 UTC (6 years, 11 months ago) by benno
Branch: MAIN
Changes since 1.41: +10 -10 lines
Diff to previous 1.41 (colored)

Rename one of the "always" variables to "body" for improved readability.
No functional change.
from Rob Pierce.

ok stsp@ and me

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jun 18 12:03:47 2017 UTC (6 years, 11 months ago) by benno
Branch: MAIN
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

update log.c in ifstated to the same used in bgpd etc.
Done by Rob Pierce <rob AT 2keys DOT ca>, thanks

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jan 5 13:53:09 2017 UTC (7 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored)

Replace hand-rolled for(;;) emptying of 'symhead' TAILQ with more
modern TAILQ_FOREACH_SAFE().

No intentional functional change.

ok millert@ bluhm@ gilles@

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jan 5 12:42:18 2017 UTC (7 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.38: +7 -5 lines
Diff to previous 1.38 (colored)

Replace symset()'s hand-rolled for(;;) traversal of 'symhead' TAILQ
with more modern TAILQ_FOREACH(). This what symget() was already
doing.

Add paranoia '{}' around body of symget()'s TAILQ_FOREACH().

No intentional functional change.

ok bluhm@ otto@

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jun 21 21:35:24 2016 UTC (7 years, 11 months ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.37: +9 -1 lines
Diff to previous 1.37 (colored)

do not allow whitespace in macro names, i.e. "this is" = "a variable".
change this in all config parsers in our tree that support macros.
problem reported by sven falempin.

feedback from henning@, stsp@, deraadt@
ok florian@ mikeb@

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 29 02:22:57 2016 UTC (8 years, 4 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.36: +13 -13 lines
Diff to previous 1.36 (colored)

Fix err.h uses, reporting errno when available and simplifying error
messages.

Partially from Michael Reed.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Nov 20 05:51:20 2014 UTC (9 years, 6 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.35: +4 -1 lines
Diff to previous 1.35 (colored)

Don't allow embedded nul characters in strings.
Fixes a pfctl crash with an anchor name containing
an embedded nul found with the afl fuzzer.

pfctl parse.y patch from and ok deraadt@

Revision 1.35 / (download) - annotate - [select for diffs], Mon Nov 3 18:44:36 2014 UTC (9 years, 7 months ago) by bluhm
Branch: MAIN
Changes since 1.34: +6 -6 lines
Diff to previous 1.34 (colored)

Convert the logic in yyerror().  Instead of creating a temporary
format string, create a temporary message.
OK claudio@

Revision 1.34 / (download) - annotate - [select for diffs], Mon Nov 3 03:42:11 2014 UTC (9 years, 7 months ago) by doug
Branch: MAIN
Changes since 1.33: +5 -3 lines
Diff to previous 1.33 (colored)

Add gcc format attributes to more warn/error functions in parse.y files.

Fix a few missing or incorrect format characters.
ok claudio@

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 22 00:21:16 2014 UTC (10 years, 4 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

relax the cfg file secrecy check slightly to allow group readability
default permissions and mtree NOT changed.
prodded by benno, ok phessler benno jmatthew theo pelikan florian

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 25 12:55:44 2013 UTC (10 years, 6 months ago) by benno
Branch: MAIN
Changes since 1.31: +7 -7 lines
Diff to previous 1.31 (colored)

use u_char for buffers in yylex, for ctype calls
found by millert@, ok deraadt@

Revision 1.31 / (download) - annotate - [select for diffs], Wed Mar 6 21:42:40 2013 UTC (11 years, 2 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.30: +6 -4 lines
Diff to previous 1.30 (colored)

as done in ospf{,6}d/relayd, sync yyerror in various other daemons with
that from bgpd, so that it logs to syslog when daemonized.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Aug 3 18:42:40 2010 UTC (13 years, 10 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored)

fix linecount bug with comments spanning multiple lines
problem reported with the obvious fix for bgpd by Sebastian Benoit
<benoit-lists at fb12.de>, also PR 6432
applied to all the others by yours truly. ok theo
isn't it amazing how far this parser (and more) spread?

Revision 1.29 / (download) - annotate - [select for diffs], Tue Mar 31 21:03:48 2009 UTC (15 years, 2 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.28: +7 -3 lines
Diff to previous 1.28 (colored)

Fixed memory leaks which would occur if the second of two memory
allocations fails.

looks right deraadt, krw
ok henning

Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 17 13:02:55 2008 UTC (15 years, 7 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.27: +5 -3 lines
Diff to previous 1.27 (colored)

bring in the findeol() fix from pfctl. list of affected parsers by sthen

Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 10 07:40:01 2008 UTC (16 years, 2 months ago) by mpf
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.26: +4 -3 lines
Diff to previous 1.26 (colored)

Fix a null deref in link_state, which happens on config
files which refer to undeclared states.
popfile() needs to be called later.

Found by and OK cnst@

Revision 1.26 / (download) - annotate - [select for diffs], Tue Feb 26 10:09:58 2008 UTC (16 years, 3 months ago) by mpf
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.25: +15 -14 lines
Diff to previous 1.25 (colored)

Have popfile() also close the main config file,
but only do the final popfile call after yyparse() is done.
This also fixes config reload on SIGHUP for some daemons.

Spotted by otto@. OK deraadt@

Revision 1.25 / (download) - annotate - [select for diffs], Mon Nov 12 23:59:41 2007 UTC (16 years, 6 months ago) by mpf
Branch: MAIN
Changes since 1.24: +2 -10 lines
Diff to previous 1.24 (colored)

Remove space/tab compression function from lgetc() and replace
it with a simple filter in the yylex() loop.
The compression in lgetc() didn't happen for quoted strings,
thus creating a regression when tabs were used in variables.
Some testing by todd@ and pyr@
OK deraadt@

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 25 06:03:31 2007 UTC (16 years, 7 months ago) by pyr
Branch: MAIN
Changes since 1.23: +2 -17 lines
Diff to previous 1.23 (colored)

sync logging with most other daemons.
ok mcbride@, mpf@

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 21 08:29:34 2007 UTC (16 years, 7 months ago) by pyr
Branch: MAIN
Changes since 1.22: +5 -3 lines
Diff to previous 1.22 (colored)

sync with other daemons.
ok mcbride@

Revision 1.22 / (download) - annotate - [select for diffs], Tue Oct 16 20:01:23 2007 UTC (16 years, 7 months ago) by mpf
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Allow '=' to end a number in all lexers.
Requested and OK deraadt@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Oct 16 06:06:49 2007 UTC (16 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +4 -2 lines
Diff to previous 1.20 (colored)

in the lex... even inside quotes, a \ followed by space or tab should
expand to space or tab, and a \ followed by newline should be ignored
(as a line continuation).  compatible with the needs of hoststated
(which has the most strict quoted string requirements), and ifstated
(where one commonly does line continuations in strings).
pointed out by mpf, discussed with pyr

Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 13 16:35:21 2007 UTC (16 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +139 -61 lines
Diff to previous 1.19 (colored)

in all these programs using the same pfctl-derived parse.y, re-unify the
yylex implementation and the code which interacts with yylex.  this also
brings the future potential for include support to all of the parsers.
in the future please do not silly modifications to one of these files
without checking if you are de-unifying the code.
checked by developers in all these areas.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 11 14:39:17 2007 UTC (16 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +28 -16 lines
Diff to previous 1.18 (colored)

next step in the yylex unification: handle quoted strings in a nicer fashion
as found in hoststated, and make all the code diff as clean as possible. a
few issues remain mostly surrounding include support, which will likely be
added to more of the grammers soon.
ok norby pyr, others

Revision 1.18 / (download) - annotate - [select for diffs], Wed Sep 12 02:09:03 2007 UTC (16 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

unchecked conversion from signed 64 to unsigned 32

Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 11 23:30:30 2007 UTC (16 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +45 -19 lines
Diff to previous 1.16 (colored)

extend lex to spot numbers in the stream, without impacting the parsing
of ip addresses and such.  this change is being pushed into all the pfctl
derived parsers, starting with the easier ones;  range check written by
mpf; ok mpf

Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 25 18:58:42 2006 UTC (17 years, 7 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.15: +7 -22 lines
Diff to previous 1.15 (colored)

strtonum, Pierre-Yves Ritschard <pyr@spootnik.org>

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 25 18:57:34 2006 UTC (17 years, 7 months ago) by henning
Branch: MAIN
Changes since 1.14: +3 -9 lines
Diff to previous 1.14 (colored)

same old debug cruft from bgpd as killed in ospfd and dvrmpd - is it yet
somewhere else?

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 26 01:06:12 2006 UTC (18 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.13: +2 -4 lines
Diff to previous 1.13 (colored)

\<char> is <char> except for \<newline> -- no exceptions.  much like how
other things work.  ok henning

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 16 06:27:02 2006 UTC (18 years, 2 months ago) by mcbride
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Make ifstated handle config reloads after a parse error. Fixes PR5051
Fix from Michael Knudsen.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 16 06:17:42 2006 UTC (18 years, 2 months ago) by mcbride
Branch: MAIN
Changes since 1.11: +6 -1 lines
Diff to previous 1.11 (colored)

Error out of ifstate.conf parsing instead of dumping core in operation
when a undefined ruleset is referenced.  Fixes PR5049.

Report and troubleshooting from Michael Knudsen.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 20 00:01:20 2006 UTC (18 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Explicitly include limits.h if we are going to use its contents.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Aug 3 16:29:36 2005 UTC (18 years, 10 months ago) by sturm
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

use action_block in init instead of custom code, permits single line
commands w/o braces in init

ok henning, mpf

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 7 12:41:53 2005 UTC (19 years, 3 months ago) by mcbride
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Fix error message: set-state, not setstate.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 3 17:51:12 2005 UTC (19 years, 4 months ago) by mpf
Branch: MAIN
Changes since 1.7: +14 -10 lines
Diff to previous 1.7 (colored)

Simplify the ifstated syntax:

 "carp0 link up" => carp0.link.up
 "and"           => &&
 "or"            => ||

* Allow one line actions after if statements without braces.
* Remove unecessary parentheses in the example config.

ok mcbride@

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 28 01:00:50 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

correct yacc

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 7 16:46:17 2004 UTC (20 years, 2 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.5: +19 -10 lines
Diff to previous 1.5 (colored)

plug 18 memory leaks, ryan ok

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 6 21:47:21 2004 UTC (20 years, 3 months ago) by henning
Branch: MAIN
Changes since 1.4: +4 -5 lines
Diff to previous 1.4 (colored)

pull a fix from bgpd:
plug a memory leak in the lexer.
the issue is this code fragement from yylex():
.		token = lookup(buf);
.		yylval.v.string = strdup(buf);
.		if (yylval.v.string == NULL)
.			err(1, "yylex: strdup");
.		return (token);
lookup() tries to match buf against a list of keywords, and returns the
associated token if it has a match, or the token STRING otherwise.
STRING is the only token that needs (and free()s) yylval.v.string. however,
we assigned memory for it with the strdup in yylex for each and every token.
the fix is obviously only setting yylval.v.string when lookup() returns STRING.
Patrick Latifi noticed that something was leaking with token handling,
analysis and fix by me.
ok deraadt@
also err instead of errx after strdup failure

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 15 00:56:01 2004 UTC (20 years, 3 months ago) by mcbride
Branch: MAIN
Changes since 1.3: +19 -14 lines
Diff to previous 1.3 (colored)

- Check error condition on config; load exit() on initial startup, simply
  warn if loading due to SIGHUP. (pointed out by mpf@)
- Can't just bcopy the config struct, there are TAILQs. Pass pointers instead.
- Initialise the SIGHUP and routing socket handlers after config is loaded.

ok henning@

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 14 11:24:35 2004 UTC (20 years, 3 months ago) by mcbride
Branch: MAIN
Changes since 1.2: +23 -26 lines
Diff to previous 1.2 (colored)

KNF

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 5 02:18:55 2004 UTC (20 years, 4 months ago) by mcbride
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Clean up command line options:
- Make -v work as intended.
- Add -n to test config without doing anything.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 4 23:47:49 2004 UTC (20 years, 4 months ago) by mcbride
Branch: MAIN

Update to ifstated; replace parser, introduce the concept of states,
external tests, and boolean logic. Allows ifstated to handle partial
failures on firewalls that are CARPd to each other.

ok deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.