summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ifstated/ifstated.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-3/+3
* PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() callskrw2019-01-221-4/+4
* ifstated(8) needs to load configfile from within the main loop, but also tomestre2018-10-311-2/+7
* Add support for interface departure and arrival.rob2017-08-301-4/+34
* Stop tracking interface indexes. Suggested by deraadt.rob2017-08-201-11/+16
* Remove some dead logging code that was never used.rob2017-08-141-4/+1
* Consistent use of log.c, and removal of err.h include. Makes ifstatedrob2017-08-081-6/+5
* Improve error checking during processing of routing messages. Handling ofrob2017-08-061-14/+25
* Use pledge(2)jca2017-07-241-1/+4
* Don't bother initializing global variables to 0, since they will be in BSS.deraadt2017-07-231-4/+4
* use ssize_t; ok jcaderaadt2017-07-231-2/+2
* No need for sys/ioctl.h any morejca2017-07-221-2/+1
* Add a newlinejca2017-07-211-1/+2
* No need for ioctl(SIOCGIFDATA), getifaddrs(3) gives us the link statejca2017-07-211-19/+6
* rename fetch_state() to fetch_ifstate(). The word "state" is a bitbenno2017-07-041-4/+4
* Remove obvious clear_config() comments and misleading state_change() comments.benno2017-07-031-10/+7
* Second diff to rename additional "always" variable in struct ifsd_config.benno2017-07-021-11/+11
* Remove variable assignment in declaration and add whitespace to improvebenno2017-07-021-2/+4
* Rename one of the "always" variables to "body" for improved readability.benno2017-07-021-6/+6
* whitespace fixes, from Rob Pierce and mebenno2017-06-281-8/+7
* usage() gets __dead attribute, from Rob Piercebenno2017-06-281-23/+23
* Hoist some privileged code in preparation for future work.benno2017-06-271-19/+20
* update log.c in ifstated to the same used in bgpd etc.benno2017-06-181-6/+10
* setsockopt to see messages for interfaces in all routing domains againhenning2013-05-301-2/+7
* LINK_STATE_IS_UP() cleanup userland part. There is no need to specialclaudio2011-07-041-3/+2
* use appropriate timerclear macro - from Christiano F. Haesbaertokan2011-03-151-5/+4
* Make ifstated cause a little less noise in /var/log/daemon.stsp2010-07-071-3/+3
* setproctitle(NULL) is not needed, Michael Lechtermann; ok mpfderaadt2010-06-071-4/+2
* remove assumption that internal IFSD_LINK* defines are the same asstevesk2010-02-041-2/+9
* fix the function name in log_warn() text, it was borrowed from somesthen2009-06-251-2/+2
* Teach ifstated to use ROUTE_FILTER. Requested by claudio@.sthen2009-06-251-1/+7
* Error out with usage line if additional arguments are given after thepyr2008-05-121-1/+6
* remove some unneeded #includes; ok mcbride@stevesk2007-11-271-5/+1
* sync logging with most other daemons.pyr2007-10-251-58/+19
* handle the new link states as UPreyk2006-11-281-2/+4
* Kill useless arguments to libevent *_set() functions.mcbride2006-03-161-6/+5
* - configuration file can have relative pathcamield2006-02-081-5/+5
* Simplify expression code. Patch from markus@.mpf2006-02-011-23/+8
* Run external tests synchronous at state changes andmpf2006-02-011-26/+50
* If we reenter a state, it still has the old link state values cached.mpf2006-02-011-14/+24
* Remove gratuitous fetch_state() calls in state_change().mpf2006-01-251-3/+1
* Open the routing socket before load_config() calls fetch_state().mpf2006-01-231-4/+4
* Fix two situations where ifstated was leaking zombies.mpf2005-07-281-1/+5
* Fix protos, and a KNF nit. From Andrey Matveev <andrushock@korovino.net>mcbride2005-02-071-4/+3
* Use priority instead of facility in vsyslog()mpf2004-10-051-2/+2
* Start external tests and init commands also in the initial state.mpf2004-09-211-7/+11
* knfderaadt2004-06-151-5/+5
* various small fixes;jmc2004-04-271-2/+2
* call daemon(3) early; from tholo@; ok mcbride@markus2004-03-151-5/+4
* Plug memory leak on SIGHUP. From Patrick Latifi.mcbride2004-03-101-1/+2