libreddit icon indicating copy to clipboard operation
libreddit copied to clipboard

[Use the power of a /44 ipv4]

Open seychelles111 opened this issue 2 years ago • 15 comments

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 avatar Jul 23 '23 12:07 seychelles111

Make session expire, after 30m etc

seychelles111 avatar Jul 23 '23 13:07 seychelles111

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

ading2210 avatar Jul 23 '23 14:07 ading2210

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!

orithecapper avatar Jul 23 '23 16:07 orithecapper

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)

AlyoshaVasilieva avatar Jul 23 '23 16:07 AlyoshaVasilieva

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

seychelles111 avatar Jul 23 '23 20:07 seychelles111

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 there is some hefty fingerprinting behind all this

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 https://github.com/libreddit/libreddit/issues/845#issuecomment-1646950126, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRHFD2WMIISLK6IG5LUVEDXRWBDFANCNFSM6AAAAAA2UPWFWI. You are receiving this because you are subscribed to this thread.

avincent98144 avatar Jul 23 '23 21:07 avincent98144

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 https://github.com/libreddit/libreddit/issues/845#issuecomment-1646950126, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRHFD2WMIISLK6IG5LUVEDXRWBDFANCNFSM6AAAAAA2UPWFWI. You are receiving this because you are subscribed to this thread.

avincent98144 avatar Jul 23 '23 21:07 avincent98144

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

orithecapper avatar Jul 24 '23 09:07 orithecapper

bump

seychelles111 avatar Jul 25 '23 19:07 seychelles111

Reddit doesn't support ipv6. image

FireMasterK avatar Jul 27 '23 00:07 FireMasterK

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 avatar Jul 27 '23 08:07 xyzeva

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

xyzeva avatar Jul 27 '23 08:07 xyzeva

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 avatar Jul 27 '23 08:07 FireMasterK

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.

FireMasterK avatar Jul 27 '23 08:07 FireMasterK

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

seychelles111 avatar Jul 29 '23 08:07 seychelles111