Re: [s6-dns] is there a particular reason skadns_packet would return NULL errno ENETUNREACH?

From: Amelia Bjornsdottir <ellenor_at_umbrellix.net>
Date: Thu, 13 Oct 2022 02:22:41 +0000

To clarify, I'm referring to the ->target member (in srv) or the
->exchange member (in mx).

Are those not the same as the input format for skadns_send?


On 10/13/22 00:10, Amelia Bjornsdottir wrote:
> I'm passing skadns_send an s6dns_domain_t straight out of an
> s6dns_message_rr_srv_t (case 1) or a s6dns_message_rr_mx_t (case 2).Is
> that in packet format or in string format? The documentation claimed
> that it would be in packet format. Should it be in string format?
>
> On 10/12/22 22:32, Guillermo wrote:
>> El vie, 7 oct 2022 a las 20:29, Amelia Bjornsdottir escribió:
>>> I link truss -f of my application piped through grep skadns' PID to
>>> show
>>> only skadns, on OmniOS
>>> <https://umbrellix.net/~ellenor/omnios.sdtruss.txt> and HardenedBSD
>>> <https://umbrellix.net/~ellenor/hbsd.sdtruss.txt>.
>> After further analysis, I see a pattern and have a hypothesis.
>>
>> Amelia, how's the program constructing the s6dns_domain_t object that
>> it passes to skadns_send() for A and AAAA queries? Is it calling
>> s6dns_domain_encode() or s6dns_domain_encode_list(), i.e., is the
>> object passed to skadns_send() in packet form instead of string form?
>>
>> G.
>
-- 
Amelia Bjornsdottir (she, they)
sysadmin umbrellix.net, deputy sysadmin chatspeed.net
jabber: eamon.aka.amy.malik ~on~ umbrellix.net
Received on Thu Oct 13 2022 - 04:22:41 CEST

This archive was generated by hypermail 2.4.0 : Thu Oct 13 2022 - 04:23:12 CEST