{"id":2976,"date":"2022-10-21T19:06:11","date_gmt":"2022-10-21T18:06:11","guid":{"rendered":"https:\/\/www.torbox.ch\/?p=2976"},"modified":"2022-11-06T12:29:42","modified_gmt":"2022-11-06T11:29:42","slug":"update-your-torbox-4","status":"publish","type":"post","link":"https:\/\/www.torbox.ch\/?p=2976","title":{"rendered":"Update your TorBox"},"content":{"rendered":"\n<p>Again, some time has passed since&nbsp;<a href=\"https:\/\/www.torbox.ch\/?p=2867\">the initial release of TorBox v.0.5.1<\/a>. Even if we already started to work on TorBox v.0.5.2, we decided to release an updated image of TorBox v.0.5.1 due to some critical fixes and a new tor version.<\/p>\n\n\n\n<p>This version is based on&nbsp;<a href=\"https:\/\/www.raspberrypi.org\/software\/operating-systems\/\">Raspberry Pi OS \u201cBullseye\u201d lite (64 bit)<\/a>&nbsp;with&nbsp;<a href=\"https:\/\/kernelnewbies.org\/Linux_5.15\">Linux Kernel 5.15.61<\/a>&nbsp;and Tor version 0.4.7.10. It contains several major fixes to reduce memory pressure on relays and possible side-channel. It also includes a major bugfix related to congestion control to reduce memory pressure on relays. Finally, another major bugfix is related to Vanguard L2 layer node selection.<\/p>\n\n\n\n<p>One bug in the initial release was that TorBox would not automatically add a bridge when that option was chosen in the&nbsp;<a href=\"https:\/\/www.torbox.ch\/?page_id=797\">Countermeasure sub-menu<\/a>. This problem is in connection with&nbsp;<a href=\"https:\/\/pypi.org\/project\/mechanize\/\">mechanize 0.4.8<\/a>. For that reason, we went back to version 0.4.7. Also,&nbsp;<code>bridges_get.py<\/code>&nbsp;failed because the&nbsp;<code>HTML<\/code>&nbsp;generated by&nbsp;<a href=\"https:\/\/bridges.torproject.org\/bridges?transport=obfs4\">https:\/\/bridges.torproject.org\/bridges?transport=obfs4<\/a>&nbsp;has changed. To fix it, we added the patch from lockcda (see&nbsp;<a href=\"https:\/\/github.com\/radio24\/TorBox\/issues\/173\">issue #173<\/a>&nbsp;on GitHub). Also, the way GitHub reports the available tor versions changed and broke the installation and update scripts. We fixed the affected scripts. Also, we removed the tor-specific entries in&nbsp;<code>torbox.run<\/code>&nbsp;because of the complexity, it doesn\u2019t give an added value.<\/p>\n\n\n\n<p>Here are the links to the new updated TorBox v.0.5.1:<br><strong>TorBox Image (about 1 GB):&nbsp;<a href=\"https:\/\/www.torbox.ch\/data\/torbox-20221020-v051.gz\">v.0.5.1 (20.10.2022)<\/a>&nbsp;\u2013&nbsp;<a href=\"https:\/\/www.torbox.ch\/?page_id=1128\">SHA-256 values<\/a><br>TorBox Menu only:&nbsp;<a href=\"https:\/\/www.torbox.ch\/data\/torbox051-20221020.zip\">v.0.5.1 (20.10.2022)<\/a>&nbsp;\u2013&nbsp;<a href=\"https:\/\/www.torbox.ch\/?page_id=1128\">SHA-256 values<\/a><\/strong><\/p>\n\n\n\n<p><strong>How to update an old TorBox v.0.5.1 (19.07.2022) installation?<\/strong><br>You can perform the following tasks to update an older TorBox v.0.5.1 (19.07.2022) installation. This shouldn\u2019t alter your custom-made configurations \u2013 however, I don\u2019t promise anything (if needed, make a backup!).<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Please, make sure that TorBox has Internet connectivity.<\/li><li>First, update the TorBox menu in the&nbsp;<a href=\"https:\/\/www.torbox.ch\/?page_id=1410\">Update and Maintenance sub-menu<\/a>&nbsp;(entry 5) to immediately benefit from the bugfixes.<\/li><li>Press ESC until you have left the Torbox menu and find yourself back at the command line. Here use the following commands for<br>.<ul><li>removing mechanize 0.4.8:&nbsp;<code>sudo pip3 uninstall mechanize<\/code><\/li><li>installing mechanize 0.4.7:&nbsp;<code>sudo pip3 install mechanize==0.4.7<\/code><\/li><\/ul><\/li><\/ol>\n\n\n\n<h1 class=\"has-text-align-center wp-block-heading\">\u2022 \u2022 \u2022<\/h1>\n\n\n\n<h5 class=\"wp-block-heading\">Known problems and bugs<\/h5>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>PROBLEM<\/strong>:\u00a0The meek bridge has gone offline, and there is a new one to take its place (see <a href=\"https:\/\/gitlab.torproject.org\/tpo\/applications\/tor-browser-build\/-\/issues\/40649\">here<\/a>). The <code>torrc<\/code> is fixed &#8211; get it by<strong> <\/strong>updating the TorBox\u00a0menu with the <a href=\"https:\/\/www.torbox.ch\/?page_id=1410\">Update and Maintenance sub-menu<\/a> and replacing your old <code>torrc<\/code>: <code>sudo cp \/home\/torbox\/torbox\/etc\/tor\/torrc \/etc\/tor\/<\/code>\u00a0However, this will remove all your custom made configurations. Alternatively, you can execute the following command: <code>sudo sed -i \"s\/Bridge meek_lite 192.0.2.2:2.*\/Bridge meek_lite 192.0.2.18:80 BE776A53492E1E044A26F17306E1BC46A55A1625 url=https:\/\/meek.azureedge.net\/ front=ajax.aspnetcdn.com\/\"<\/code>. <strong>The image file is not fixed yet \u2014 PENDING!\u00a0<\/strong>\u23f3<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>PROBLEM<\/strong>:\u00a0With TorBox v.0.5.1, local DNS resolution is solely resolved through tor. This restriction led to problems with the Snowflake and Meek bridge functionality because both protocols need local DNS resolution. The problem is more complex than it looks, and we will deal with it in version 0.5.2. However, as a quick fix, we changed the snowflake and meek-azure scripts to enable local DNS resolution. You can fix the bug by updating the TorBox menu with the\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/www.torbox.ch\/?page_id=1410\" target=\"_blank\">Update and Maintenance sub-menu<\/a>. We also changed the Snowflake configuration in the <code>torrc<\/code> and added a second Snowflake bridge. With version 0.5.2, we will support multiple Snowflake bridges as we do with OBFS4 bridges. <strong>The image file is not fixed yet \u2014 PENDING!\u00a0<\/strong>\u23f3<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>BUG<\/strong>: Due to permission problems, in some cases, temporarily stored files are blocking <code>bridges_get.py <\/code>from fetching a new OBFS4 address line. You can quickly solve the problem with the following command: <code>rm -r \/tmp\/captcha.*<\/code>. However, this is not a permanent solution. You can fix the bug by updating the TorBox menu with the\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/www.torbox.ch\/?page_id=1410\" target=\"_blank\">Update and Maintenance sub-menu<\/a>. <strong>The image file is not fixed yet \u2014 PENDING!\u00a0<\/strong>\u23f3<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Again, some time has passed since&nbsp;the initial release of TorBox v.0.5.1. Even if we already started to work on TorBox v.0.5.2, we decided to release an updated image of TorBox v.0.5.1 due to some critical fixes and a new tor version. This version is based on&nbsp;Raspberry Pi OS \u201cBullseye\u201d lite (64 bit)&nbsp;with&nbsp;Linux Kernel 5.15.61&nbsp;and Tor &hellip; <a href=\"https:\/\/www.torbox.ch\/?p=2976\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Update your TorBox&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-2976","post","type-post","status-publish","format-standard","hentry","category-blog"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"John Doe","author_link":"https:\/\/www.torbox.ch\/?author=2"},"uagb_comment_info":2,"uagb_excerpt":"Again, some time has passed since&nbsp;the initial release of TorBox v.0.5.1. Even if we already started to work on TorBox v.0.5.2, we decided to release an updated image of TorBox v.0.5.1 due to some critical fixes and a new tor version. This version is based on&nbsp;Raspberry Pi OS \u201cBullseye\u201d lite (64 bit)&nbsp;with&nbsp;Linux Kernel 5.15.61&nbsp;and Tor&hellip;","_links":{"self":[{"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/posts\/2976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.torbox.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2976"}],"version-history":[{"count":5,"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/posts\/2976\/revisions"}],"predecessor-version":[{"id":3016,"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/posts\/2976\/revisions\/3016"}],"wp:attachment":[{"href":"https:\/\/www.torbox.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.torbox.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.torbox.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}