-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add UDP layer #2
Comments
Hello, really interesting project. I would like to contribute to this issue. Please let me know if I can start right away. |
@kajeli7 Hi! It would be very good, I can provide you with a guide on how to setup a new layer:
If you have any questions or suggestions feel free to tell me, I can give you my discord/telegram/email. |
@vaguue |
@kajeli7 seva0075 - my Discord ID |
Feature Request: UDP Layer Support
Objective: Enhance the
lib/layers
module by introducing an UDP layer that can read and create UDP packets, aligning with the existinglayer
interface structure.Detailed Description
The UDP (User Datagram Protocol) layer is one of the core communication protocols of the Internet protocol suite used to send messages (transported as datagrams in packets) to other hosts on an Internet Protocol (IP) network. Within an IP network, UDP does not require prior communication to set up communication or data paths.
Starting Point
For the implementation, please refer to the existing
exampleLayer.js
inlib/layers
as a base structure for the new layer.Requirements:
UDP Layer Implementation: The UDP layer should be capable of understanding and constructing UDP packets. It should adhere to the specifications outlined for UDP packets, including fields like
src, dst, headerLength, checksum
.Interface Compliance: The new UDP layer must comply with the existing
layer
interface to ensure compatibility with the rest of the library. This includes implementing any required methods and properties defined in thelayer
interface.Testing: Comprehensive tests must be written to cover:
Reference:
Developers should refer to the implementation and tests of adjacent protocols within the
lib/layers
directory for guidance on structure, coding standards, and testing methodologies.Outcome: By introducing UDP layer support, the library will be significantly more versatile in handling network traffic, paving the way for more advanced features and use cases.
Next Steps:
Contributions: We welcome contributions for this feature. If you are interested in working on this, please comment below, and let's discuss how we can collaborate effectively. For any questions or to propose implementation details, feel free to reach out or start a discussion in this issue.
The text was updated successfully, but these errors were encountered: