"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RFC_1929_VERSION = exports.RFC_1929_REPLIES = exports.RFC_1928_VERSION = exports.RFC_1928_REPLIES = exports.RFC_1928_METHODS = exports.RFC_1928_COMMANDS = exports.RFC_1928_ATYP = void 0;
exports.RFC_1928_ATYP = {
    DOMAINNAME: 0x03,
    IPV4: 0x01,
    IPV6: 0x04,
};
exports.RFC_1928_COMMANDS = {
    BIND: 0x02,
    CONNECT: 0x01,
    UDP_ASSOCIATE: 0x03,
};
exports.RFC_1928_METHODS = {
    BASIC_AUTHENTICATION: 0x02,
    GSSAPI: 0x01,
    NO_ACCEPTABLE_METHODS: 0xff,
    NO_AUTHENTICATION_REQUIRED: 0x00,
};
exports.RFC_1928_REPLIES = {
    ADDRESS_TYPE_NOT_SUPPORTED: 0x08,
    COMMAND_NOT_SUPPORTED: 0x07,
    CONNECTION_NOT_ALLOWED: 0x02,
    CONNECTION_REFUSED: 0x05,
    GENERAL_FAILURE: 0x01,
    HOST_UNREACHABLE: 0x04,
    NETWORK_UNREACHABLE: 0x03,
    SUCCEEDED: 0x00,
    TTL_EXPIRED: 0x06,
};
exports.RFC_1928_VERSION = 0x05;
exports.RFC_1929_REPLIES = {
    GENERAL_FAILURE: 0xff,
    SUCCEEDED: 0x00,
};
exports.RFC_1929_VERSION = 0x01;
module.exports = {
    RFC_1928_ATYP: exports.RFC_1928_ATYP,
    RFC_1928_COMMANDS: exports.RFC_1928_COMMANDS,
    RFC_1928_METHODS: exports.RFC_1928_METHODS,
    RFC_1928_REPLIES: exports.RFC_1928_REPLIES,
    RFC_1928_VERSION: exports.RFC_1928_VERSION,
    RFC_1929_REPLIES: exports.RFC_1929_REPLIES,
    RFC_1929_VERSION: exports.RFC_1929_VERSION,
};
//# sourceMappingURL=constants.js.map