UNPKG

13.8 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.instanceLookup = instanceLookup;
7exports.parseBrowserResponse = parseBrowserResponse;
8var _dns = _interopRequireDefault(require("dns"));
9var _abortError = _interopRequireDefault(require("./errors/abort-error"));
10var _sender = require("./sender");
11var _withTimeout = require("./utils/with-timeout");
12function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13const SQL_SERVER_BROWSER_PORT = 1434;
14const TIMEOUT = 2 * 1000;
15const RETRIES = 3;
16// There are three bytes at the start of the response, whose purpose is unknown.
17const MYSTERY_HEADER_LENGTH = 3;
18// Most of the functionality has been determined from from jTDS's MSSqlServerInfo class.
19async function instanceLookup(options) {
20 const server = options.server;
21 if (typeof server !== 'string') {
22 throw new TypeError('Invalid arguments: "server" must be a string');
23 }
24 const instanceName = options.instanceName;
25 if (typeof instanceName !== 'string') {
26 throw new TypeError('Invalid arguments: "instanceName" must be a string');
27 }
28 const timeout = options.timeout === undefined ? TIMEOUT : options.timeout;
29 if (typeof timeout !== 'number') {
30 throw new TypeError('Invalid arguments: "timeout" must be a number');
31 }
32 const retries = options.retries === undefined ? RETRIES : options.retries;
33 if (typeof retries !== 'number') {
34 throw new TypeError('Invalid arguments: "retries" must be a number');
35 }
36 if (options.lookup !== undefined && typeof options.lookup !== 'function') {
37 throw new TypeError('Invalid arguments: "lookup" must be a function');
38 }
39 const lookup = options.lookup ?? _dns.default.lookup;
40 if (options.port !== undefined && typeof options.port !== 'number') {
41 throw new TypeError('Invalid arguments: "port" must be a number');
42 }
43 const port = options.port ?? SQL_SERVER_BROWSER_PORT;
44 const signal = options.signal;
45 if (signal.aborted) {
46 throw new _abortError.default();
47 }
48 let response;
49 for (let i = 0; i <= retries; i++) {
50 try {
51 response = await (0, _withTimeout.withTimeout)(timeout, async signal => {
52 const request = Buffer.from([0x02]);
53 return await (0, _sender.sendMessage)(options.server, port, lookup, signal, request);
54 }, signal);
55 } catch (err) {
56 // If the current attempt timed out, continue with the next
57 if (!signal.aborted && err instanceof Error && err.name === 'TimeoutError') {
58 continue;
59 }
60 throw err;
61 }
62 }
63 if (!response) {
64 throw new Error('Failed to get response from SQL Server Browser on ' + server);
65 }
66 const message = response.toString('ascii', MYSTERY_HEADER_LENGTH);
67 const foundPort = parseBrowserResponse(message, instanceName);
68 if (!foundPort) {
69 throw new Error('Port for ' + instanceName + ' not found in ' + options.server);
70 }
71 return foundPort;
72}
73function parseBrowserResponse(response, instanceName) {
74 let getPort;
75 const instances = response.split(';;');
76 for (let i = 0, len = instances.length; i < len; i++) {
77 const instance = instances[i];
78 const parts = instance.split(';');
79 for (let p = 0, partsLen = parts.length; p < partsLen; p += 2) {
80 const name = parts[p];
81 const value = parts[p + 1];
82 if (name === 'tcp' && getPort) {
83 const port = parseInt(value, 10);
84 return port;
85 }
86 if (name === 'InstanceName') {
87 if (value.toUpperCase() === instanceName.toUpperCase()) {
88 getPort = true;
89 } else {
90 getPort = false;
91 }
92 }
93 }
94 }
95}
96//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfZG5zIiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJfYWJvcnRFcnJvciIsIl9zZW5kZXIiLCJfd2l0aFRpbWVvdXQiLCJvYmoiLCJfX2VzTW9kdWxlIiwiZGVmYXVsdCIsIlNRTF9TRVJWRVJfQlJPV1NFUl9QT1JUIiwiVElNRU9VVCIsIlJFVFJJRVMiLCJNWVNURVJZX0hFQURFUl9MRU5HVEgiLCJpbnN0YW5jZUxvb2t1cCIsIm9wdGlvbnMiLCJzZXJ2ZXIiLCJUeXBlRXJyb3IiLCJpbnN0YW5jZU5hbWUiLCJ0aW1lb3V0IiwidW5kZWZpbmVkIiwicmV0cmllcyIsImxvb2t1cCIsImRucyIsInBvcnQiLCJzaWduYWwiLCJhYm9ydGVkIiwiQWJvcnRFcnJvciIsInJl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