-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
set may_fragment based on whether setting IP_DONTFRAG fails with ENOPROTOOPT. #1626
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible argument against this PR: iOS 13 (the last version of iOS that didn't support this, assuming iOS releases got support at the same time as macOS) has been out of security support since Sep 2020.
@jieliangma why has this device not been updated to a later OS? It looks like it ought to support iOS 16 (the current latest version) just fine.
The reason we hesitated to add support for older macOS/iOS versions up front in #1547 is that platforms which may fragment packets must report this accurately in In short, this PR can't be merged without adding dynamic iOS version detection logic to |
7ef0002
to
dc8da00
Compare
If we try to set |
Good point, that's also a lot easier and less fragile than version checks. |
dc8da00
to
0cde4b9
Compare
Thanks for the revision! Please split the cosmetic refactoring commits out from the semantic changes so they can be easily reviewed. |
42c7ed2
to
8936671
Compare
8936671
to
d451410
Compare
done |
be5b118
to
4e1f1b5
Compare
It seems okay to me to set |
Yeah, that sounds good to me, since we're no longer relying on an independent judgement in |
@jieliangma #1629 refactored part of this code a bit, should make the changes here easier but will require some rebasing or rework. |
0d56397
to
70386bf
Compare
2ce0117
to
3912813
Compare
3912813
to
cb982a7
Compare
cb982a7
to
68cc71f
Compare
68cc71f
to
9378833
Compare
9378833
to
75844b8
Compare
Going to merge this and fix it up a little. Thanks @jieliangma! |
fix issue