13.xhtml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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/13.xhtml" />
  27. <title>Webkit isn&apos;t the problem &lt;https://y.st./en/weblog/2016/03-March/13.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/13.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/12.xhtml">&lt;Previous</a>
  60. <a rel="next" href="/en/weblog/2016/03-March/14.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>Webkit isn&apos;t the problem</h1>
  67. <p>Day 00372: Sunday, 2016 March 13</p>
  68. </header>
  69. <p>
  70. I checked in on the <a href="https://codereview.qt-project.org/#/c/152150/">Qt pull request</a> and found that it has been merged! If <a href="apt:arora">Arora</a> doesn&apos;t have it&apos;s own <abbr title="Server Name Indication">SNI</abbr> bug, Arora is now fixed.
  71. Additionally, the <a href="https://bugzilla.gnome.org/show_bug.cgi?id=763510"><abbr title="GNU Network Object Model Environment">GNOME</abbr> bug report</a> has been changed again, this time to reflect that the bug is in glib and that it relates to networking in an unspecified version.
  72. People are actually looking at it and passing it to the developers of the particular subproject so that it can actually get fixed.
  73. This is better than I dared hope for! With a little luck, maybe the <a href="https://bugs.webkit.org/show_bug.cgi?id=155378">Webkit bug</a> will be taken seriously as well.
  74. However, while I was out, I saw that the Webkit people are saying that the &quot;host name/<abbr title="Server Name Indication">SNI</abbr> mismatch&quot; error thrown by the server is caused by the fact that Webkit is sending the correct <abbr title="Hypertext Transfer Protocol">HTTP</abbr> Host header and correct <abbr title="Server Name Indication">SNI</abbr> host name, and because one has a trailing dot and the other does not, they don&apos;t match.
  75. As I&apos;ve tested what happens when you send the correct <abbr title="Server Name Indication">SNI</abbr> host name and correct <abbr title="Hypertext Transfer Protocol">HTTP</abbr> Host header, I knew that this isn&apos;t the case.
  76. I was under the impression that the &quot;mismatch&quot; was that the two didn&apos;t correspond with one another because the trailing dot <abbr title="Server Name Indication">SNI</abbr> host name doesn&apos;t correspond with <strong>*any*</strong> <abbr title="Hypertext Transfer Protocol">HTTP</abbr> Host header, as it&apos;s invalid.
  77. I thought that I&apos;d have to set up my own <abbr title="Hypertext Transfer Protocol">HTTP</abbr> server that the Webkit people could access, which would be a breach of my <abbr title="Internet service provider">ISP</abbr>&apos;s terms of service.
  78. With my own Web server, I might be able to nudge my server into providing access to my Web application by using a couple lines of code in a <abbr title="PHP: Hypertext Preprocessor">PHP</abbr>-based 400 error page.
  79. After running into a strange error in Iceweasel that prevented me from loading the <abbr title="Server Name Indication">SNI</abbr> testing page (Iceweasel refused to allow me to accept the &quot;invalid&quot; certificate), I tried a subdomain of the main testing page because the certificate specifically mentioned being valid for two subdomains.
  80. Much to my surprise, I found that not only did the new page not set off Iceweasel&apos;s anti-<abbr title="Transport Layer Security">TLS</abbr> error, it also didn&apos;t set of the server&apos;s error, despite the fact that the Web browser was still sending a malformed <abbr title="Server Name Indication">SNI</abbr> host name.
  81. Using this to my advantage, I was able to show the show the Webkit people the malformed <abbr title="Server Name Indication">SNI</abbr> host name sant by Web browsers using their software.
  82. By the end of the night, they did understand the problem.
  83. However, they say that the bug isn&apos;t in Webkit, but somewhere else.
  84. The person I spoke with confirmed that the error is in Safari (which I couldn&apos;t test myself), Chrome (Which I assumed had the error because <a href="apt:chromium">Chromium</a> does), and <a href="apt:iceweasel">Firefox</a> (which I already reported the bug in).
  85. He said he&apos;d pass the information on to Apple so that they can fix Safari, which should lead to one more Web browser being fixed.
  86. However, it means that I still need to figure out who to report the problem in <a href="apt:surf">Surf</a> to.
  87. </p>
  88. <p>
  89. Speaking of playing games with the 400 error page, I found that I can display an actual page on my choosing in place of the default 400 error page, though doing so is less intuitive than I&apos;d like.
  90. It might be possible to write a tricky 400 error page that checks to see if the cause of the error is a malformed <abbr title="Server Name Indication">SNI</abbr> host name, and if it is, return the page that would have otherwise been returned if the <abbr title="Server Name Indication">SNI</abbr> host name wans&apos;t present or was correct.
  91. I might use this for a Web-based game if I have time to build it.
  92. People that are running reasonable Web browsers might get a bonus while those running unreasonable Web browsers might get an inverse bonus and be presented with a link to an explanation.
  93. The explanation would provide links to the bug reports on known Web browsers and invite the user to either pressure the developers into fixing them, file their own bug report against an unlisted Web browser, or switch to a known-working Web browser.
  94. </p>
  95. <p>
  96. I spent most of the day in Springfield, trying to remove a broken faucet to replace it with one that might work.
  97. However, most likely due to heavy corrosion, I wans&apos;t able to fully remove it.
  98. I&apos;m not sure what we&apos;re going to have to do about it.
  99. </p>
  100. <p>
  101. On the way home, I was thinking about moss and wondering if it&apos;s harmful to the trees it grows on.
  102. I thought that I recalled hearing that moss doesn&apos;t sap the nutrients out of trees, but the roots of the moss digging into the tree had to be doing damage.
  103. And if the moss is digging into the tree, why doesn&apos;t the tree&apos;s immune system fight off the moss? I looked it up on the way back, and it turns out that <a href="http://1800cuttree.com/content/moss-bad-trees">moss isn&apos;t in fact harmful to most trees</a> and isn&apos;t a parasite.
  104. While moss does produce threadlike structures that help it hold onto the tree, it has no roots and doesn&apos;t actually dig into the tree.
  105. This probably explains why moss can grow so well on stones too.
  106. The biggest threat that moss poses to trees seems to be its weight.
  107. If a particularly weakened and/or old tree has too much damp moss on it, it might not be able to support it all and that could lead to breaking.
  108. </p>
  109. <hr/>
  110. <p>
  111. Copyright © 2016 Alex Yst;
  112. 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>.
  113. If for some reason you would prefer to modify and/or distribute this document under other free copyleft terms, please ask me via email.
  114. My address is in the source comments near the top of this document.
  115. This license also applies to embedded content such as images.
  116. For more information on that, see <a href="/en/a/licensing.xhtml">licensing</a>.
  117. </p>
  118. <p>
  119. <abbr title="World Wide Web Consortium">W3C</abbr> standards are important.
  120. This document conforms to the <a href="https://validator.w3.org./nu/?doc=https%3A%2F%2Fy.st.%2Fen%2Fweblog%2F2016%2F03-March%2F13.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%2F13.xhtml"><abbr title="Cascading Style Sheets">CSS</abbr>3</a> specification.
  121. </p>
  122. </body>
  123. </html>