summaryrefslogtreecommitdiff
path: root/usr.sbin/ifstated
AgeCommit message (Expand)Author
2020-12-30getifaddrs() can return entries where ifa_addr is NULL. Check for thisSebastian Benoit
2020-05-16list example files in FILES with a short description: generally, "ExampleJason McIntyre
2020-02-10briefly mention /etc/examples/ in the FILES section of all theIngo Schwarze
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-02-13(unsigned) means (unsigned int) which on ptrdiff_t or size_t or otherTheo de Raadt
2019-01-22PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() callsKenneth R Westerback
2018-12-07"every" is in seconds; from ross l richardsonJason McIntyre
2018-11-01- odd condition/test in PF lexerAlexandr Nedvedicky
2018-10-31ifstated(8) needs to load configfile from within the main loop, but also toRicardo Mestre
2018-09-07replace malloc()+strlcpy() with strndup() in cmdline_symset().miko
2018-07-11Do for most running out of memory err() what was done for most runningKenneth R Westerback
2018-07-09No need to mention which memory allocation entry point failed (malloc,Kenneth R Westerback
2018-07-08Be consistent in warn() and log_warn() usage whenKenneth R Westerback
2018-06-18remove the SECTIONS header, since a one line DESCRIPTION is a bit silly;Jason McIntyre
2018-04-26Plug leak in error case of the common 'varset' implementations.Kenneth R Westerback
2018-03-06Initialize pushback_index like we do (mostly) everywhere else.rob
2018-03-06Mention that there is no macro expansion inside quotes.rob
2018-03-03Add missing comma.rob
2018-01-20Improve the config example.Marco Pfatschbacher
2017-08-30Add support for interface departure and arrival.rob
2017-08-21Remove unnecessary NULL check and fix an incorrect warning.rob
2017-08-20Stop tracking interface indexes. Suggested by deraadt.rob
2017-08-14Remove some dead logging code that was never used.rob
2017-08-08Use configtest as one word like other network daemon man pages.rob
2017-08-08Consistent use of log.c, and removal of err.h include. Makes ifstatedrob
2017-08-06Improve error checking during processing of routing messages. Handling ofrob
2017-07-24Use pledge(2)Jeremie Courreges-Anglas
2017-07-23Don't bother initializing global variables to 0, since they will be in BSS.Theo de Raadt
2017-07-23use ssize_t; ok jcaTheo de Raadt
2017-07-23Time comparison variables should be time_t (I did check for signed vsTheo de Raadt
2017-07-22No need for sys/ioctl.h any moreJeremie Courreges-Anglas
2017-07-21Add a newlineJeremie Courreges-Anglas
2017-07-21No need for ioctl(SIOCGIFDATA), getifaddrs(3) gives us the link stateJeremie Courreges-Anglas
2017-07-04delete tokens that have never been used.Sebastian Benoit
2017-07-04rename fetch_state() to fetch_ifstate(). The word "state" is a bitSebastian Benoit
2017-07-04Fix some variable alignment whitespace.Sebastian Benoit
2017-07-03Remove obvious clear_config() comments and misleading state_change() comments.Sebastian Benoit
2017-07-02Second diff to rename additional "always" variable in struct ifsd_config.Sebastian Benoit
2017-07-02Remove unused variable from header file.Sebastian Benoit
2017-07-02Remove variable assignment in declaration and add whitespace to improveSebastian Benoit
2017-07-02Rename one of the "always" variables to "body" for improved readability.Sebastian Benoit
2017-06-28whitespace fixes, from Rob Pierce and meSebastian Benoit
2017-06-28usage() gets __dead attribute, from Rob PierceSebastian Benoit
2017-06-27Hoist some privileged code in preparation for future work.Sebastian Benoit
2017-06-18update log.c in ifstated to the same used in bgpd etc.Sebastian Benoit
2017-03-21From a syslog perspective it does not make sense to log fatal andAlexander Bluhm
2017-01-05Replace hand-rolled for(;;) emptying of 'symhead' TAILQ with moreKenneth R Westerback
2017-01-05Replace symset()'s hand-rolled for(;;) traversal of 'symhead' TAILQKenneth R Westerback
2016-09-02work on making log.c similar in all daemons:Sebastian Benoit
2016-08-27Pull in <time.h> for one or more of gmtime, strftime, strptime, time,Philip Guenther