These are chat archives for Nithmr/ProxyHelper

3rd
Jul 2016
Akarshit Wal
@Akarshit
Jul 03 2016 19:02
#18 looks more imp to me. But its your wish @clearnote01
Utkarsh Raj
@clearnote01
Jul 03 2016 19:04
Actually ProxyHelper already supports setting tor proxy (socks)
However the difficulty is in other aspect of #18
Not per se difficult, but just the infra does not exist to check if "tor" is closed or not.
on second thought that might not be very difficult as well... i have feature in torpinger to tell if tor is active or not by "torpinger -wt" command. It just needs some system to run this command at some interval.
Akarshit Wal
@Akarshit
Jul 03 2016 19:18
I think we have to remove the proxy ASA Tor gets disconnected.
Check if some event is fired when Tor disconnects that we can use.
Utkarsh Raj
@clearnote01
Jul 03 2016 19:23
well, we have a script that keeps on pinging via tor in background
we could check if connections are actually failing
Akarshit Wal
@Akarshit
Jul 03 2016 19:25
Yes we can use that as well. But if we could change the proxy on a event that would be great
But yes the ping will do as well.
Utkarsh Raj
@clearnote01
Jul 03 2016 19:25
if say, 10-20 pings fail continuosly we stop pinging tor and initialize script to reset proxy for tor
sorry... my net is bad... it was sent late
Akarshit Wal
@Akarshit
Jul 03 2016 19:28
Cool
Utkarsh Raj
@clearnote01
Jul 03 2016 19:28
yeah, if we could schedule some kind of callback it would be cool. though i feel it is kinda unlikely something like that exists
: P