Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-11 | Do for most running out of memory err() what was done for most running | Kenneth R Westerback | |
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@ | |||
2018-07-09 | No need to mention which memory allocation entry point failed (malloc, | Kenneth R Westerback | |
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@ | |||
2018-07-08 | Be consistent in warn() and log_warn() usage when | Kenneth R Westerback | |
running out of memory. Next step, be correct *and* consistent. ok dennis@ tb@ benno@ schwarze@ | |||
2018-06-18 | remove the SECTIONS header, since a one line DESCRIPTION is a bit silly; | Jason McIntyre | |
use a more general text for the sections, and avoid the catchup issue that was trying to document how many there were; ok benno rob | |||
2018-04-26 | Plug leak in error case of the common 'varset' implementations. | Kenneth R Westerback | |
ok benno@ | |||
2018-03-06 | Initialize pushback_index like we do (mostly) everywhere else. | rob | |
2018-03-06 | Mention that there is no macro expansion inside quotes. | rob | |
ok jmc@ | |||
2018-03-03 | Add missing comma. | rob | |
2018-01-20 | Improve the config example. | Marco Pfatschbacher | |
Suggest using carpdemote instead of tweaking the advskew setting. Also add a check for a non-carp link state. Prodded by jmc@. OK jmc@, rob@. | |||
2017-08-30 | Add support for interface departure and arrival. | rob | |
Ok jca@, benno@ | |||
2017-08-21 | Remove unnecessary NULL check and fix an incorrect warning. | rob | |
Ok jca@ | |||
2017-08-20 | Stop tracking interface indexes. Suggested by deraadt. | rob | |
Tweaks and ok jca@ "just get it in" deraadt@ | |||
2017-08-14 | Remove some dead logging code that was never used. | rob | |
Ok benno@ | |||
2017-08-08 | Use configtest as one word like other network daemon man pages. | rob | |
Ok benno@, jmc@ | |||
2017-08-08 | Consistent use of log.c, and removal of err.h include. Makes ifstated | rob | |
configtest output the same as other networking daemons. Ok jca@ | |||
2017-08-06 | Improve error checking during processing of routing messages. Handling of | rob | |
RTM_DESYNC encouraged by deraadt. ok jca@ benno@ | |||
2017-07-24 | Use pledge(2) | Jeremie Courreges-Anglas | |
Simple promises proposed by Rob Pierce after exploring more complicated privsep schemes. ok benno@ | |||
2017-07-23 | Don't bother initializing global variables to 0, since they will be in BSS. | Theo de Raadt | |
ok jca | |||
2017-07-23 | use ssize_t; ok jca | Theo de Raadt | |
2017-07-23 | Time comparison variables should be time_t (I did check for signed vs | Theo de Raadt | |
unsigned handling) ok jca | |||
2017-07-22 | No need for sys/ioctl.h any more | Jeremie Courreges-Anglas | |
2017-07-21 | Add a newline | Jeremie Courreges-Anglas | |
2017-07-21 | No need for ioctl(SIOCGIFDATA), getifaddrs(3) gives us the link state | Jeremie Courreges-Anglas | |
Noticed while reviewing a pledge(2) diff from Rob Pierce. ok florian@ | |||
2017-07-04 | delete tokens that have never been used. | Sebastian Benoit | |
From Rob Pierce ok yacc and gcc | |||
2017-07-04 | rename fetch_state() to fetch_ifstate(). The word "state" is a bit | Sebastian Benoit | |
overloaded in this daemon. From Rob Pierce | |||
2017-07-04 | Fix some variable alignment whitespace. | Sebastian Benoit | |
From Rob Pierce | |||
2017-07-03 | Remove obvious clear_config() comments and misleading state_change() comments. | Sebastian Benoit | |
Also relocate do_action() calls for the init block from change_state() to occur with the corresponding do_action() calls for the body block. From Rob Pierce ok stsp@ and i | |||
2017-07-02 | Second diff to rename additional "always" variable in struct ifsd_config. | Sebastian Benoit | |
from Rob Pierce. Requested by stsp@ | |||
2017-07-02 | Remove unused variable from header file. | Sebastian Benoit | |
from Rob Pierce. ok stsp@ and me | |||
2017-07-02 | Remove variable assignment in declaration and add whitespace to improve | Sebastian Benoit | |
readability. No functional change. from Rob Pierce. ok stsp@ and me | |||
2017-07-02 | Rename one of the "always" variables to "body" for improved readability. | Sebastian Benoit | |
No functional change. from Rob Pierce. ok stsp@ and me | |||
2017-06-28 | whitespace fixes, from Rob Pierce and me | Sebastian Benoit | |
2017-06-28 | usage() gets __dead attribute, from Rob Pierce | Sebastian Benoit | |
2017-06-27 | Hoist some privileged code in preparation for future work. | Sebastian Benoit | |
Based on an approach in vmd with mc146818/ns8250. diff by Rob Pierce <rob -AT- 2keys -DOT- ca> ok deraadt@ | |||
2017-06-18 | update log.c in ifstated to the same used in bgpd etc. | Sebastian Benoit | |
Done by Rob Pierce <rob AT 2keys DOT ca>, thanks | |||
2017-03-21 | From a syslog perspective it does not make sense to log fatal and | Alexander Bluhm | |
warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@ | |||
2017-01-05 | Replace hand-rolled for(;;) emptying of 'symhead' TAILQ with more | Kenneth R Westerback | |
modern TAILQ_FOREACH_SAFE(). No intentional functional change. ok millert@ bluhm@ gilles@ | |||
2017-01-05 | Replace symset()'s hand-rolled for(;;) traversal of 'symhead' TAILQ | Kenneth R Westerback | |
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@ | |||
2016-09-02 | work on making log.c similar in all daemons: | Sebastian Benoit | |
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok claudio@ | |||
2016-08-27 | Pull in <time.h> for one or more of gmtime, strftime, strptime, time, | Philip Guenther | |
timegm, and tzset ok deraadt@ | |||
2016-07-19 | remove bogus attributes from ifstated, spooted by guenther@ | Sebastian Benoit | |
2016-07-18 | add format attributes to log functions | Sebastian Benoit | |
ok stsp@ claudio@ florian@ | |||
2016-06-21 | do not allow whitespace in macro names, i.e. "this is" = "a variable". | Sebastian Benoit | |
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@ | |||
2016-01-29 | Fix err.h uses, reporting errno when available and simplifying error | mmcc | |
messages. Partially from Michael Reed. | |||
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@ |