summaryrefslogtreecommitdiff
path: root/usr.sbin/rebound/rebound.c
AgeCommit message (Expand)Author
2019-04-01if inet6 is not available, warn, but carry onTed Unangst
2018-12-27fifo isn't really the right data structure for varying expirations.Ted Unangst
2018-12-20zap whitespaceanton
2018-12-18Rework previous: use getopt(3) to parse options passed to the worker process.anton
2018-12-18Rework how socket fds are passed around internally. This will allowTed Unangst
2018-12-06add very experimental support for dns over https. (RFC 8484)Ted Unangst
2018-11-20move a magic constant into a magic defineTed Unangst
2018-10-26Unveil should work because this only opens the configuration file,Theo de Raadt
2018-09-10logmsg(LOG_ERR) -> logerr(); ok tedu@anton
2018-09-08Check for malloc() failures.anton
2018-05-01Remove extraneous new line from error message.anton
2018-05-01The length field of a DNS packet must be network byte order encoded; ok tedu@anton
2018-04-30allow limited setting of permanent A records. like unbound local-data.Ted Unangst
2018-02-11sysctl.h is no longer neededTheo Buehler
2018-02-10Pledge monitoring process; ok tedu@anton
2018-02-07remove the magic dns port hijacking feature. it's complicated andTed Unangst
2018-02-06when we get SIGHUP, close conffd so it's reopened (and rewound).Ted Unangst
2017-08-22Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(),Theo de Raadt
2017-08-12stop pretending that qnames are always strings. treat everything as aTed Unangst
2017-07-19there's no nul byte after a name that ends in a crazy compression pointer.Ted Unangst
2017-07-13add an option to listen to an address other than localhost,Ted Unangst
2017-07-04properly adjust the ttl of replies instead of freezing them in timeTed Unangst
2017-07-03don't bother caching invalid or very short lived responsesTed Unangst
2017-07-03check that a cachehit hasn't expired before using it.Ted Unangst
2017-05-31use strerror; from Edgar PettijohnTheo de Raadt
2017-04-27clang warns about some of the strlcpy arguments here, which aren't theTed Unangst
2017-04-13moving some code into a switch meant that break no longer stopped the loop.Ted Unangst
2017-04-06replace some long if/else chains with a switchTed Unangst
2016-10-23unbreak by fixing obvious pastosChristian Weisgerber
2016-10-23listen on inet6 sockets as well. we need this because stolen inet6 socketsTed Unangst
2016-10-16switch to a re-exec model instead of plain forking to reduce sharing.Ted Unangst
2016-10-15refactor the worker and monitor loops a little to make room for re-execTed Unangst
2016-10-15be more cautious about inspecting packets. use integer offsets instead ofTed Unangst
2016-10-15implement random casing for query names, also known as 0x20 hardening.Ted Unangst
2016-10-08a little more precision about reloading config. only reopen if it changedTed Unangst
2016-10-08too many blank linesTed Unangst
2016-10-07the parent mostly never crashes, but the child might. or the config fileTed Unangst
2016-10-07several big changes, tied together.Ted Unangst
2016-09-01naming a union 'sockthing' was a bit silly. sockun will do for now.Ted Unangst
2016-09-01print regular messages to stdout, not errTed Unangst
2016-09-01scan responses for minimum ttl, and cache for min(ttl, 300) instead ofTed Unangst
2016-08-21introduce a union of sockaddr types and eliminate a lot of casts.Ted Unangst
2016-08-06reset timeout to null when reloopingTed Unangst
2016-07-02check cache tree for collisions when inserting replies.Ted Unangst
2016-06-05previous change (r1.27) converted to using non blocking sockets andTed Unangst
2016-05-31with the kernel perm check fixed, we can do this kevent after setuid,Ted Unangst
2016-05-13fix logging.Ted Unangst
2016-05-02prepare userland for removing chroot(2) from allowed syscalls under pledge(2).Sebastien Marie
2016-01-03forgot to call RB_INIT. but yet things mostly worked...Ted Unangst
2015-12-17add return code to newrequest to distinguish between cache hit and error.Ted Unangst