Age | Commit message (Collapse) | Author | |
---|---|---|---|
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@ | |||
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 | |