06.xhtml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. h t t :: / / t /
  4. h t t :: // // t //
  5. h ttttt ttttt ppppp sssss // // y y sssss ttttt //
  6. hhhh t t p p s // // y y s t //
  7. h hh t t ppppp sssss // // yyyyy sssss t //
  8. h h t t p s :: / / y .. s t .. /
  9. h h t t p sssss :: / / yyyyy .. sssss t .. /
  10. <https://y.st./>
  11. Copyright © 2016 Alex Yst <mailto:copyright@y.st>
  12. This program is free software: you can redistribute it and/or modify
  13. it under the terms of the GNU General Public License as published by
  14. the Free Software Foundation, either version 3 of the License, or
  15. (at your option) any later version.
  16. This program is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. GNU General Public License for more details.
  20. You should have received a copy of the GNU General Public License
  21. along with this program. If not, see <https://www.gnu.org./licenses/>.
  22. -->
  23. <!DOCTYPE html>
  24. <html xmlns="http://www.w3.org/1999/xhtml">
  25. <head>
  26. <base href="https://y.st./en/weblog/2016/03-March/06.xhtml" />
  27. <title>Disillusioned with onion addresses &lt;https://y.st./en/weblog/2016/03-March/06.xhtml&gt;</title>
  28. <link rel="icon" type="image/png" href="/link/CC_BY-SA_4.0/y.st./icon.png" />
  29. <link rel="stylesheet" type="text/css" href="/link/basic.css" />
  30. <link rel="stylesheet" type="text/css" href="/link/site-specific.css" />
  31. <script type="text/javascript" src="/script/javascript.js" />
  32. <meta name="viewport" content="width=device-width" />
  33. </head>
  34. <body>
  35. <nav>
  36. <p>
  37. <a href="/en/">Home</a> |
  38. <a href="/en/a/about.xhtml">About</a> |
  39. <a href="/en/a/contact.xhtml">Contact</a> |
  40. <a href="/a/canary.txt">Canary</a> |
  41. <a href="/en/URI_research/"><abbr title="Uniform Resource Identifier">URI</abbr> research</a> |
  42. <a href="/en/opinion/">Opinions</a> |
  43. <a href="/en/coursework/">Coursework</a> |
  44. <a href="/en/law/">Law</a> |
  45. <a href="/en/a/links.xhtml">Links</a> |
  46. <a href="/en/weblog/2016/03-March/06.xhtml.asc">{this page}.asc</a>
  47. </p>
  48. <hr/>
  49. <p>
  50. Weblog index:
  51. <a href="/en/weblog/"><abbr title="American Standard Code for Information Interchange">ASCII</abbr> calendars</a> |
  52. <a href="/en/weblog/index_ol_ascending.xhtml">Ascending list</a> |
  53. <a href="/en/weblog/index_ol_descending.xhtml">Descending list</a>
  54. </p>
  55. <hr/>
  56. <p>
  57. Jump to entry:
  58. <a href="/en/weblog/2015/03-March/07.xhtml">&lt;&lt;First</a>
  59. <a rel="prev" href="/en/weblog/2016/03-March/05.xhtml">&lt;Previous</a>
  60. <a rel="next" href="/en/weblog/2016/03-March/07.xhtml">Next&gt;</a>
  61. <a href="/en/weblog/latest.xhtml">Latest&gt;&gt;</a>
  62. </p>
  63. <hr/>
  64. </nav>
  65. <header>
  66. <h1>Disillusioned with onion addresses</h1>
  67. <p>Day 00365: Sunday, 2016 March 06</p>
  68. </header>
  69. <p>
  70. A thought just occurred to me.
  71. I no longer need to avoid mentioning <a href="ircs://sbuk7aqcxkoyipwv.onion:49152/">freenode</a> entirely when I write about things that have happened there.
  72. I just need to be sure to use the link to my own forwarding onion address when making such mentions.
  73. I still can&apos;t use this onion address to connect, as it would be identical to not using <a href="apt:tor"><abbr title="The Onion Router">Tor</abbr></a> to connect at all, but other people can without struggling with freenode&apos;s incomplete <abbr title="The Onion Router">Tor</abbr> blocks.
  74. Also, removed my relay to IRC2P, as it only serves to distract from <a href="https://opalrwf4mzmlfmag.onion/">wowaname</a>&apos;s relay, and instead decided to add as many <abbr title="The Onion Router">Tor</abbr>-blocking networks as I know of before being asked.
  75. They might be useful to someone, but someone may be too timid to ask.
  76. I know I would be.
  77. Each day, the plan was to try to add at least one <abbr title="Internet Relay Chat">IRC</abbr> network that&apos;s present in the default HexChat server list, until I reach the end of the list.
  78. I&apos;ve uninstalled <abbr title="Invisible Internet Project">I2P</abbr> from the server as well, as it no longer serves a purpose on that machine.
  79. </p>
  80. <p>
  81. I started testing <abbr title="Internet Relay Chat">IRC</abbr> servers and adding them to both my <a href="file:///etc/tor/torrc">torrc file</a> and my <abbr title="Extensible Hypertext Markup Language">XHTML</abbr> list of port that are forwarded, but I quickly found keeping them in sync to be bothersome.
  82. To fix this, I built a function that could parse a hidden service block from a <abbr title="The Onion Router">Tor</abbr> configuration file and format it as the list that I was after.
  83. I needed to be able to tell the parser which <abbr title="Uniform Resource Identifier">URI</abbr> scheme to use for a given item (<code>ircs:</code> or <code>irc:</code>), as well as make my parser generic enough to handle other use cases, so I included a comment syntax that tells it what scheme to use.
  84. Making it more generic also required that I remove some <abbr title="Internet Relay Chat">IRC</abbr>-specific information, but I have to reluctantly admit that the result looks a lot cleaner.
  85. </p>
  86. <p>
  87. That ended up being in vain though.
  88. I found a couple issues in <abbr title="The Onion Router">Tor</abbr> that prevent me from forwarding as many ports as I would like to.
  89. The first problem is that some of the domain names I&apos;m trying to forward to are supposedly unparseable, though I can&apos;t see anything wrong with the four domains that cause the issue.
  90. This error shows up in the error log: <q>Mar 06 21:56:58.930 [warn] Unparseable address in hidden service port configuration.</q>.
  91. After commenting out the offensive lines, I run into a bug: <q>*** Error in `tor&apos;: free(): invalid pointer: 0x00007fde87a055c0 ***</q>.
  92. This pointer error only happens if I forward several ports, and even then, there isn&apos;t stable number of forwarded ports.
  93. With few enough ports forwarded, the pointer error never occurs, and with enough forwarded, it always occurs.
  94. However, somewhere in the middle, the error only sometimes occurs.
  95. I can start <abbr title="The Onion Router">Tor</abbr>, it&apos;ll shut down because of that error, then I&apos;ll start it a second time and there&apos;ll be no problems.
  96. The only option that i can see is to comment out all the lines that haven&apos;t been requested and go back to only forwarding ports on demand.
  97. That way, I have the ports to spare when a new request is made and I&apos;m not wasting ports on services that people aren&apos;t even using.
  98. This experience has left me a bit disillusioned with onion addresses.
  99. If I can&apos;t even make use of all my ports like can be done with a <abbr title="Domain Name System">DNS</abbr> address, this really cuts down on their usefulness.
  100. I imagine this limitation applies to the sum total of ports forwarded by all onion addresses used by a given <abbr title="The Onion Router">Tor</abbr> instance, especially because it&apos;s caused by an error, so setting up extra hidden services wouldn&apos;t likely even help.
  101. </p>
  102. <p>
  103. On <a href="ircs://kitsune6uv4dtdve.onion:6697/%23Volatile">#Volatile</a>, z showed us an awesome website that is working to <a href="https://sci-hub.io/">free knowledge</a> from the clutches of those that would hide it behind pay walls.
  104. I&apos;m not sure how they operate, but it&apos;s wonderful to see such work being done.
  105. </p>
  106. <p>
  107. We went over to my mother&apos;s school to help her only to find out that she didn&apos;t want or need any help.
  108. So what was the point? We were there for three hours with nothing to do.
  109. Next time, I&apos;m bringing my laptop just in cast this sort of thing happens again.
  110. I could have been doing something productive with my time.
  111. </p>
  112. <hr/>
  113. <p>
  114. Copyright © 2016 Alex Yst;
  115. You may modify and/or redistribute this document under the terms of the <a rel="license" href="/license/gpl-3.0-standalone.xhtml"><abbr title="GNU&apos;s Not Unix">GNU</abbr> <abbr title="General Public License version Three or later">GPLv3+</abbr></a>.
  116. If for some reason you would prefer to modify and/or distribute this document under other free copyleft terms, please ask me via email.
  117. My address is in the source comments near the top of this document.
  118. This license also applies to embedded content such as images.
  119. For more information on that, see <a href="/en/a/licensing.xhtml">licensing</a>.
  120. </p>
  121. <p>
  122. <abbr title="World Wide Web Consortium">W3C</abbr> standards are important.
  123. This document conforms to the <a href="https://validator.w3.org./nu/?doc=https%3A%2F%2Fy.st.%2Fen%2Fweblog%2F2016%2F03-March%2F06.xhtml"><abbr title="Extensible Hypertext Markup Language">XHTML</abbr> 5.1</a> specification and uses style sheets that conform to the <a href="http://jigsaw.w3.org./css-validator/validator?uri=https%3A%2F%2Fy.st.%2Fen%2Fweblog%2F2016%2F03-March%2F06.xhtml"><abbr title="Cascading Style Sheets">CSS</abbr>3</a> specification.
  124. </p>
  125. </body>
  126. </html>