Public feed
#889543
menu * {
Connection
.$iif(%secure == true,$style(1)) Secure: {
if (%time. [ $+ [ $gettok($active,1,32) ] ] != $time(nn)) {
echo -ai29 $+($chr(3),01,$time(hh $+ $+($chr(2),$chr(3),04,$chr(58),$chr(3),$chr(2)) $+ nnt),$chr(3)) $str($chr(160),6) $+($chr(3),04,$chr(2),$chr(62),$chr(2),$chr(3)) $str($chr(160),3) $+($chr(31),S,$chr(31),ecure,$chr(2),$chr(3),04,$chr(58),$chr(3),$chr(2)) New connections are now secured via Tor.
set %time. [ $+ [ $gettok($active,1,32) ] ] $time(nn)
}
else {
echo -ai29 $+($chr(3),00,$time(hh $+ $+($chr(2),$chr(3),00,$chr(58),$chr(3),00,$chr(2)) $+ nnt),$chr(3)) $str($chr(160),6) $+($chr(3),04,$chr(2),$chr(62),$chr(2),$chr(3)) $str($chr(160),3) $+($chr(31),S,$chr(31),ecure,$chr(2),$chr(3),04,$chr(58),$chr(3),$chr(2)) New connections are now secured via Tor.
}
.firewall -cm5+d on localhost 9050 | set %secure true
}
.$iif(%secure != true,$style(1)) Unsecure: {
if (%time. [ $+ [ $gettok($active,1,32) ] ] != $time(nn)) {
echo -ai29 $+($chr(3),01,$time(hh $+ $+($chr(2),$chr(3),04,$chr(58),$chr(3),$chr(2)) $+ nnt),$chr(3)) $str($chr(160),6) $+($chr(3),04,$chr(2),$chr(62),$chr(2),$chr(3)) $str($chr(160),3) $+($chr(31),S,$chr(31),ecure,$chr(2),$chr(3),04,$chr(58),$chr(3),$chr(2)) New connections are no longer secure.
set %time. [ $+ [ $gettok($active,1,32) ] ] $time(nn)
}
else {
echo -ai29 $+($chr(3),00,$time(hh $+ $+($chr(2),$chr(3),00,$chr(58),$chr(3),00,$chr(2)) $+ nnt),$chr(3)) $str($chr(160),6) $+($chr(3),04,$chr(2),$chr(62),$chr(2),$chr(3)) $str($chr(160),3) $+($chr(31),S,$chr(31),ecure,$chr(2),$chr(3),04,$chr(58),$chr(3),$chr(2)) New connections are no longer secure.
}
.firewall -d off | unset %secure
}
}