21.xhtml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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/02-February/21.xhtml" />
  27. <title>uTox, qTox, and Antox &lt;https://y.st./en/weblog/2016/02-February/21.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/02-February/21.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/02-February/20.xhtml">&lt;Previous</a>
  60. <a rel="next" href="/en/weblog/2016/02-February/22.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>uTox, qTox, and Antox</h1>
  67. <p>Day 00351: Sunday, 2016 February 21</p>
  68. </header>
  69. <p>
  70. I added the <a href="https://tox.chat/download.html#gnulinux">Tox repository</a> to my source list.
  71. The instructions given for doing so said to add the package <a href="apt:apt-transport-https"><code>apt-transport-https</code></a>, but Aptitude does not seem to be <abbr title="The Onion Router">Tor</abbr>-compatible without <a href="apt:apt-transport-tor">apt-transport-tor</a> and the pseudo-scheme <code>tor:</code>, so I just replaced the <code>https:</code> scheme with the <code>tor:</code> one instead of installing <code>apt-transport-https</code>.
  72. That seemed to work without issues.
  73. My guess is that apt-transport-tor tried to fetch the packages and package information over unencrypted <abbr title="Hypertext Transfer Protocol">HTTP</abbr>, was redirected to <abbr title="Hypertext Transfer Protocol Secure">HTTPS</abbr>, and was able to successfully download from the <abbr title="Hypertext Transfer Protocol Secure">HTTPS</abbr> site.
  74. This means that either apt-transport-tor is able to download over <abbr title="Hypertext Transfer Protocol Secure">HTTPS</abbr> or the downloads occurred over a non-<abbr title="The Onion Router">Tor</abbr> channel.
  75. I&apos;m hoping for the former.
  76. </p>
  77. <p>
  78. Once I had the repository added, I found that <a href="apt:utox">uTox</a> was not available! Both <a href="apt:qtox">qTox</a> and <a href="apt:toxic">Toxic</a> were available as alternatives, but neither sounded as good as uTox.
  79. qTox is Qt-based, and Qt-based applications tend to be too flashy for my testes.
  80. Not only that, but they require pulling in a bunch of Qt libraries that I don&apos;t otherwise need because my own Xfce desktop is <abbr title="GIMP Toolkit">GTK+</abbr>-based.
  81. Toxic on the other hand is a command line application.
  82. For the most part, I prefer graphical applications.
  83. I asked in the support channel, and they said that they currently have no package maintainer, so there are no uTox packages in the main repository.
  84. Instead, I was told to change the &quot;code name&quot; component of my <abbr title="Advanced Package Tool">APT</abbr> line to <code>release</code>.
  85. I assumed that the &quot;code name&quot; in <code>deb tor://pkg.tox.chat/debian nightly jessie</code> was <code>nightly</code>, so I tried changing that, and no repository was found.
  86. Thinking that someone had misremembered the name of the repository and seeing that the two available options were <a href="https://pkg.tox.chat/debian/dists/"><code>nightly</code> and <code>stable</code></a>, I tried <code>stable</code> instead.
  87. This time, the repository was found, but uTox was still not present.
  88. That was when it occurred to me that the stupid non-numeric nickname given to distribution releases is sometimes referred to as a code name, and the repository seemed to have the directory structure to support changing that to <code>release</code>, so I made that change and uTox became available.
  89. </p>
  90. <p>
  91. I looked more into Tox today and found that Tox&apos;s long, random, and unruly chat handles can be placed in <abbr title="Domain Name System">DNS</abbr> records, though I&apos;m not sure if they can be linked to that way.
  92. At the very least, the <abbr title="Domain Name System">DNS</abbr>-enabled name could serve as link text and be there for anyone that needs to write down the name for later use.
  93. However, the page on <a href="https://wiki.tox.chat/users/toxdns">ToxDNS</a> does not mention the <abbr title="Domain Name System">DNS</abbr> record format or naming scheme and ToxDNS is known to be under-documented.
  94. It sounds like documentation might be available <a href="https://wiki.tox.chat/users/howtos#how_to_run_a_toxdns_service">within the week</a> though, but I have been known to be quite impatient.
  95. Using a combination of the <code>groupbot@utox.org</code> identifier found on the wiki page, the <code>_tox</code> subdomain mentioned by <a href="https://github.com/stal888/Tox-QuickDNS">one of the ToxDNS implementations</a>, and a bit of guesswork, I was able to piece together that the <abbr title="Domain Name System">DNS</abbr> record in use was the TXT record at <code>groupbot._tox.utox.org</code> and performed a <abbr title="Domain Name System">DNS</abbr> query to obtain the record format so I could apply that same format to a record within my own domain.
  96. However, the record was not recognized by uTox.
  97. I tried using the name <code>groupbot@utox.org</code> instead, but that didn&apos;t work either, so I decided to install and test on <a href="apt:qtox">qTox</a>.
  98. Neither name worked on qTox either, though qTox mentioned needing to make a connection outside of my proxy to look up the names, which I allowed.
  99. A bit later, I decided to ask about if the feature was even implemented yet, as the known-good data, <code>groupbot@utox.org</code>, was not working.
  100. I wanted to be as clear as possible, to I tried the handle in both clients to get the exact error messages.
  101. However, this time, the handle worked in both! I tried my own handle, <code>laptop@y.st</code>, and that worked as well.
  102. I have no idea what the problem had been, but it seems to have resolve itself.
  103. </p>
  104. <p>
  105. I do wonder though about the connection made outside of the proxy.
  106. Is uTox able to resolve the name without bypassing the proxy, unlike qTox, or is it bypassing the proxy without permission? If the TXT records are indeed not able to be reached through a SOCKS proxy because SOCKS handle <abbr title="Domain Name System">DNS</abbr> itself, perhaps this is the issue with <abbr title="Extensible Messaging and Presence Protocol">XMPP</abbr> on my mobile.
  107. Perhaps the <abbr title="Extensible Messaging and Presence Protocol">XMPP</abbr> clients are unable to check for and resolve SRV records.
  108. </p>
  109. <p>
  110. Now having the information needed to set up <abbr title="Domain Name System">DNS</abbr> records used by Tox, I decided to add that information to the wiki page on ToxDNS.
  111. After registering an account though, I found that regular users are not allowed to make changes.
  112. I would need to get special permission in order to be of any help.
  113. I could ask for permission, but that&apos;s not really my style.
  114. If they don&apos;t want help from random users, you can count me out.
  115. </p>
  116. <p>
  117. Having now used both uTox and qTox, I think that I now prefer qTox.
  118. Despite being a Qt application, it at least is more featureful than uTox.
  119. It minimizes to the notification and has the option to automatically start upon logging into your computer (in fairness, uTox and any other application could be set to do this too from Xfce&apos;s Sessions and Startup application).
  120. However, both applications seem to be unable to properly handle the <a href="https://wiki.tox.chat/users/toxlinks"><abbr title="Uniform Resource Identifier">URI</abbr>s</a> mentioned on the wiki, despite it being stated that both clients support them.
  121. </p>
  122. <p>
  123. Yesterday, I installed a strange upgrade for <a href="https://f-droid.org/repository/browse/?fdid=org.torproject.android">Orbot</a>.
  124. It had a different package signature than usual, indicating that it had come from the Guardian Project repository instead of the main F-Droid repository and the user interface looked quite a bit different.
  125. Today though, while trying to set up the <a href="https://tox.chat/download.html#fdroid">Tox repository</a>, ran into issues.
  126. It seemed that Orbot was making the connection to the <abbr title="The Onion Router">Tor</abbr> network, but applications were unable to get through.
  127. Some testing indicated that <a href="https://f-droid.org/repository/browse/?fdid=org.ethack.orwall">orWall</a> was to blame, as Orbot&apos;s transparent proxy mode seemed to allow applications to connect to the network.
  128. However, nothing had changed with orWall.
  129. I tried resetting its data and I tried reinstalling it, neither of which worked.
  130. I tried downgrading Orbot though, and that <strong>*did*</strong> work.
  131. I&apos;m not sure what the new Orbot release does differently than the old one, but it doesn&apos;t seem to be compatible with orWall.
  132. Antox, the mobile version of Tox, doesn&apos;t seem to be able to handle ToxDNS, but it does seem to be able to ToxDNS, so I was unable to add <code>laptop@y.st</code> to my contacts for testing.
  133. Furthermore, uTox and qTox are acting wonky, so I wasn&apos;t able to add <code>mobile@y.st</code> from my laptop.
  134. I checked the <abbr title="Domain Name System">DNS</abbr> records from my command line, and they are reaching my laptop, so I&apos;m not sure what the problem is.
  135. I&apos;ll have to try again tomorrow.
  136. </p>
  137. <p>
  138. We worked on cleaning the house more today, then went to see that movie that I mentioned a few days ago.
  139. I spent the movie time thinking about Tox and <abbr title="Domain Name System">DNS</abbr> records.
  140. After that, we went to pick up more bullet shells and went to work in our mother&apos;s classroom.
  141. She wanted me to staple some papers together to form books for the students, but she got really weird and told me off about what stapler I chose to use.
  142. She later claimed that it was because she thought that that stapler didn&apos;t work, but that doesn&apos;t make sense for a couple of reasons.
  143. First of all, it&apos;s the same stapler I used last time that I stapled books together too and she knows that.
  144. Clearly, that stapler works when I use it, even if she wasn&apos;t lying about the fact that she can never get it to work.
  145. If it&apos;s true, she simply doesn&apos;t know how to work that stapler, which would be pretty sad seeing as it works just like any other stapler.
  146. Second, if the stapler really didn&apos;t work, there&apos;d be nothing for her to get ticked off about.
  147. I&apos;d simply try to use it, fail, then go get another stapler.
  148. It&apos;s worth noting for the record that after she got weird about the stapler, I did find it to be jammed, but this was only after.
  149. That might have been the reason that she thought that it didn&apos;t work, but still doesn&apos;t explain her getting angry with me.
  150. Likely, if it comes up again, she&apos;ll claim that she got angry because I wasted time unjamming it, but I only unjammed it after she had gotten strange, as I had only found that it had been jammed after she had gotten strange; I simply had not made it to the stapling part of the process yet as I was still folding all the papers in half.
  151. Our mother was also yelling at Vanessa earlier today because our mother was being unclear and Vanessa was not understanding what was being said, so it could be that our mother is on the down side of another one of her bipolar swings.
  152. I should try to tread lightly.
  153. </p>
  154. <hr/>
  155. <p>
  156. Copyright © 2016 Alex Yst;
  157. 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>.
  158. If for some reason you would prefer to modify and/or distribute this document under other free copyleft terms, please ask me via email.
  159. My address is in the source comments near the top of this document.
  160. This license also applies to embedded content such as images.
  161. For more information on that, see <a href="/en/a/licensing.xhtml">licensing</a>.
  162. </p>
  163. <p>
  164. <abbr title="World Wide Web Consortium">W3C</abbr> standards are important.
  165. This document conforms to the <a href="https://validator.w3.org./nu/?doc=https%3A%2F%2Fy.st.%2Fen%2Fweblog%2F2016%2F02-February%2F21.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%2F02-February%2F21.xhtml"><abbr title="Cascading Style Sheets">CSS</abbr>3</a> specification.
  166. </p>
  167. </body>
  168. </html>