libtelnet | Simple RFC-complient TELNET implementation as a C library | Telnet library

 by   seanmiddleditch C Version: 0.23 License: Non-SPDX

kandi X-RAY | libtelnet Summary

kandi X-RAY | libtelnet Summary

libtelnet is a C library typically used in Networking, Telnet applications. libtelnet has no bugs, it has no vulnerabilities and it has low support. However libtelnet has a Non-SPDX License. You can download it from GitHub.

libtelnet provides safe and correct handling of the core TELNET protocol. In addition to the base TELNET protocol, libtelnet also implements the Q method of TELNET option negotiation. libtelnet can be used for writing servers, clients, or proxies.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              libtelnet has a low active ecosystem.
              It has 234 star(s) with 108 fork(s). There are 27 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 6 open issues and 19 have been closed. On average issues are closed in 390 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of libtelnet is 0.23

            kandi-Quality Quality

              libtelnet has 0 bugs and 0 code smells.

            kandi-Security Security

              libtelnet has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              libtelnet code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              libtelnet has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              libtelnet releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of libtelnet
            Get all kandi verified functions for this library.

            libtelnet Key Features

            No Key Features are available at this moment for libtelnet.

            libtelnet Examples and Code Snippets

            No Code Snippets are available at this moment for libtelnet.

            Community Discussions

            QUESTION

            How to change default C/C++ gnu readline newline character?
            Asked 2021-Mar-12 at 16:38

            My goal is to use the C/C++ readline library on the telnet server-side as it delivers all necessary terminal functionality out of the box. Readline is already connected to the telnet socket, read and write to the socket works fine. I'm using libtelnet by Sean Middleditch.

            The problem is that the readline outputs '\n' instead of '\n\r' which is a telnet standard to go to a new line = New Line + Carriage Return.

            Current output on the client-side:

            ...

            ANSWER

            Answered 2021-Mar-12 at 16:38

            It's not readline that should be changing its behaviour IMO, but libtelnet that should be performing the appropriate translation.

            The documentation for libtelnet mentions

            • void telnet_send_text(telnet_t *telnet, const char *buffer, size_t size);

            Sends text characters with translation of C newlines (\n) into CR LF and C carriage returns (\r) into CR NUL, as required by RFC854, unless transmission in BINARY mode has been negotiated.

            so it should be able to handle this. You'll have to show how readline is talking to libtelnet if you need more detailed help.

            Edit - it looks like you're using libtelnet to handle input from the telnet client, but allowing readline to put characters directly on the socket back to the client. This is a mistake. Per the libtelnet documentation:

            Note: it is very important that ALL data sent to the remote end of the connection be passed through libtelnet. All user input or process output that you wish to send over the wire should be given to one of the following functions. Do NOT send or buffer unprocessed output data directly!

            That is, you need

            Source https://stackoverflow.com/questions/66587672

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install libtelnet

            You can download it from GitHub.

            Support

            The Zenith MUD Protocol allows applications to send messages across the TELNET connection outside of the normal user input/output data stream. libtelnet offers some limited support for receiving and sending ZMP commands to make implementing a full ZMP stack easier. For more information on ZMP:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/seanmiddleditch/libtelnet.git

          • CLI

            gh repo clone seanmiddleditch/libtelnet

          • sshUrl

            git@github.com:seanmiddleditch/libtelnet.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Telnet Libraries

            sshwifty

            by nirui

            teleport

            by tp4a

            PttChrome

            by iamchucky

            shellz

            by evilsocket

            flynn-demo

            by flynn-archive

            Try Top Libraries by seanmiddleditch

            jobxx

            by seanmiddleditchC++

            formatxx

            by seanmiddleditchC++

            BubbleBattleBoids

            by seanmiddleditchC

            gha-setup-vsdevenv

            by seanmiddleditchJavaScript

            gha-publish-to-git

            by seanmiddleditchShell