JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 06.06.2020, 13:26
thetoad thetoad is offline
Tornado
 
Join Date: Jan 2014
Posts: 228
Default does recaptcha go through proxy or direct?

when we are connecting to a hoster via a proxy, does our recaptcha fetching/processing go through the same proxy (i.e. everything is effectively localhost proxied via jd2) or is the browser making a direct connection to google?

the reason for asking is that it seems to be direct, as I get too many requests from your ip recaptcha issues. this might be by design?
Reply With Quote
  #2  
Old 06.06.2020, 16:08
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,196
Default

requests are made by your browser, so which ever proxy connection, browser extension (some vpns are controlled in that manner) your browser is configured to use, else your systems default gateway is usd
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 06.06.2020, 18:08
thetoad thetoad is offline
Tornado
 
Join Date: Jan 2014
Posts: 228
Default

would it make sense to proxy it through jd2 and have it go via the same proxy as the download connection?

I can imagine not as it might make google go nuts seeing the same login go to it from many IPs, but perhaps not?

I could further imagine, that even if google wouldn't go nuts, it would involve essentially rewriting the javascript to make it go through the proxy instead of trying to talk to google directly. the only thing I could imagine is jd2 providing an http proxy that the browser would be configured to use and it being smart of how it does the proxy end of the connection, but even that might be difficult due to https.

but basically the answer is, even if you connect for each download via a different proxy, recaptcha will all be from a single IP and hence can get rate limited by them.

Last edited by thetoad; 06.06.2020 at 18:12.
Reply With Quote
  #4  
Old 07.06.2020, 04:59
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,196
Default

to proxy everything through jd you would then need a custom browser to do it via proxy settings or an extension to control proxy for that session (I used to have proxy extension for chrome that worked just for that tab/task), else the only other way I can think of is to change source code all domains to ip address:port which jd listens to. Im not sure that will work with modern rc as they have checks on dom and localhost. Though that said I haven't tried it to confirm. Wait for Appwork to respond as they have better understanding than I.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 07.06.2020 at 06:01.
Reply With Quote
  #5  
Old 07.06.2020, 06:41
thetoad thetoad is offline
Tornado
 
Join Date: Jan 2014
Posts: 228
Default

my idea would be that one generally has firefox or chrome on their machine. perhaps one sets the other to always proxy through jd2 and jd2 launches that one (not their primary one) for captcha tests. therefore it wont rewrite anything and from a dom perspective will still look "normal". the biggest issue is https. one could conceptually solve it with a generated cert per jd2 instance to allow it to mitm, though that has lots of negative security implications, especially if people use this in their main browser.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 06:31.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.