ruped24/toriptables2

[!] Can't get public ip address!

dorogarcia opened this issue · 3 comments

Hello,

Your script works good but sometimes shows an error:

root@kali:# toriptables2 -l
[+] Anonymizer status [ON]
[*] Getting public IP, please wait ...
[!] Can't get public ip address!
root@kali:
# toriptables2 -l
[+] Anonymizer status [ON]
[] Getting public IP, please wait ...
[!] Can't get public ip address!
root@kali:~# toriptables2 -l
[+] Anonymizer status [ON]
[
] Getting public IP, please wait ...
[+] Your IP is XXX.XXX.XXX.XXX
root@kali:# toriptables2 -l
[+] Anonymizer status [ON]
[*] Getting public IP, please wait ...
[!] Can't get public ip address!
root@kali:
#

The problem is that sometimes can not validate tor IP but it creates iptables rules and works.

Regards!

The problem is that sometimes can not validate tor IP but it creates iptables rules and works.

Try these:

  1. flush and then reload. If persist, try option 2, once rules are loaded.
  2. Try: run the dig command: example dig yahoo.com.
  3. If persist see above 1 and 2.

The rules will always get load. Hence you are Anonymized.
You can ignore "Can't get public ip address". It's not really an error.

Technical note: The script makes two fetch attempts before timing-out.

I think the problem is starting tor service take few seconds more than your script wait, but everything works ;)

Thanks for the feedback. Can I close the issue?