Plugin Directory

Changeset 2487784


Ignore:
Timestamp:
03/05/2021 11:25:16 AM (5 years ago)
Author:
onionbazaar
Message:

update 1.4.0 to 1.4.1

Location:
tor-router
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • tor-router/trunk/readme.txt

    r2346596 r2487784  
    44Tags: tor, proxy, socks, connection, proxies, firewall, block
    55Requires at least: 2.8
    6 Tested up to: 5.4.2
    7 Stable tag: 1.4.0
     6Tested up to: 5.7
     7Stable tag: 1.4.1
    88License: GNU General Public License v3.0
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    29293. Open `Settings` -> `Tor Router` to setup the plugin.
    30304. To route through Tor you need to have it installed on your server (e.g. `apt-get install tor`), use SOCKS Proxy Mode in the Tor Router settings, and set Proxy Host to `localhost` and Proxy Port to `9050` (default)
    31 5. To enable the Tor KeepAlive feature and the Restart Tor button, set up a cron job to run the script /wp-content/plugins/tor-router/tor-router.sh every minute, e.g: (adjust the path)
    32 sudo crontab -e
    33 * * * * * bash /var/www/html/wp-content/plugins/tor-router/tor-router.sh
     315. To enable the Tor KeepAlive feature and the Restart Tor button, set up a cron job to run the script `tor-router.sh` every minute (as root), e.g:
     32sudo nano /etc/crontab
     33* * * * * root bash /var/www/html/wp-content/plugins/tor-router/tor-router.sh
    3434
    3535== Screenshots ==
     
    3838
    3939== Changelog ==
     40
     41= 1.4.1 - 2021-03-05 =
     42* Compatibility to WordPress 5.7 
    4043
    4144= 1.4.0 - 2020-07-25 =
  • tor-router/trunk/tor-router.php

    r2346596 r2487784  
    44Plugin URI: https://wordpress.org/plugins/tor-router/
    55Description: Routes outgoing traffic through Tor or any HTTP / SOCKS Proxy.
    6 Version: 1.4.0
     6Version: 1.4.1
    77Author: OnionBazaar
    88Author URI: http://onionbazaar.org
     
    1212*/
    1313
    14 define( 'TORROUTER_VERSION', '1.4.0' );
     14define( 'TORROUTER_VERSION', '1.4.1' );
    1515
    1616function torrouter_upgrade130to140() {
     
    2727    }
    2828    else {
    29         add_option( 'torrouter_proxymode', '' ); }
     29        add_option( 'torrouter_proxymode', '0' ); }
    3030   
    3131    add_option( 'torrouter_host', get_option( 'obztorrouter_host' ) );
  • tor-router/trunk/tor-router.sh

    r2346596 r2487784  
    99if [ ! -d "$WPDIR/wp-content" ]; then
    1010    echo "# ERROR: Wordpress directory not found. Edit this script if you are using a non-default directory structure."
    11     return
     11    exit
    1212fi
    1313
     
    4343                if [ "$WPSITEURL" == "" ]; then
    4444                    echo "# ERROR: Could not connect / retrieve data from the WordPress database. Exiting."
    45                     return
     45                    exit
    4646                else
    4747                    TRTORKEEPALIVE=$(mysql -h$SQLHOST -D$SQLDB -u$SQLUSER -p$SQLPASS -se "SELECT option_value FROM wp_options WHERE option_name = 'torrouter_torkeepalive'")
     
    7777            else
    7878                echo "# ERROR: Could not retrieve SQL credentials from wp-config.php. Exiting."
    79                 return
     79                exit
    8080            fi
    8181        fi
Note: See TracChangeset for help on using the changeset viewer.