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

fix: accept any ip for IPv6 #900

Merged
merged 1 commit into from May 16, 2024
Merged

Conversation

thvdveld
Copy link
Contributor

@thvdveld thvdveld commented Jan 22, 2024

Fixes #899 .

However, I'm not sure if this is the intended behaviour of Any IP. Should we check if the packet is routed locally, or should we just accept any packet?

@thvdveld thvdveld marked this pull request as draft January 22, 2024 09:57
@thvdveld thvdveld marked this pull request as ready for review January 22, 2024 10:10
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9bd836b) 79.92% compared to head (f5286f5) 79.94%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #900      +/-   ##
==========================================
+ Coverage   79.92%   79.94%   +0.02%     
==========================================
  Files          80       80              
  Lines       28234    28238       +4     
==========================================
+ Hits        22566    22576      +10     
+ Misses       5668     5662       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thvdveld thvdveld added this pull request to the merge queue May 16, 2024
Merged via the queue into smoltcp-rs:main with commit ef67e7b May 16, 2024
11 checks passed
@thvdveld thvdveld deleted the ipv6-any-ip branch May 16, 2024 14:03
@mhils
Copy link
Contributor

mhils commented May 16, 2024

@thvdveld: Thank you so much! 🍰 I was just looking into this issue when upgrading smoltcp in https://github.com/mitmproxy/mitmproxy_rs, what a fantastic timing. 🤩 Thank you for your work! ❤️

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

Successfully merging this pull request may close these issues.

How to make IPv6 handle any ip
2 participants