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

Add option to disable tls 1.2 #2243

Merged
merged 1 commit into from
Jan 30, 2022
Merged

Add option to disable tls 1.2 #2243

merged 1 commit into from
Jan 30, 2022

Conversation

shinji257
Copy link
Contributor

Fix for Patreon Cloudflare issues by having only TLS v1.3 or higher establish HTTPS connections

This is based on the fact that there is another downloader that works fine and they indicate Cloudflare is triggered when TLS lower than 1.3 is used for it. As of right now I tested on source and verified to trigger then made this one edit and it worked immediately after. At this time can anyone else validate the change and see if Patreon starts working for you as well? It is possible that once a TLSv1.3 connection is made from the client it stops triggering Cloudflare for a while as the normal version is working as well right now and it hasn't worked for quite a while.

Fix for Patreon Cloudflare issues by having only TLS v1.3 or higher establish HTTPS connections

This now allows you to disable it on a per-host or global basis.  Add disabletls12 as a config option either under extractor.(host) or just under extractor.  Option is false by default.

Example:
        "patreon":
        {
            "disabletls12": true,
            "cookies": {
                "session_id": "X"
            }
        }
@shinji257
Copy link
Contributor Author

Updated PR to make the setting configurable. You can add disabletls12 to either global extractor configuration or only to a specific extractor (if you wish) to disable TLS 1.2.

@shinji257 shinji257 changed the title Disable TLS 1.2 support Add option to disable tls 1.2 Jan 30, 2022
@mikf mikf merged commit 392cf07 into mikf:master Jan 30, 2022
@shinji257 shinji257 deleted the patch-1 branch February 7, 2022 16:17
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.

2 participants