summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/dns.c
AgeCommit message (Expand)Author
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt
2015-01-06fix whitespace and indentation, by Kyle MilzGilles Chehade
2014-10-08restrict address lookups to configured address families.Eric Faurot
2014-04-19(void) cast this strlcpy(), it cannot truncateGilles Chehade
2014-04-19these strlcpy can't truncate, the copy is from a buffer to a buffer of sameGilles Chehade
2014-04-04Merge the mda, mta and smtp processes into a single unprivilegedEric Faurot
2014-04-03use asr helpers after libevent update.Eric Faurot
2014-03-26asr API is now publicEric Faurot
2014-03-25update after asr API updateEric Faurot
2014-03-25Integrate necessary dns packet parsing helpers from asr.Eric Faurot
2014-03-14field renameEric Faurot
2013-12-26bcopy -> memmoveEric Faurot
2013-11-18When looking up a MX, parse the address if the domain is a "[ipaddr]" string.Eric Faurot
2013-10-26%i -> %d in format stringsEric Faurot
2013-07-12update after asr changes.Eric Faurot
2013-05-24sync with OpenSMTPD 5.3.2Eric Faurot
2013-04-30remove params after API change.Eric Faurot
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-24fix after asr updateEric Faurot
2012-11-23knfEric Faurot
2012-11-12Cleanups and improvements:Eric Faurot
2012-10-08skip RR if type is not MX. Use hostname if the list of MX is emptyEric Faurot
2012-10-03when requesting MX entries, the result can be appear in random orders.Gilles Chehade
2012-09-27use xmalloc()/xcalloc() helpersCharles Longeau
2012-08-25- introduce struct stat_valueGilles Chehade
2012-08-21Allow smtpd to work as a backup MX, relaying only to MXs with higherEric Faurot
2012-08-21Use TAILQ rather than array for mx list.Eric Faurot
2012-08-21dns sessions don't use lookup. no need to store them in a tree.Eric Faurot
2012-08-19coding style: replace all occurences of u_int* with uint*Charles Longeau
2012-08-18- introduce stat_backend, an API for pluggable statistic backendsGilles Chehade
2012-08-08cleanup some old debug tracesEric Faurot
2012-07-29fix bogus permfail when no MX is defined on a valid domain.Eric Faurot
2012-07-09move to the new resolver implementation, with temporary glue to useEric Faurot
2012-04-14improve readabilityEric Faurot
2012-01-11Try to parse hostnames as IP addresses before resolving. This allowsEric Faurot
2012-01-11Improve error reporting. Most errors during hostname lookup areEric Faurot
2011-09-01Introduce a small set of functions to manage stat counters in aEric Faurot
2011-07-20Fix reporting of permanent/temporary failures for MX lookups.Eric Faurot
2011-07-03imsg.h requires sys/queue.h and sys/uio.h.Nicholas Marriott
2011-05-06move dns session specific structs and prototypes out of smtpd.h.Eric Faurot
2011-05-01the smtpd env is meant to be global, so do not pass it all around.Eric Faurot
2011-04-17cleanups, cosmethic changes, functions that should be static are now staticGilles Chehade
2011-04-02add stat counters for the lookup agentEric Faurot
2011-03-31cleanup and simplification following the asr update.Eric Faurot
2011-03-29remove unused code now that reverse lookups are done through asr.Eric Faurot
2011-03-29make use the cname query interface from asr for reverse lookupsEric Faurot
2011-03-27add a function to factorize resetting of dnssession events.Eric Faurot
2011-03-26Fix the MX lookup process:Eric Faurot
2011-03-26Tweak the asr API to make things a bit smoother on the user side.Eric Faurot
2011-03-26use an index for iterating into the mx list.Eric Faurot