Skip to content
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

[Feature Request] ICMP #10

Closed
washley opened this issue Mar 2, 2020 · 9 comments
Closed

[Feature Request] ICMP #10

washley opened this issue Mar 2, 2020 · 9 comments
Assignees
Milestone

Comments

@washley
Copy link

washley commented Mar 2, 2020

Support for reading/writing ICMP would be helpful. There's an opportunity after that for helper methods to generate common ICMP packets, for example fragmentation needed and time exceeded.

@man0lis
Copy link

man0lis commented Mar 4, 2020

+1
I would love to see this. Currently I have to use other packet building crates in combination with etherparse to create ICMP packets. It would be nice to have the same ease of use I get from etherparse when generating ICMP packets.

@JulianSchmid
Copy link
Owner

+1
I would love to see this. Currently I have to use other packet building crates in combination with etherparse to create ICMP packets. It would be nice to have the same ease of use I get from etherparse when generating ICMP packets.

Hi,

I am thinking about it. What are the types of ICMP packets that would be most important for you?

Greets
Julian

@man0lis
Copy link

man0lis commented Mar 4, 2020

Currently EchoRequest and EchoReply would be sufficient for me.

@washley
Copy link
Author

washley commented Mar 4, 2020

Destination Unreachable is the most interesting one for me.

@JulianSchmid JulianSchmid self-assigned this Mar 18, 2020
@johalun
Copy link

johalun commented Jul 5, 2020

Came here looking for ICMP as well :)

@vkrasnov
Copy link

Hi, I would like to see ICMP support as well.

I can also implement and open a PR if you are willing to accept.

@robs-zeynet
Copy link
Contributor

@JulianSchmid I'm looking for ICMP support as well... and am happy to try to implement it. If I submitted a patch/pull request, would you be willing to accept it (assuming the code wasn't too horrible)?

I was thinking of adding ICMP as another type of TransportHeader so it could be easily matched against Tcp/Udp/etc.- thoughts? Please let me know and thanks.

@JulianSchmid
Copy link
Owner

@robs-zeynet Sounds good, but I cannot guarantee that I will find time right away for a code review & merges. I have a bit of time the next few weeks and after that I will have to find time on the weekends. Which was difficult to find in 2020. But next year will (hopefully) be less stressful.

In the following weeks I will try to finally finish up #13 after which I can finally rebase and merge #11 .

@cemeyer
Copy link

cemeyer commented Sep 6, 2021

I am thinking about it. What are the types of ICMP packets that would be most important for you?

Time Exceeded is useful as well (ICMP notification of reaching the TTL limit).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants