Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-11-28 | handle the new link states as UP | Reyk Floeter | |
2006-11-26 | repair missing DPADD requests | Theo de Raadt | |
2006-10-25 | strtonum, Pierre-Yves Ritschard <pyr@spootnik.org> | Henning Brauer | |
2006-10-25 | same old debug cruft from bgpd as killed in ospfd and dvrmpd - is it yet | Henning Brauer | |
somewhere else? | |||
2006-09-04 | somehow i managed not to commit the macro changes here... | Jason McIntyre | |
2006-07-25 | amazing how far a typo of mine (CFLAGS vs CLFAGS) from early 2004 spread | Henning Brauer | |
(and how long it went unnoticed) From: Alexey Dobriyan <adobriyan@gmail.com> | |||
2006-05-26 | \<char> is <char> except for \<newline> -- no exceptions. much like how | Theo de Raadt | |
other things work. ok henning | |||
2006-03-16 | Make ifstated handle config reloads after a parse error. Fixes PR5051 | Ryan Thomas McBride | |
Fix from Michael Knudsen. | |||
2006-03-16 | Error out of ifstate.conf parsing instead of dumping core in operation | Ryan Thomas McBride | |
when a undefined ruleset is referenced. Fixes PR5049. Report and troubleshooting from Michael Knudsen. | |||
2006-03-16 | Kill useless arguments to libevent *_set() functions. | Ryan Thomas McBride | |
ok mpf@ | |||
2006-02-08 | - configuration file can have relative path | Camiel Dobbelaar | |
- do not suppress logging if there is no configuration yet, otherwise we cannot log that configuration parsing failed ok mpf@ mcbride@ | |||
2006-02-01 | Simplify expression code. Patch from markus@. | Marco Pfatschbacher | |
ok mcbride@ | |||
2006-02-01 | Run external tests synchronous at state changes and | Marco Pfatschbacher | |
call adjust_external_expressions() which updates the expressions for all states. Address similar state caching problems for external tests as in previous commit. Don't ignore set-state actions if they are happening right after a state change. (Based on a patch from Holger Mikolon). ok markus@, testing sturm@, ok mcbride@. | |||
2006-02-01 | If we reenter a state, it still has the old link state values cached. | Marco Pfatschbacher | |
Therefore, if it enters a state without calling scan_ifstate() (e.g. through an external-test) ifstated will do the wrong thing (tm). Change scan_ifstate() to first walk over all states and update the expressions _before_ they are evaluated. Help and ok markus@, testing sturm@, ok mcbride@. | |||
2006-01-25 | Remove gratuitous fetch_state() calls in state_change(). | Marco Pfatschbacher | |
It could race with a second incoming routing message, which would not trigger any action, because of the already updated status cache. Found by markus@. OK markus@ mcbride@ | |||
2006-01-23 | Open the routing socket before load_config() calls fetch_state(). | Marco Pfatschbacher | |
Otherwise we could loose routing messages that arrive in between. OK markus@, mcbride@ | |||
2006-01-20 | Explicitly include limits.h if we are going to use its contents. | Todd C. Miller | |
2005-09-09 | missing quote in an example; | Jason McIntyre | |
from xavier venient; while i'm in here, remove a blank line that serves no purpose; | |||
2005-08-09 | same here | Marco Pfatschbacher | |
3.8 not 3.5 | |||
2005-08-09 | ifstated isn't released before 3.8 | Marco Pfatschbacher | |
ok jmc@ | |||
2005-08-06 | add ifstated.conf(5) to SEE ALSO; | Jason McIntyre | |
2005-08-06 | new manpage for ifstated.conf written with mpf@ | Nikolay Sturm | |
comments and help from jmc@, commitski henning@ | |||
2005-08-03 | use action_block in init instead of custom code, permits single line | Nikolay Sturm | |
commands w/o braces in init ok henning, mpf | |||
2005-07-28 | no need for libutil. | Marco Pfatschbacher | |
OK markus@ | |||
2005-07-28 | Fix two situations where ifstated was leaking zombies. | Marco Pfatschbacher | |
Tested by sturm@ OK henning@ | |||
2005-02-07 | Fix error message: set-state, not setstate. | Ryan Thomas McBride | |
2005-02-07 | Fix protos, and a KNF nit. From Andrey Matveev <andrushock@korovino.net> | Ryan Thomas McBride | |
2005-02-03 | Simplify the ifstated syntax: | Marco Pfatschbacher | |
"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@ | |||
2004-12-14 | use YFLAGS= | Marco Pfatschbacher | |
ok mcbride@ | |||
2004-10-05 | Use priority instead of facility in vsyslog() | Marco Pfatschbacher | |
Pointed out by Peter Philipp. ok mcbride@ | |||
2004-09-27 | mention how SIGHUP is handled. | Jared Yanovich | |
from Michael Knudsen. ok mcbride | |||
2004-09-21 | Start external tests and init commands also in the initial state. | Marco Pfatschbacher | |
Log the pid when killing an external program. Avoid a possible NULL dereference. ok mcbride@ | |||
2004-06-15 | knf | Theo de Raadt | |
2004-04-28 | correct yacc | Theo de Raadt | |
2004-04-27 | various small fixes; | Jason McIntyre | |
ok mcbride@ | |||
2004-03-15 | call daemon(3) early; from tholo@; ok mcbride@ | Markus Friedl | |
2004-03-10 | spacing | Theo de Raadt | |
2004-03-10 | Plug memory leak on SIGHUP. From Patrick Latifi. | Ryan Thomas McBride | |
2004-03-07 | plug 18 memory leaks, ryan ok | Henning Brauer | |
2004-03-07 | Document -v in ifstated.8 and usage() and use __progname in usage(). | Ryan Thomas McBride | |
Fix from merith at redmoon dot openbsd dot de, with slightly modified wording. | |||
2004-03-07 | Don't try to dereference null configuration. | Ryan Thomas McBride | |
Fix from merith at redmoon dot openbsd dot de. | |||
2004-03-06 | pull a fix from bgpd: | Henning Brauer | |
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 | |||
2004-02-26 | bring in log_init() from bgpd which gives us openlog(), ryan ok | Henning Brauer | |
2004-02-16 | freeifaddrs() data from getifaddrs() | Ryan Thomas McBride | |
from Patrick Latifi <pat@eyeo.org> | |||
2004-02-15 | - Check error condition on config; load exit() on initial startup, simply | Ryan Thomas McBride | |
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@ | |||
2004-02-14 | KNF | Ryan Thomas McBride | |
2004-02-12 | Add missing \n to logit(), reverse logic on asprintf error so the error case | Ryan Thomas McBride | |
comes last. ok henning@ | |||
2004-02-12 | Add missing \n on usage. From Daniel Cavanagh <nofsk@vtown.com.au> | Ryan Thomas McBride | |
2004-02-12 | the macro terminator suggests: hastalavista, LOG() | Henning Brauer | |
use a logit() function with varargs and bells and whistles instead of this macro gore in LOG with static # of args that results in highlights like LOG(level, "%s", "started") logit blatantly stolenb from bgpd test and ok and "remove the \n then" ryan | |||
2004-02-12 | KNF | Henning Brauer | |