diff --git a/core/servers/login/telnet.js b/core/servers/login/telnet.js index 2e27a6f8..e340d512 100644 --- a/core/servers/login/telnet.js +++ b/core/servers/login/telnet.js @@ -142,6 +142,8 @@ const OPTIONS = { //SSPI_LOGON : 139, //PRAGMA_HEARTBEAT : 140 + ARE_YOU_THERE : 246, // aka 'AYT' RFC 854 @ https://tools.ietf.org/html/rfc854 + EXTENDED_OPTIONS_LIST : 255, // RFC 861 (STD 32) }; @@ -192,7 +194,7 @@ OPTION_IMPLS[OPTIONS.TERMINAL_SPEED] = OPTION_IMPLS[OPTIONS.REMOTE_FLOW_CONTROL] = OPTION_IMPLS[OPTIONS.X_DISPLAY_LOCATION] = OPTION_IMPLS[OPTIONS.SEND_LOCATION] = - +OPTION_IMPLS[OPTIONS.ARE_YOU_THERE] = OPTION_IMPLS[OPTIONS.SUPPRESS_GO_AHEAD] = function(bufs, i, event) { event.buf = bufs.splice(0, i).toBuffer(); return event;