summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/dns.c
AgeCommit message (Expand)Author
2023-11-16consider an MX of "localhost" as it were a "Null MX"Omar Polo
2023-11-08RFC 7505 ("Null MX") handlingOmar Polo
2021-06-14add required headers for smtpd.h and remove unnecessary ones in other files.Eric Faurot
2019-09-18Implement server certificate validation in smtp(1).Eric Faurot
2018-09-26treat NOTIMP as NO_DATA in response to MX query: fallback to hostname lookupEric Faurot
2018-07-25Implement a generic interface to forward resolver queries to the lkaEric Faurot
2018-05-31remove 'where' parameter from all x*() functions in utils.c, it doesn'tGilles Chehade
2018-01-06Move unpack functions into a seperate file.Sunil Nimmagadda
2017-05-31typo; from Edgar PettijohnTheo de Raadt
2015-10-28dns_lookup_host() needs to remove brackets and IPv6: prefix when receivingGilles Chehade
2015-10-17remove unused variablesGilles Chehade
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