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 incorrect proxy request address type for IPv6 #735

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Blankwonder
Copy link

I discovered years ago that both the iOS and Mac versions of Telegram send requests to the proxy server for invalid IP , and I created this issue in the TelegramSwift repo about two years ago but got no response. overtake/TelegramSwift#427

So I decided to look into it myself, and I found that MtProtoKit doesn't handle IPv6 addresses correctly at all, so when the upper-level code tries to connect to an IPv6 address via a proxy, it sends a request to an invalid IPv4 address.

This issue has been bugging me for years. Please merge this PR or fix the issue in some other way as soon as possible, thanks.

@CLAassistant
Copy link

CLAassistant commented Jul 16, 2022

CLA assistant check
All committers have signed the CLA.

Copy link

@Kenanbatmaz2 Kenanbatmaz2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ne

Copy link

@Kasbr305 Kasbr305 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Blankwonder
Copy link
Author

It has been a year since I submitted this Pull Request. The issue is quite severe, yet it only requires 10 lines of code to fix it. Additionally, two reviewers have already confirmed the code. I must say, your approach towards contributions from the open-source community leaves much to be desired.

@database64128
Copy link

/cc @laktyushin

@riobard
Copy link

riobard commented Apr 6, 2024

@laktyushin when can you merge this?

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

Successfully merging this pull request may close these issues.

7 participants