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

[Use the power of a /44 ipv4] #845

Open
seychelles111 opened this issue Jul 23, 2023 · 15 comments
Open

[Use the power of a /44 ipv4] #845

seychelles111 opened this issue Jul 23, 2023 · 15 comments
Labels
enhancement New feature that aren't already in Reddit

Comments

@seychelles111
Copy link

seychelles111 commented Jul 23, 2023

image

Hey I have an idea, why not buy a /44 address,

I used to have someone who could self host one with dante (I lost contact with him sadly but it works)

so here's the idea

curl -6 -x socks5://user-localhost-session-djkhf345345:password1234@localhost:8000 http://reddit.com

each session session-<random string, by user> would result in a different ipv6 address.

image
cite/ref : https://www.securebit.ch/internet/resources
for example /44 ipv6 can cost you as much as 15CHF per year (17.32usd$) (later you also need to have an IX server, which is pretty cheap per month around 10$)

...

now for each new webuser, it would be using a different ipv6 proxy i.e (a docker or a cluster of these [but in the future!])

requirements:
a. maybe lets use "Dante Socks5"... the backconnect/rotating proxies would be private , to avoid abuse from scrappers/spammers/malicous use

b. i.e force reddit.com to only use ipv6
c. final step, enjoy&profit... reddit not gonna ban an ip-range imo , plus many scrappers use ipv6 for scrapping its well known

@seychelles111 seychelles111 added the enhancement New feature that aren't already in Reddit label Jul 23, 2023
@seychelles111
Copy link
Author

Make session expire, after 30m etc

@ading2210
Copy link

You're paying for another sketchy nonfree service... to avoid paying for reddit?

@orithecapper
Copy link

You're paying for another sketchy nonfree service... to avoid paying for reddit?

its not the point its actually a good idea imo

think about it you can have 300 users with it,
ipv6 is powerful!

@AlyoshaVasilieva
Copy link

How does reddit's IPv6 rate-limiting work, is it known? I've got a couple servers that came with a v6 /48 (though I've never used more than 1 IPv6 at a time)

@seychelles111
Copy link
Author

most rate limiters are per ip ... you can have millions of ipv4 theres I bet you can use aws vpc they give you /56 address which is a lot of millions

@avincent98144
Copy link

avincent98144 commented Jul 23, 2023 via email

@avincent98144
Copy link

avincent98144 commented Jul 23, 2023 via email

@orithecapper
Copy link

not for me .. tried over a dozen global vpn’s w/ the same url once I hit the rate limits .. and never did the rate limits ‘reset’. I suspect

On Jul 23, 2023, at 1:16 PM, seychelles111 @.***> wrote: most rate limiters are per ip ... you can have millions of ipv4 theres I bet you can use aws vpc they give you /56 address which is a lot of millions — Reply to this email directly, view it on GitHub <#845 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRHFD2WMIISLK6IG5LUVEDXRWBDFANCNFSM6AAAAAA2UPWFWI. You are receiving this because you are subscribed to this thread.

He suggest it to be per ip

@seychelles111
Copy link
Author

bump

@FireMasterK
Copy link
Contributor

Reddit doesn't support ipv6.
image

@xyzeva
Copy link

xyzeva commented Jul 27, 2023

Reddit (atleast in their normal www.reddit.com domain) doesnt support IPv6 and that is said same for api.reddit.com, so I dont think this suggestion is viable

Image of command line showing curl cannot connect to reddit over IPv6

@xyzeva
Copy link

xyzeva commented Jul 27, 2023

Nevermind! Sorry for the double post but I just found this https://ipv6.reddit.com/ link, and that does in fact support IPv6.

@FireMasterK
Copy link
Contributor

Nevermind! Sorry for the double post but I just found this https://ipv6.reddit.com/ link, and that does in fact support IPv6.

It also doesn't support the API: https://ipv6.reddit.com/r/Lemmy/.json

@FireMasterK
Copy link
Contributor

It looks like if you use the dualstack fastly cname with www.reddit.com, that works for accessing the API.

For example, this curl command works: curl -6 -v --insecure -H "Host: www.reddit.com" "https://dualstack.reddit.map.fastly.net/r/Lemmy/.json"

This would require writing a custom DNS resolver for Hyper I guess. If proxies are used, I'm not sure whether the proxy is responsible for DNS queries or not.

I still think #818 is the way forward.

@seychelles111
Copy link
Author

It looks like if you use the dualstack fastly cname with www.reddit.com, that works for accessing the API.

For example, this curl command works: curl -6 -v --insecure -H "Host: www.reddit.com" "https://dualstack.reddit.map.fastly.net/r/Lemmy/.json"

This would require writing a custom DNS resolver for Hyper I guess. If proxies are used, I'm not sure whether the proxy is responsible for DNS queries or not.

I still think #818 is the way forward.

you're right this might be the wait

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature that aren't already in Reddit
Projects
None yet
Development

No branches or pull requests

7 participants