The constants defined for the easier use of TELNET options and suboptions are listed in the table below. Suboptions are listed directly under the option they refer to. All suboptions have the TELNET_SB prefix. The RFC describing the given option is also shown in the table.
Name | Constant value of option/suboption | Detailed in RFC # |
---|---|---|
TELNET_BINARY | 0 | 856 |
TELNET_ECHO | 1 | 857 |
TELNET_SUPPRESS_GO_AHEAD | 3 | 858 |
TELNET_STATUS | 5 | 859 |
TELNET_SB_STATUS_SB_IS | 0 | |
TELNET_SB_STATUS_SB_SEND | 1 | |
TELNET_TIMING_MARK | 6 | 860 |
TELNET_RCTE | 7 | 726 |
TELNET_NAOCRD | 10 | 652 |
TELNET_SB_NAOCRD_DR | 0 | |
TELNET_SB_NAOCRD_DS | 1 | |
TELNET_NAOHTS | 11 | 653 |
TELNET_SB_NAOHTS_DR | 0 | |
TELNET_SB_NAOHTS_DS | 1 | |
TELNET_NAOHTD | 12 | 654 |
TELNET_SB_NAOHTD_DR | 0 | |
TELNET_SB_NAOHTD_DS | 1 | |
TELNET_NAOFFD | 13 | 655 |
TELNET_SB_NAOFFD_DR | 0 | |
TELNET_SB_NAOFFD_DS | 1 | |
TELNET_NAOVTS | 14 | 656 |
TELNET_SB_NAOVTS_DR | 0 | |
TELNET_SB_NAOVTS_DS | 1 | |
TELNET_NAOVTD | 15 | 657 |
TELNET_SB_NAOVTD_DR | 0 | |
TELNET_SB_NAOVTD_DS | 1 | |
TELNET_NAOLFD | 16 | 658 |
TELNET_SB_NAOLFD_DR | 0 | |
TELNET_SB_NAOLFD_DS | 1 | |
TELNET_EXTEND_ASCII | 17 | 698 |
TELNET_LOGOUT | 18 | 727 |
TELNET_BM | 19 | 735 |
TELNET_SB_BM_DEFINE | 1 | |
TELNET_SB_BM_ACCEPT | 2 | |
TELNET_SB_BM_REFUSE | 3 | |
TELNET_SB_BM_LITERAL | 4 | |
TELNET_SB_BM_CANCEL | 5 | |
TELNET_DET | 20 | 1043, 732 |
TELNET_SB_DET_DEFINE | 1 | |
TELNET_SB_DET_ERASE | 2 | |
TELNET_SB_DET_TRANSMIT | 3 | |
TELNET_SB_DET_FORMAT | 4 | |
TELNET_SB_DET_MOVE_CURSOR | 5 | |
TELNET_SB_DET_SKIP_TO_LINE | 6 | |
TELNET_SB_DET_SKIP_TO_CHAR | 7 | |
TELNET_SB_DET_UP | 8 | |
TELNET_SB_DET_DOWN | 9 | |
TELNET_SB_DET_LEFT | 10 | |
TELNET_SB_DET_RIGHT | 11 | |
TELNET_SB_DET_HOME | 12 | |
TELNET_SB_DET_LINE_INSERT | 13 | |
TELNET_SB_DET_LINE_DELETE | 14 | |
TELNET_SB_DET_CHAR_INSERT | 15 | |
TELNET_SB_DET_CHAR_DELETE | 16 | |
TELNET_SB_DET_READ_CURSOR | 17 | |
TELNET_SB_DET_CURSOR_POSITION | 18 | |
TELNET_SB_DET_REVERSE_TAB | 19 | |
TELNET_SB_DET_TRANSMIT_SCREEN | 20 | |
TELNET_SB_DET_TRANSMIT_UNPROTECTED | 21 | |
TELNET_SB_DET_TRANSMIT_LINE | 22 | |
TELNET_SB_DET_TRANSMIT_FIELD | 23 | |
TELNET_SB_DET_TRANSMIT_REST_SCREEN | 24 | |
TELNET_SB_DET_TRANSMIT_REST_LINE | 25 | |
TELNET_SB_DET_TRANSMIT_REST_FIELD | 26 | |
TELNET_SB_DET_TRANSMIT_MODIFIED | 27 | |
TELNET_SB_DET_DATA_TRANSMIT | 28 | |
TELNET_SB_DET_ERASE_SCREEN | 29 | |
TELNET_SB_DET_ERASE_LINE | 30 | |
TELNET_SB_DET_ERASE_FIELD | 31 | |
TELNET_SB_DET_ERASE_REST_SCREEN | 32 | |
TELNET_SB_DET_ERASE_REST_LINE | 33 | |
TELNET_SB_DET_ERASE_REST_FIELD | 34 | |
TELNET_SB_DET_ERASE_UNPROTECTED | 35 | |
TELNET_SB_DET_FORMAT_DATA | 36 | |
TELNET_SB_DET_REPEAT | 37 | |
TELNET_SB_DET_SUPPRESS_PROTECTION | 38 | |
TELNET_SB_DET_FIELD_SEPARATOR | 39 | |
TELNET_SB_DET_FN | 40 | |
TELNET_SB_DET_ERROR | 41 | |
TELNET_SUPDUP | 21 | 736, 734 |
TELNET_SUPDUP_OUTPUT | 22 | 749 |
TELNET_SEND_LOCATION | 23 | 779 |
TELNET_TERMINAL_TYPE | 24 | 1091 |
TELNET_SB_TERMINAL_TYPE_IS | 0 | |
TELNET_SB_TERMINAL_TYPE_SEND | 1 | |
TELNET_EOR | 25 | 885 |
TELNET_TUID | 26 | 927 |
TELNET_OUTMRK | 27 | 933 |
TELNET_TTYLOC | 28 946 | |
TELNET_3270_REGIME | 29 | 1041 |
TELNET_SB_3270_REGIME_IS | 0 | |
TELNET_SB_3270_REGIME_ARE | 1 | |
TELNET_X3_PAD | 30 | 1053 |
TELNET_SB_X3_PAD_SET | 0 | |
TELNET_SB_X3_PAD_RESPONSE_SET | 1 | |
TELNET_SB_X3_PAD_IS | 2 | |
TELNET_SB_X3_PAD_RESPONSE_IS | 3 | |
TELNET_SB_X3_PAD_SEND | 4 | |
TELNET_NAWS | 31 | 1073 |
TELNET_TERMINAL_SPEED | 32 | 1079 |
TELNET_SB_TERMINAL_SPEED_IS | 0 | |
TELNET_SB_TERMINAL_SPEED_SEND | 1 | |
TELNET_TOGGLE_FLOW_CONTROL | 33 | 1372 |
TELNET_SB_TOGGLE_FLOW_CONTROL_OFF | 0 | |
TELNET_SB_TOGGLE_FLOW_CONTROL_ON | 1 | |
TELNET_SB_TOGGLE_FLOW_CONTROL_RESTART_ANY | 2 | |
TELNET_SB_TOGGLE_FLOW_CONTROL_RESTART_XON | 3 | |
TELNET_LINEMODE | 34 | 1184 |
TELNET_SB_LINEMODE_MODE | 1 | |
TELNET_SB_LINEMODE_FORWARDMASK | 2 | |
TELNET_SB_LINEMODE_SLC | 3 | |
TELNET_X_DISPLAY_LOCATION | 35 | 1096 |
TELNET_SB_X_DISPLAY_LOCATION_IS | 0 | |
TELNET_SB_X_DISPLAY_LOCATION_SEND | 1 | |
TELNET_OLD_ENVIRONMENT | 36 | 1408 |
TELNET_SB_OLD_ENVIRONMENT_IS | 0 | |
TELNET_SB_OLD_ENVIRONMENT_SEND | 1 | |
TELNET_SB_OLD_ENVIRONMENT_INFO | 2 | |
TELNET_AUTHENTICATION | 37 | 2941 |
TELNET_SB_AUTHENTICATION_IS | 0 | |
TELNET_SB_AUTHENTICATION_SEND | 1 | |
TELNET_SB_AUTHENTICATION_REPLY | 2 | |
TELNET_SB_AUTHENTICATION_NAME | 3 | |
TELNET_ENCRYPT | 38 | 2946 |
TELNET_SB_ENCRYPT_IS | 0 | |
TELNET_SB_ENCRYPT_SUPPORT | 1 | |
TELNET_SB_ENCRYPT_REPLY | 2 | |
TELNET_SB_ENCRYPT_START | 3 | |
TELNET_SB_ENCRYPT_END | 4 | |
TELNET_SB_ENCRYPT_REQUEST_START | 5 | |
TELNET_SB_ENCRYPT_REQUEST_END | 6 | |
TELNET_SB_ENCRYPT_ENC_KEYID | 7 | |
TELNET_SB_ENCRYPT_DEC_KEYID | 8 | |
TELNET_ENVIRONMENT | 39 | 1572 |
TELNET_SB_ENVIRONMENT_IS | 0 | |
TELNET_SB_ENVIRONMENT_SEND | 1 | |
TELNET_SB_ENVIRONMENT_INFO | 2 | |
TELNET_TN3270E | 40 | 1647 |
TELNET_SB_TN3270E_ASSOCIATE | 0 | |
TELNET_SB_TN3270E_CONNECT | 1 | |
TELNET_SB_TN3270E_DEVICE_TYPE | 2 | |
TELNET_SB_TN3270E_FUNCTIONS | 3 | |
TELNET_SB_TN3270E_IS | 4 | |
TELNET_SB_TN3270E_REASON | 5 | |
TELNET_SB_TN3270E_REJECT | 6 | |
TELNET_SB_TN3270E_REQUEST | 7 | |
TELNET_SB_TN3270E_SEND | 8 | |
TELNET_CHARSET | 42 | 2066 |
TELNET_SB_CHARSET_REQUEST | 1 | |
TELNET_SB_CHARSET_ACCEPTED | 2 | |
TELNET_SB_CHARSET_REJECTED | 3 | |
TELNET_SB_CHARSET_TTABLE_IS | 4 | |
TELNET_SB_CHARSET_TTABLE_REJECTED | 5 | |
TELNET_SB_CHARSET_TTABLE_ACK | 6 | |
TELNET_SB_CHARSET_TTABLE_NAK | 7 | |
TELNET_COM_PORT | 44 | 2217 |
TELNET_SB_COM_PORT_CLI_SET_BAUDRATE | 1 | |
TELNET_SB_COM_PORT_CLI_SET_DATASIZE | 2 | |
TELNET_SB_COM_PORT_CLI_SET_PARITY | 3 | |
TELNET_SB_COM_PORT_CLI_SET_STOPSIZE | 4 | |
TELNET_SB_COM_PORT_CLI_SET_CONTROL | 5 | |
TELNET_SB_COM_PORT_CLI_NOTIFY_LINESTATE | 6 | |
TELNET_SB_COM_PORT_CLI_NOTIFY_MODEMSTATE | 7 | |
TELNET_SB_COM_PORT_CLI_FLOWCONTROL_SUSPEND | 8 | |
TELNET_SB_COM_PORT_CLI_FLOWCONTROL_RESUME | 9 | |
TELNET_SB_COM_PORT_CLI_SET_LINESTATE_MASK | 10 | |
TELNET_SB_COM_PORT_CLI_SET_MODEMSTATE_MASK | 11 | |
TELNET_SB_COM_PORT_CLI_PURGE_DATA | 12 | |
TELNET_SB_COM_PORT_SVR_SET_BAUDRATE | 101 | |
TELNET_SB_COM_PORT_SVR_SET_DATASIZE | 102 | |
TELNET_SB_COM_PORT_SVR_SET_PARITY | 103 | |
TELNET_SB_COM_PORT_SVR_SET_STOPSIZE | 104 | |
TELNET_SB_COM_PORT_SVR_SET_CONTROL | 105 | |
TELNET_SB_COM_PORT_SVR_NOTIFY_LINESTATE | 106 | |
TELNET_SB_COM_PORT_SVR_NOTIFY_MODEMSTATE | 107 | |
TELNET_SB_COM_PORT_SVR_FLOWCONTROL_SUSPEND | 108 | |
TELNET_SB_COM_PORT_SVR_FLOWCONTROL_RESUME | 109 | |
TELNET_SB_COM_PORT_SVR_SET_LINESTATE_MASK | 110 | |
TELNET_SB_COM_PORT_SVR_SET_MODEMSTATE_MASK | 111 | |
TELNET_SB_COM_PORT_SVR_PURGE_DATA | 112 | |
TELNET_KERMIT | 47 | 2840 |
TELNET_SB_KERMIT_START_SERVER | 0 | |
TELNET_SB_KERMIT_STOP_SERVER | 1 | |
TELNET_SB_KERMIT_REQ_START_SERVER | 2 | |
TELNET_SB_KERMIT_REQ_STOP_SERVER | 3 | |
TELNET_SB_KERMIT_SOP | 4 | |
TELNET_SB_KERMIT_RESP_START_SERVER | 8 | |
TELNET_SB_KERMIT_RESP_STOP_SERVER | 9 | |
TELNET_EXOPL | 255 | 861 |
TELNET_SUBLIMINAL_MSG | 257 | 1097 |
Table A.1. TELNET options and suboptions
© 2021 BalaSys IT Security.
Send your comments to support@balasys.hu