Hi, On Tue, Nov 22, 2022 at 07:32:29PM +0100, Gert Doering wrote: > - use getrrsetbyname(), and add that via "compat" source if a target > platform does not have it - this is what OpenSSH does > > - add #ifdefs to disable --srv functionality on OpenBSD > (which is not really where we want to go)
I think these two options are the most realistic to move forward here. getrrsetbyname() looks like a good API, and taking the compat functions from OpenSSH (I think we can, license-wise) would bring it to the other platforms. But that's more work. "Just pretending that there are no SRV records" would be the quick and dirty approach for OpenBSD otherwise, #ifdef'ing out the whole problematic function. In any case, since I've been working on the code now, someone else needs to volunteer to review the v13/v14 patches. gert -- "If was one thing all people took for granted, was conviction that if you feed honest figures into a computer, honest figures come out. Never doubted it myself till I met a computer with a sense of humor." Robert A. Heinlein, The Moon is a Harsh Mistress Gert Doering - Munich, Germany g...@greenie.muc.de
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel