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

[New documentation] How to hide the instance behind a proxy server at provider that don't care about DMCA requests #348

Open
unixfox opened this issue Feb 15, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@unixfox
Copy link
Member

unixfox commented Feb 15, 2023

A lot of maintainers have been getting DMCA requests lately (@iv-org/developers please keep this list up-to-date):

I've personally dealt with this issue by hosting a proxy server at https://buyvm.net, it's a simple HAProxy for the cost of $3.50/month that redirect all the requests to my original servers.
For now, I have not received any DMCA requests from the provider of my original servers, nor from buyvm.

There are plenty of other DMCA free providers:

On top of HAProxy, I have deployed a clever technique that redirect the traffic directly to my original servers without going through the proxy server using the Alt-Svc HTTP header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc
Basically, this mostly only works for real browsers (with HTTP2 & HTTP3), they will see this header and redirect the requests to my original servers that are specified in this HTTP header.
What's great is that this "technique" is not easy to find. I think the dumb DMCA guys only look at the IP address associated with the domain and send the request to that IP address that's it, so they will never think of inspecting the real IP address that a browser is using.

As more and more maintainers are being affected by this issue, I've to document the way I've implemented the ability to hide my servers.

@unixfox
Copy link
Member Author

unixfox commented Feb 17, 2023

@unixfox unixfox closed this as completed Feb 17, 2023
@unixfox unixfox reopened this Feb 17, 2023
@unixfox
Copy link
Member Author

unixfox commented Feb 17, 2023

Reopening because the 5th step would be to load the bandwidth intensive data (streams, images and more) from another domain in order to reduce the traffic on the proxy.

Somewhat related: iv-org/invidious#3658

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant