ethernet-ip | Asynchronous , non-blocking , EtherNet/IP client | TCP library

 by   digitalpetri Java Version: Current License: Apache-2.0

kandi X-RAY | ethernet-ip Summary

kandi X-RAY | ethernet-ip Summary

ethernet-ip is a Java library typically used in Networking, TCP applications. ethernet-ip has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub, Maven.

Asynchronous, non-blocking, EtherNet/IP client implementation for Java
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ethernet-ip has a low active ecosystem.
              It has 98 star(s) with 38 fork(s). There are 22 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 2 open issues and 34 have been closed. On average issues are closed in 27 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ethernet-ip is current.

            kandi-Quality Quality

              ethernet-ip has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              ethernet-ip is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ethernet-ip releases are not available. You will need to build from source code and install.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 6031 lines of code, 622 functions and 105 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ethernet-ip and discovered the below as its top functions. This is intended to give you an instant insight into ethernet-ip implemented functionality, and help decide if they suit your requirements.
            • Decodes the response and returns the template instance
            • Reads null terminated string
            • Decode a template instance
            • Decode the response and process the response
            • Decode service data
            • Decode the response from the buffer
            • Decode response data from buffer
            • Encodes the proxy protocol message
            • Encode the connection path segment
            • Returns a hash code of the packet
            • Creates a unique hashCode for the SIP
            • Returns a string representation of the CIP status code
            • Decode the response
            • Encodes the packet
            • Encode the object definition
            • This method generates a hash code for the packet
            • Decode response from the buffer
            • Release shared resources
            • Encodes the service into the given buffer
            • Bootstraps the network
            • Encodes the mask
            • Decode the response and return the response
            • Handles send unit data
            • Encodes the provided ConnectedDataItemResponse into the given buffer
            • Encodes the given unconnected data item response into the given buffer
            • Writes a command to the channel
            Get all kandi verified functions for this library.

            ethernet-ip Key Features

            No Key Features are available at this moment for ethernet-ip.

            ethernet-ip Examples and Code Snippets

            No Code Snippets are available at this moment for ethernet-ip.

            Community Discussions

            Trending Discussions on ethernet-ip

            QUESTION

            How can I construct IP payload packet with mbuf?
            Asked 2020-Mar-29 at 02:42

            My requirement is create to Ethernet-IP-Payload with DPDK Mbuf. DPDK application is running on on virtual machine, the packet generation function invokes the API (attached in second image). I send the packet through DPDK interface and capture on my host system (W10).

            Wireshark, can not understand the ethernet protocol as IP.Is there something wrong?

            enter image description here

            enter image description here

            ...

            ANSWER

            Answered 2020-Mar-28 at 03:15

            a couple of things you can correct in your DPDK code.

            1. Network packets are big-endian, I assume you are running the Guest OS on x86. If this is true please make sure correct the endianness.
            2. DPDK API rte_pktmbuf_mtod gets you the start of packet. Please fill the ethernet header first, then move 14 bytes ie struct rte_eth_hdr to typecast to IP and fill the data.
            3. in IP field, the checksum filed is set as 0. Please cross-check if you are enabling IP-CHECKSUM offload in port_init.
            4. All fields in IP has to follow BIG endian format too.
            5. There is also a port filed in mbuf. With rte_mbuf_alloc it will be 0, but for sending to another port it should be the right value.

            Wireshark observations

            1. Byte 13 and 14 is 0xa50. This looks like your intended payload is overwritten
            2. Byte 1 is 0x45 which clearly shows, you are writing IP header content first instead of ethernet. Please use step 2 from DPDK fixes.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install ethernet-ip

            You can download it from GitHub, Maven.
            You can use ethernet-ip like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the ethernet-ip component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            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/digitalpetri/ethernet-ip.git

          • CLI

            gh repo clone digitalpetri/ethernet-ip

          • sshUrl

            git@github.com:digitalpetri/ethernet-ip.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 digitalpetri

            modbus

            by digitalpetriJava

            opc-ua-demo-server

            by digitalpetriKotlin

            opc-ua-nodeset-parser

            by digitalpetriJava

            netty-channel-fsm

            by digitalpetriJava

            strict-machine

            by digitalpetriJava