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

Unable to handle HTTPS traffic for some Flutter applications #5461

Open
3 tasks done
cxplay opened this issue Sep 13, 2024 · 16 comments
Open
3 tasks done

Unable to handle HTTPS traffic for some Flutter applications #5461

cxplay opened this issue Sep 13, 2024 · 16 comments

Comments

@cxplay
Copy link

cxplay commented Sep 13, 2024

Please answer the following questions for yourself before submitting a question.

  • I am running the latest version
  • I checked the knowledge base and found no answer
  • I checked to make sure that this issue has not already been filed

Ask a question

I testing use AdGuard with Boorusama (a web gallery client) on Android:

https://github.com/khoadng/Boorusama

It doesn't have SSL pinning, but I can't handle his HTTPS traffic through AdGuard (VPN mode, v4.6.3).
I'm using other HTTPS analysis tools to monitor traffic just fine, is there something I'm missing here?

@maxikuzmin
Copy link
Contributor

@cxplay some apps don't trust third-party certificates. We have contacted Boorusama app support to clarify about this. Please wait

@maxikuzmin
Copy link
Contributor

@cxplay Boorusama app doesn't implement SSL pinning. HTTPS filtering is unfortunately not possible

@cxplay
Copy link
Author

cxplay commented Sep 18, 2024

@cxplay Boorusama app doesn't implement SSL pinning. HTTPS filtering is unfortunately not possible

But why? If there is no SSL pinning, why can't AdGuard filter it?

@maxikuzmin
Copy link
Contributor

@cxplay HTTPS filtering is not possible for an application that does not trust third-party certificates

@cxplay
Copy link
Author

cxplay commented Sep 18, 2024

@cxplay HTTPS filtering is not possible for an application that does not trust third-party certificates

No, this is wrong. Boorusama trusts system certificates, whether third-party or not. You should try to verify this with some HTTP(s) debugging tools:

https://github.com/wanghongenpin/network_proxy_flutter

Screenshot_20240918194446.png

It's just that AdGuard can't handle HTTPS traffic for that application.

@maxikuzmin
Copy link
Contributor

@cxplay developer Boorusama replied to me that the app doesn't implement SSL pinning

@cxplay
Copy link
Author

cxplay commented Sep 18, 2024

@cxplay developer Boorusama replied to me that the app doesn't implement SSL pinning

I know, I knew it from the beginning. My question is, why can't AdGuard filter HTTPS traffic for Flutter apps that most HTTPS debugging tools can catch?

@cxplay
Copy link
Author

cxplay commented Sep 18, 2024

This has little to do with SSL pinning, and is only mentioned as a supplement.

@cxplay
Copy link
Author

cxplay commented Sep 21, 2024

Another example of the same problem.

https://github.com/mu-fazil-vk/FluxTube (A YouTube client using piped API)

@cxplay
Copy link
Author

cxplay commented Sep 21, 2024

This is likely related to the popular HTTP client implementation of dio in the Flutter, which AdGuard doesn't seem to be able to handle requests from.

@maxikuzmin
Copy link
Contributor

@cxplay please clarify, do you have Root on your device?

@cxplay
Copy link
Author

cxplay commented Sep 26, 2024

@cxplay please clarify, do you have Root on your device?

Yes, I have.

@maxikuzmin
Copy link
Contributor

@cxplay we need a little more time to figure this out, please wait

@maxikuzmin maxikuzmin reopened this Oct 4, 2024
@cxplay
Copy link
Author

cxplay commented Oct 4, 2024

@cxplay we need a little more time to figure this out, please wait

I'm always waiting!

@maxikuzmin
Copy link
Contributor

@cxplay thanks for waiting! I was able to reproduce this issue on my device, and have passed the logs to the development team. We need some more time, please wait

@cxplay
Copy link
Author

cxplay commented Oct 21, 2024

@cxplay thanks for waiting! I was able to reproduce this issue on my device, and have passed the logs to the development team. We need some more time, please wait

Glad to hear that!

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

No branches or pull requests

4 participants