• exec/load/dns.js

    From Deucе@VERT to Git commit to main/sbbs/master on Sat Apr 3 00:33:11 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/6ff18ca2d027bd12d4a640e6
    Modified Files:
    exec/load/dns.js
    Log Message:
    Add untested parsers for interesting record types

    SRV, NAPTR, and URI

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Apr 3 00:34:04 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/22b8c2ab06532e3efff8ad99
    Modified Files:
    exec/load/dns.js
    Log Message:
    At least test that it compiles.

    Sheesh.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Apr 3 21:44:30 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/48a21fc6b04d0121d4936c0f
    Modified Files:
    exec/load/dns.js
    Log Message:
    Add DNS_blocking sub-class for non-event driven lookups

    The DNS_blocking class supports the same API as the DNS class, but
    does not use events, so any method will complete before returning.
    As such, the callback argument is optional.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Apr 4 13:58:33 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/73f3c98add2c71c12ed4280b
    Modified Files:
    exec/load/dns.js
    Log Message:
    Use a single class, and pass in a synchronous flag.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Apr 4 18:16:15 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/be1ad28063cddbbaf0ab51dd
    Modified Files:
    exec/load/dns.js
    Log Message:
    Change default failures to 3 and timeout to 5sec

    Also, check that the opcode and response flag are correct when
    parsing responses.

    When handling a resolve call, ensure no errors occured.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Apr 5 17:11:05 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/d52a4c5c51ac4e5178933cd6
    Modified Files:
    exec/load/dns.js
    Log Message:
    Use this, not ctx in handlers.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Apr 5 17:29:48 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/8e3a8aa74b820ad45305bae0
    Modified Files:
    exec/load/dns.js
    Log Message:
    Only the async query needs the timeout now, so move it back in.

    Also, have handle_response() return errors.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Apr 5 19:21:38 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/6021475e628e55c94d255bd4
    Modified Files:
    exec/load/dns.js
    Log Message:
    Fixes for async lookups

    - Add a unique number to event names for each request
    Prevents responses from being acepted by multiple queries
    - Don't set Socket.dnsObject for synchronous lookups
    - OPcode of 2 is used for status replies (ie: NXDOMAIN)
    - Be more careful construct result array in request()

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Apr 29 07:02:53 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/f9da3080214a01b898c81659
    Modified Files:
    exec/load/dns.js
    Log Message:
    Fix DNS response flag parsing.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Jun 5 18:33:45 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/d5881f9b91824d2e3435474c
    Modified Files:
    exec/load/dns.js
    Log Message:
    Fix parsing of the return code.

    This fixes an issue in TypeClass lookups (such as used by reverse())

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Tue Dec 14 21:56:49 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/e543d8ad6ce2befb0982fefb
    Modified Files:
    exec/load/dns.js
    Log Message:
    Allow IPv{4,6} only queries while retaining backwards compatibility.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net