aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Only test Z answer bits if S6DNS_O_STRICTLaurent Bercot2026-05-261-2/+2
|
* Fix dotpc; allow dummy s6dns_engine queries with qtype = 0Laurent Bercot2026-02-031-0/+1
|
* Don't step on POSIXLaurent Bercot2024-11-101-4/+4
| | | | | | remove() is in stdio.h, which bionic pulls. lol @ bionic. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.3.8.0; add s6dns_engine_queryLaurent Bercot2024-08-053-0/+17
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix depsLaurent Bercot2024-07-051-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove s6dns_mininetstring, prepare for 2.7.2.3Laurent Bercot2024-07-051-38/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add packet dump in post-received debug primitiveLaurent Bercot2024-06-171-1/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.3.7.2; implement dns-0x20Laurent Bercot2024-04-277-68/+72
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove unused caches/ subdirLaurent Bercot2023-12-2118-563/+0
| | | | | | dcache is moved to shibari. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.3.7.1Laurent Bercot2023-12-201-2/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Null-terminate output of s6dns_domain_tostring()Laurent Bercot2023-12-132-0/+8
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Revert the changes, they're incorrect.Laurent Bercot2023-12-034-32/+20
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Actually add the function to the lib!Laurent Bercot2023-12-021-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add nodecode functions for get_domain and parse_questionLaurent Bercot2023-12-025-19/+34
| | | | | | Also make sure get_domain always returns lowercase. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* version: 2.3.7.0v2.3.7.0Laurent Bercot2023-11-204-0/+7
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix old _BSD_SOURCE definitionsLaurent Bercot2023-11-184-12/+12
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.3.7.0; ignore link-local addresses in /etc/hostsLaurent Bercot2023-11-178-58/+43
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix old type defLaurent Bercot2023-10-121-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bsdsnowflake is a lighter approach than nonposixLaurent Bercot2023-09-151-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* New tentative workaround for bad sys/stat.hLaurent Bercot2023-09-121-2/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Support Darwin snowflakiness with st_mtimLaurent Bercot2023-09-121-2/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix wrong error on nodata in s6-dnsipLaurent Bercot2023-07-232-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix noqualify for /etc/hosts compilationLaurent Bercot2023-07-211-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More bigfuxes!Laurent Bercot2023-07-205-29/+46
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* No dead code plzLaurent Bercot2023-07-141-6/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Bugfix the bigfuxesLaurent Bercot2023-07-134-13/+16
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* smol bugfixLaurent Bercot2023-07-121-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Pass on all clients, add hosts support wherever applicableLaurent Bercot2023-07-1226-186/+361
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Good version of hosts.hLaurent Bercot2023-07-112-21/+31
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6dns_hosts reading functionsLaurent Bercot2023-07-068-59/+288
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix debug stuffLaurent Bercot2023-07-031-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* First wave of debugLaurent Bercot2023-07-031-6/+41
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-dns-hosts-compile, prepare for 2.3.6.0Laurent Bercot2023-07-039-0/+531
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to iter_func fixLaurent Bercot2023-06-132-15/+14
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: signed length in tcp prefixLaurent Bercot2023-01-031-7/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.13.0.0Laurent Bercot2022-11-2919-19/+19
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Gate rrd == qrd relevant test behind S6DNS_O_STRICTLaurent Bercot2022-10-101-2/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Error message typo fix in skadnsdLaurent Bercot2022-10-101-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: adapt to new allread() APILaurent Bercot2022-10-071-1/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.3.5.4; adapt to skalibs-2.12.0.0Laurent Bercot2022-04-093-7/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: alloc_free correct valueLaurent Bercot2021-12-041-1/+1
| | | | | | | *All* my memory bugs come from places where I'm not using stralloc. That should give a hint to every C programmer out there. Really. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Pass errno as unsigned charLaurent Bercot2021-09-021-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.3.5.2, adapt sig_ignore apiLaurent Bercot2021-08-101-5/+7
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.11Laurent Bercot2021-08-0462-176/+176
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: s6dns_resolve_aaaaa API on double nodataLaurent Bercot2021-03-174-17/+33
|
* bugfix: call skadnsd via the non-versioned pathLaurent Bercot2021-02-261-1/+1
|
* Do not overwrite the question when reading an answer via UDPLaurent Bercot2021-01-151-2/+1
|
* Prepare for 2.3.5.0, s6dns_message_get_domain_nodecode() now publicLaurent Bercot2021-01-147-10/+7
|
* Prepare for 2.3.4.0Laurent Bercot2021-01-021-3/+7
|
* Refactor libdcache, expose dcache_clean_expired()Laurent Bercot2020-12-299-32/+67
|