Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-25 | drop useless .Xo and .Bk, and shorten by avoiding some .Sm | Ingo Schwarze | |
2014-11-20 | Don't allow embedded nul characters in strings. | Jonathan Gray | |
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@ | |||
2014-11-03 | Convert the logic in yyerror(). Instead of creating a temporary | Alexander Bluhm | |
format string, create a temporary message. OK claudio@ | |||
2014-11-03 | Add gcc format attributes to more warn/error functions in parse.y files. | Doug Hogan | |
Fix a few missing or incorrect format characters. ok claudio@ | |||
2014-01-22 | relax the cfg file secrecy check slightly to allow group readability | Henning Brauer | |
default permissions and mtree NOT changed. prodded by benno, ok phessler benno jmatthew theo pelikan florian | |||
2013-11-25 | use u_char for buffers in yylex, for ctype calls | Sebastian Benoit | |
found by millert@, ok deraadt@ | |||
2013-05-30 | setsockopt to see messages for interfaces in all routing domains again | Henning Brauer | |
instead of just the primary one. problem reported along with the right idea on how to fix it by Sean Gallagher (sean at teletech.com.au), actual fix by yours truly. Thanks Sean! ok ryan claudio | |||
2013-03-06 | as done in ospf{,6}d/relayd, sync yyerror in various other daemons with | Stuart Henderson | |
that from bgpd, so that it logs to syslog when daemonized. | |||
2012-04-24 | take a stab at documenting when arguments need quoted, and valid macro | Jason McIntyre | |
characters; prompted by a diff from robert peichaer org thanks gilles and henning for feedback ok deraadt zinke | |||
2011-07-04 | LINK_STATE_IS_UP() cleanup userland part. There is no need to special | Claudio Jeker | |
case carp(4) interfaces anymore. LINK_STATE_IS_UP() almost always does the right job. OK deraadt@ henning@ This needs a -current kernel or link state may be not reported correctly. | |||
2011-03-15 | use appropriate timerclear macro - from Christiano F. Haesbaert | Okan Demirmen | |
ok mcbride@ | |||
2010-08-03 | fix linecount bug with comments spanning multiple lines | Henning Brauer | |
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? | |||
2010-07-20 | do not use gcc -W options which you do not understand | Theo de Raadt | |
2010-07-07 | Make ifstated cause a little less noise in /var/log/daemon. | Stefan Sperling | |
State transitions are still logged, but commands run are now printed only in debug mode (ifstated -d). ok deraadt | |||
2010-06-07 | setproctitle(NULL) is not needed, Michael Lechtermann; ok mpf | Theo de Raadt | |
2010-02-04 | remove assumption that internal IFSD_LINK* defines are the same as | Kevin Steves | |
LINK_STATE* defines in <net/if.h>, which were changed Sep 14. this fixes link state down being treated as up. ok claudio@ henning@ | |||
2009-06-25 | fix the function name in log_warn() text, it was borrowed from some | Stuart Henderson | |
previous test code of mine. | |||
2009-06-25 | Teach ifstated to use ROUTE_FILTER. Requested by claudio@. | Stuart Henderson | |
ok claudio@ henning@ | |||
2009-03-31 | Fixed memory leaks which would occur if the second of two memory | Tobias Stoeckmann | |
allocations fails. looks right deraadt, krw ok henning | |||
2008-10-17 | bring in the findeol() fix from pfctl. list of affected parsers by sthen | Henning Brauer | |
2008-05-12 | Error out with usage line if additional arguments are given after the | Pierre-Yves Ritschard | |
option parsing. Found out the hard way by jdixon on ifstated. ok sobrado@, jdixon@, millert@ | |||
2008-03-10 | Fix a null deref in link_state, which happens on config | Marco Pfatschbacher | |
files which refer to undeclared states. popfile() needs to be called later. Found by and OK cnst@ | |||
2008-02-26 | Have popfile() also close the main config file, | Marco Pfatschbacher | |
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@ | |||
2007-11-27 | remove some unneeded #includes; ok mcbride@ | Kevin Steves | |
2007-11-12 | Remove space/tab compression function from lgetc() and replace | Marco Pfatschbacher | |
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@ | |||
2007-10-25 | kill extraneous item macro, thus avoiding badness; | Jason McIntyre | |
2007-10-25 | oops, forgot to clean up the manpage bits. | Pierre-Yves Ritschard | |
prompted by mpf | |||
2007-10-25 | sync logging with most other daemons. | Pierre-Yves Ritschard | |
ok mcbride@, mpf@ | |||
2007-10-21 | sync with other daemons. | Pierre-Yves Ritschard | |
ok mcbride@ | |||
2007-10-16 | Allow '=' to end a number in all lexers. | Marco Pfatschbacher | |
Requested and OK deraadt@ | |||
2007-10-16 | in the lex... even inside quotes, a \ followed by space or tab should | Theo de Raadt | |
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 | |||
2007-10-13 | in all these programs using the same pfctl-derived parse.y, re-unify the | Theo de Raadt | |
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. | |||
2007-10-11 | next step in the yylex unification: handle quoted strings in a nicer fashion | Theo de Raadt | |
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 | |||
2007-09-12 | unchecked conversion from signed 64 to unsigned 32 | Theo de Raadt | |
2007-09-11 | extend lex to spot numbers in the stream, without impacting the parsing | Theo de Raadt | |
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 | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-02-09 | remove some commas to aid readability; ok jmc@ | Kevin Steves | |
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@. |