Apart from changing the source code to disable this mechanism, there is no way to circumvent this intended limitation. To minder this, "tor MAY rate-limit the response" to the NEWNYM signal ( section 3.7 of the tor control specification). The circuit construction always introduces a significant load to the Tor network. Note, that this might raise privacy issues since you would prefer fast routers. What you could do, is changing the "CircuitBuildTimeout" (see the Tor manual) to something else than the default value of 60 seconds, so if it takes longer than the specified amount of time, tor tries to build a different circuit. This always needs some time and you cannot really speed up the circuit construction itself. As a result, you will (most likely) get a circuit with a different exit node than before, hence a different IP-address. Is there a way to change the IP address without a lag?Īccording to the Tor control specifications, the NEWNYM signal instructs your tor client to open new circuits. Furthermore, on the terminal page where I am running Tor, it outputs messages like: Aug 25 04:13:53.000 Rate limiting NEWNYM request: delaying by 7 second(s) I have noticed that the IP address doesn't change immediately but rather several seconds needs to go by before running the chunk of code above to generate a new ip address. I first run Tor in my command line, then execute the above. R_ip = requests.get("", proxies=proxies, headers=headers_tor) I am currently using the following set-up to change my ip address in Mac OS X: from stem import Signal
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |