rfc5952 | RFC 5952 describes how literal IPv6 addresses | TCP library

 by   sleinen C Version: Current License: AGPL-3.0

kandi X-RAY | rfc5952 Summary

kandi X-RAY | rfc5952 Summary

rfc5952 is a C library typically used in Networking, TCP applications. rfc5952 has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

RFC 5952 describes how literal IPv6 addresses should (or MUST) be written. This code checks whether a given system’s parsing and printing routines conform to this specification.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              rfc5952 has a low active ecosystem.
              It has 5 star(s) with 0 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              rfc5952 has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of rfc5952 is current.

            kandi-Quality Quality

              rfc5952 has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              rfc5952 is licensed under the AGPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              rfc5952 releases are not available. You will need to build from source code and install.

            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 rfc5952
            Get all kandi verified functions for this library.

            rfc5952 Key Features

            No Key Features are available at this moment for rfc5952.

            rfc5952 Examples and Code Snippets

            No Code Snippets are available at this moment for rfc5952.

            Community Discussions

            QUESTION

            ParseNetworkString will not parse 21DA:00D3:0000:2F3B:02AA:00FF:FE28:9C5A:8080
            Asked 2020-Apr-26 at 03:06

            I'm trying to find a way to parse a user entered IP address information, e.g.:

            • 192.168.100.10
            • 192.168.100.10:80
            • 21DA:00D3:0000:2F3B:02AA:00FF:FE28:9C5A%2
            • 21DA:00D3:0000:2F3B:02AA:00FF:FE28:9C5A
            • [21DA:00D3:0000:2F3B:02AA:00FF:FE28:9C5A%2]:8080
            • 21DA:00D3:0000:2F3B:02AA:00FF:FE28:9C5A:8080
            • www.microsoft.com
            • www.microsoft.com:80

            The WinAPI function ParseNetworkString claims to be able to parse all these formats (the list came from the documentation). And a lot of them do indeed parse. But some fail:

            • 192.168.100.10
            • 192.168.100.10:80
            • 21DA:00D3:0000:2F3B:02AA:00FF:FE28:9C5A%2
            • 21DA:00D3:0000:2F3B:02AA:00FF:FE28:9C5A
            • [21DA:00D3:0000:2F3B:02AA:00FF:FE28:9C5A%2]:8080
            • 21DA:00D3:0000:2F3B:02AA:00FF:FE28:9C5A:8080
            • www.microsoft.com
            • www.microsoft.com:80

            So the pseudocode:

            ...

            ANSWER

            Answered 2020-Apr-26 at 03:06

            The documentation is simply incorrect. If you disassemble ParseNetworkString() you will find it calls RtlIpv6StringToAddressEx() which is documented as (emphasis added):

            The string pointed to by the AddressString parameter must be represented in the form for an IPv6 address string followed by an optional percent character and scope ID string. The IPv6 address and scope ID string must be enclosed in square brackets. The right square bracket after the IPv6 address and scope ID string may be followed by an optional colon and a string representation of a port number.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install rfc5952

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            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/sleinen/rfc5952.git

          • CLI

            gh repo clone sleinen/rfc5952

          • sshUrl

            git@github.com:sleinen/rfc5952.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 TCP Libraries

            masscan

            by robertdavidgraham

            wait-for-it

            by vishnubob

            gnet

            by panjf2000

            Quasar

            by quasar

            mumble

            by mumble-voip

            Try Top Libraries by sleinen

            samplicator

            by sleinenC

            openwrt-nsupdate

            by sleinenShell

            scrubulous

            by sleinenPython

            snmp-session

            by sleinenPerl

            putrid

            by sleinenPython