davidrg / ckwin

Kermit 95 (C-Kermit for Windows and OS/2) - scriptable internet and serial communications with terminal emulation
Other
65 stars 17 forks source link

DNS-SRV Support #205

Open davidrg opened 1 year ago

davidrg commented 1 year ago

DNS-SRV support, a feature available in Kermit 95, is currently disabled in CKW as it relies on a feature of MIT Kerberos that was removed in 2018 (wshelper).

DNS SRV support will need to be reimplemented for modern windows systems - perhaps using DnsQuery_A/DnsQuery_W/DnsQuery_Utf8 (possibly not available on NT/9x)? Otherwise perhaps we can steal some code from MIT Kerberos - the license is compatible.

wshelper removed in this commit: https://github.com/krb5/krb5/commit/76aaa786db1051cd56ef8ac9157f8a30301c3949

The specific functions being used (based on unresolved external symbol errors from the linker when wshelper isn't available) are:

The MIT Kerberos commit that stopped using wshelper for SRV and TXT lookups is: https://github.com/krb5/krb5/commit/67de45e349912caccfba73aff6ebda111281e819