jdev - 2021-09-06


  1. mac has joined
  2. DebXWoody has joined
  3. norayr has left
  4. DebXWoody has left
  5. norayr has joined
  6. norayr has left
  7. laylolamb has left
  8. sonny has left
  9. sonny has joined
  10. sonny has left
  11. sonny has joined
  12. larma has left
  13. dezant has left
  14. laylolamb has joined
  15. kikuchiyo has left
  16. mac has left
  17. mac has joined
  18. kikuchiyo has joined
  19. mikeye has joined
  20. mikeye has left
  21. dezant has joined
  22. Pete has left
  23. laylolamb has left
  24. laylolamb has joined
  25. jgart has joined
  26. jgart has left
  27. jgart has joined
  28. jgart has left
  29. dezant has left
  30. disgyze has joined
  31. Pete has joined
  32. laylolamb has left
  33. laylolamb has joined
  34. laylolamb has left
  35. laylolamb has joined
  36. mac has left
  37. mac has joined
  38. dezant has joined
  39. mikeye has joined
  40. Duncan Hart has joined
  41. Duncan Hart has left
  42. laylolamb has left
  43. laylolamb has joined
  44. marc0s has left
  45. marc0s has joined
  46. laylolamb has left
  47. laylolamb has joined
  48. mikeye has left
  49. kikuchiyo has left
  50. kikuchiyo has joined
  51. sonny has left
  52. sonny has joined
  53. scorch has joined
  54. laylolamb has left
  55. laylolamb has joined
  56. Duncan Hart has joined
  57. Duncan Hart has left
  58. laylolamb has left
  59. Pete has left
  60. sonny has left
  61. sonny has joined
  62. me9 has joined
  63. marc0s has left
  64. marc0s has joined
  65. sonny has left
  66. Matrix Traveler (bot) has left
  67. homebeach has left
  68. Server Stats Discoverer (traveler bot) has left
  69. Matrix Traveler (bot) has joined
  70. homebeach has joined
  71. Server Stats Discoverer (traveler bot) has joined
  72. sonny has joined
  73. pasdesushi has joined
  74. jgart has joined
  75. jgart has left
  76. jgart has joined
  77. jgart has left
  78. Pete has joined
  79. scorch has left
  80. scorch has joined
  81. Yagizа has joined
  82. mac has left
  83. mac has joined
  84. wurstsalat has left
  85. pasdesushi has left
  86. marc0s has left
  87. marc0s has joined
  88. malthe has joined
  89. me9 has left
  90. malthe has left
  91. marc0s has left
  92. marc0s has joined
  93. moparisthebest has left
  94. emus has joined
  95. mac has left
  96. mac has joined
  97. moparisthebest has joined
  98. pasdesushi has joined
  99. laylolamb has joined
  100. laylolamb has left
  101. kikuchiyo has left
  102. kikuchiyo has joined
  103. dezant has left
  104. malthe has joined
  105. marc0s has left
  106. marc0s has joined
  107. pasdesushi has left
  108. marc0s has left
  109. marc0s has joined
  110. marc0s has left
  111. marc0s has joined
  112. laylolamb has joined
  113. sonny has left
  114. sonny has joined
  115. goffi has joined
  116. sonny has left
  117. sonny has joined
  118. malthe has left
  119. sonny has left
  120. sonny has joined
  121. sonny has left
  122. sonny has joined
  123. sonny has left
  124. sonny has joined
  125. sonny has left
  126. scorch has left
  127. sonny has joined
  128. sonny has left
  129. sonny has joined
  130. sonny has left
  131. sonny has joined
  132. alacer has left
  133. alacer has joined
  134. sonny has left
  135. sonny has joined
  136. sonny has left
  137. sonny has joined
  138. laylolamb has left
  139. laylolamb has joined
  140. wurstsalat has joined
  141. sonny has left
  142. sonny has joined
  143. georgeorwell has joined
  144. laylolamb has left
  145. laylolamb has joined
  146. laylolamb has left
  147. laylolamb has joined
  148. laylolamb has left
  149. laylolamb has joined
  150. jonas’ has joined
  151. laylolamb has left
  152. laylolamb has joined
  153. laylolamb has left
  154. laylolamb has joined
  155. laylolamb has left
  156. laylolamb has joined
  157. laylolamb has left
  158. pasdesushi has joined
  159. debacle has joined
  160. marc0s has left
  161. marc0s has joined
  162. larma has joined
  163. _Liveware Problem_ has left
  164. larma has left
  165. lovetox has left
  166. pasdesushi has left
  167. pasdesushi has joined
  168. kikuchiyo has left
  169. laylolamb has joined
  170. kikuchiyo has joined
  171. Kev has joined
  172. scorch has joined
  173. laylolamb has left
  174. laylolamb has joined
  175. laylolamb has left
  176. laylolamb has joined
  177. laylolamb has left
  178. laylolamb has joined
  179. laylolamb has left
  180. laylolamb has joined
  181. laylolamb has left
  182. laylolamb has joined
  183. lovetox has joined
  184. debacle has left
  185. laylolamb has left
  186. laylolamb has joined
  187. laylolamb has left
  188. laylolamb has joined
  189. laylolamb has left
  190. laylolamb has joined
  191. alacer has left
  192. pasdesushi has left
  193. alacer has joined
  194. kikuchiyo has left
  195. Kev has left
  196. Kev has joined
  197. laylolamb has left
  198. laylolamb has joined
  199. norayr has joined
  200. Kev has left
  201. Kev has joined
  202. kikuchiyo has joined
  203. malthe has joined
  204. pasdesushi has joined
  205. debacle has joined
  206. malthe has left
  207. DebXWoody has joined
  208. _Liveware Problem_ has joined
  209. mac has left
  210. kikuchiyo has left
  211. kikuchiyo has joined
  212. me9 has joined
  213. antranigv has left
  214. antranigv has joined
  215. Kev has left
  216. Kev has joined
  217. hiran has joined
  218. pasdesushi has left
  219. Kev has left
  220. Kev has joined
  221. antranigv has left
  222. pasdesushi has joined
  223. Wojtek has joined
  224. laylolamb has left
  225. laylolamb has joined
  226. laylolamb has left
  227. laylolamb has joined
  228. laylolamb has left
  229. laylolamb has joined
  230. pasdesushi has left
  231. laylolamb has left
  232. laylolamb has joined
  233. mikeye has joined
  234. laylolamb has left
  235. laylolamb has joined
  236. pasdesushi has joined
  237. mikeye has left
  238. Kev has left
  239. Kev has joined
  240. pasdesushi has left
  241. Kev has left
  242. Kev has joined
  243. laylolamb has left
  244. laylolamb has joined
  245. scorch has left
  246. scorch has joined
  247. Kev has left
  248. Kev has joined
  249. pasdesushi has joined
  250. mac has joined
  251. kikuchiyo has left
  252. kikuchiyo has joined
  253. 9lakes has left
  254. 9lakes has joined
  255. antranigv has joined
  256. laylolamb has left
  257. kikuchiyo has left
  258. scorch has left
  259. kikuchiyo has joined
  260. antranigv has left
  261. antranigv has joined
  262. larma has joined
  263. norayr has left
  264. norayr has joined
  265. Alex has left
  266. Alex has joined
  267. laylolamb has joined
  268. antranigv has left
  269. Matrix Traveler (bot) has left
  270. homebeach has left
  271. Server Stats Discoverer (traveler bot) has left
  272. Matrix Traveler (bot) has joined
  273. homebeach has joined
  274. Server Stats Discoverer (traveler bot) has joined
  275. emus has left
  276. raghavgururajan has left
  277. emus has joined
  278. selurvedu has joined
  279. laylolamb has left
  280. Kev has left
  281. Kev has joined
  282. antranigv has joined
  283. pulkomandy has left
  284. pulkomandy has joined
  285. kikuchiyo has left
  286. scorch has joined
  287. mac has left
  288. mac has joined
  289. raghavgururajan has joined
  290. antranigv has left
  291. pulkomandy has left
  292. pulkomandy has joined
  293. kikuchiyo has joined
  294. jgart has joined
  295. inky has joined
  296. marc0s has left
  297. marc0s has joined
  298. laylolamb has joined
  299. inky has left
  300. laylolamb has left
  301. COM8 has joined
  302. dezant has joined
  303. antranigv has joined
  304. malthe has joined
  305. kikuchiyo has left
  306. laylolamb has joined
  307. kikuchiyo has joined
  308. antranigv has left
  309. malthe has left
  310. pasdesushi has left
  311. COM8 has left
  312. antranigv has joined
  313. laylolamb has left
  314. laylolamb has joined
  315. mac has left
  316. mac has joined
  317. dezant has left
  318. marc0s has left
  319. marc0s has joined
  320. FireFly has left
  321. laylolamb has left
  322. antranigv has left
  323. hiran has left
  324. malthe has joined
  325. pasdesushi has joined
  326. rom1dep has left
  327. laylolamb has joined
  328. malthe has left
  329. Pete has left
  330. antranigv has joined
  331. selurvedu Zash, thanks for your reply. I have not read https://datatracker.ietf.org/doc/html/rfc3490 very carefully, and while I don't see any direct reference to space characters, it seems to only permit the letters, digits and hyphen-minus characters [0][1]. Is that what you meant? [0]: https://datatracker.ietf.org/doc/html/rfc5890#section-2.1 [1]: https://datatracker.ietf.org/doc/html/rfc5890#section-2.2
  332. Zash Sorry, I don't have this swapped in right now.
  333. mac has left
  334. selurvedu Zash, ah, that's Re: is " " a valid domainpart?
  335. Zash This topic hurts my brain, I don't wish to swap it in right now.
  336. selurvedu That's fine, I'm pretty sure you pointed me exactly in right direction.
  337. Zash Great
  338. selurvedu If so, that means idna_verify() in https://github.com/dino/dino/blob/master/xmpp-vala/src/module/jid.vala#L77 is missing a bit.
  339. FireFly has joined
  340. Zash nameToASCII_UTF8() should deal with it
  341. Zash That's the thing in Prosody that deals with it.
  342. antranigv has left
  343. Zash So presumably it doesn't behave differently when called from a different application :)
  344. Pete has joined
  345. Zash https://hg.prosody.im/trunk/file/1cac469b18d0/util-src/encodings.c#l351 same default, but + STD3 rules, whatever those were
  346. selurvedu Zash, did you say `@` is a valid JID in Prosody? I did not quite get that part where you mentioned it on Saturday
  347. Zash no
  348. Kev has left
  349. Kev has joined
  350. dezant has joined
  351. Zash I may have said valid JIDs had a shockingly large overlap with valid hostnames.
  352. selurvedu ah, that's what you meant, the https:// hostname thing
  353. Zash `dig https://www.zash.se txt` and be horrified
  354. Kev has left
  355. Kev has joined
  356. selurvedu Ah, that's completely normal for TXT, isn't it? :)
  357. dezant has left
  358. dezant has joined
  359. Kev has left
  360. Kev has joined
  361. Zash "https://www" is a valid DNS label.
  362. Yagizа has left
  363. dezant has left
  364. dezant has joined
  365. dezant has left
  366. dezant has joined
  367. laylolamb has left
  368. marc0s has left
  369. marc0s has joined
  370. selurvedu ;; QUESTION SECTION: ;https://www. IN A ;; ANSWER SECTION: https://www. 0 IN A 127.0.13.37 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) Right, works with dnsmasq
  371. Zash Since / separates the resource part from the bare JID, it can't be part of username or hostname. But at the same time, it can be part of the hostname. And now my IDNA headache has returned. Thanks a lot!
  372. selurvedu You're welcome! 😁️
  373. Zash So if you only apply hostname validation to a hostname, a / could get past. And also @
  374. Zash And then you can have a full jid as hostname
  375. Zash And then your head will hurt
  376. Zash If I don't finish this modernxmpp text I was writing then I'm blaming you!!!!111eleven
  377. selurvedu Sure, I don't mind if you do :)
  378. marc0s has left
  379. marc0s has joined
  380. laylolamb has joined
  381. marc0s has left
  382. marc0s has joined
  383. selurvedu Hmmm... A full jid with a domainpart being a full jid with a domainpart being [recursion]
  384. mac has joined
  385. Zash https://cerdale.zash.se/s/bBRHmrR71ZkNw47r/ffabd2e5-d83e-46cc-a3c9-ca62c6939a2c.png
  386. Zash XMPP ...
  387. selurvedu 😹️
  388. antranigv has joined
  389. marc0s has left
  390. marc0s has joined
  391. rom1dep has joined
  392. laylolamb has left
  393. antranigv has left
  394. laylolamb has joined
  395. antranigv has joined
  396. me9 has left
  397. marc0s has left
  398. marc0s has joined
  399. laylolamb has left
  400. laylolamb has joined
  401. COM8 has joined
  402. marc0s has left
  403. marc0s has joined
  404. DebXWoody has left
  405. DebXWoody has joined
  406. mac has left
  407. sonny has left
  408. sonny has joined
  409. selurvedu > So presumably it doesn't behave differently when called from a different application :) "Well... It doesnt...", I thought as I saw this: (Din0:1124301): xmpp-vala-DEBUG: 18:08:35.508: jid.vala:78: idna_verify(" ") (Din0:1124301): xmpp-vala-DEBUG: 18:08:35.508: jid.vala:83: nameToASCII_UTF8 status = 0 "Unless there's a missing bit just like I suspected". I looked at the code you linked to, and the only difference I could spot was the one you mentioned, "+ STD3 rules, whatever those were". I went to find out what these are. The IDNA RFC mentions "STD 3" in the references section and refers to it in the "LDH label" section. /usr/include/unicode/uidna.h describes UIDNA_USE_STD3_RULES=2 as "Option to check whether the input conforms to the STD3 ASCII rules, for example the restriction of labels to LDH characters (ASCII Letters, Digits and Hyphen-Minus)." So this was a missing part indeed. The validation works as intended now.
  410. COM8 has left
  411. selurvedu Zash, thanks a lot for your help! You saw the root of it right away.
  412. sonny has left
  413. sonny has joined
  414. selurvedu For some reason I'm getting U_STRING_NOT_TERMINATED_WARNING and U_BUFFER_OVERFLOW_ERROR errors now (which are safely ignored, but they shouldn't happen in the first place, so this needs further investigation), but that's obviously a completely different issue unrelated to XMPP and domain names.
  415. selurvedu has left
  416. debacle has left
  417. malthe has joined
  418. _Liveware Problem_ has left
  419. larma has left
  420. larma has joined
  421. marc0s has left
  422. marc0s has joined
  423. debacle has joined
  424. Wojtek has left
  425. malthe has left
  426. hiran has joined
  427. georgeorwell has left
  428. scorch has left
  429. kikuchiyo has left
  430. kikuchiyo has joined
  431. marc0s has left
  432. marc0s has joined
  433. Kev has left
  434. Kev has joined
  435. scorch has joined
  436. selurvedu has joined
  437. me9 has joined
  438. Kev has left
  439. Kev has joined
  440. marc0s has left
  441. marc0s has joined
  442. malthe has joined
  443. emus has left
  444. scorch has left
  445. emus has joined
  446. antranigv has left
  447. antranigv has joined
  448. mac has joined
  449. antranigv has left
  450. jgart has left
  451. marc0s has left
  452. marc0s has joined
  453. scorch has joined
  454. scorch has left
  455. malthe has left
  456. laylolamb has left
  457. marc0s has left
  458. marc0s has joined
  459. selurvedu has left
  460. malthe has joined
  461. selurvedu has joined
  462. pasdesushi has left
  463. pasdesushi has joined
  464. malthe has left
  465. malthe has joined
  466. laylolamb has joined
  467. pasdesushi has left
  468. Kev has left
  469. Kev has joined
  470. SouL has left
  471. laylolamb has left
  472. dezant has left
  473. dezant has joined
  474. laylolamb has joined
  475. debacle has left
  476. Kev has left
  477. Kev has joined
  478. Kev has left
  479. Kev has joined
  480. Kev has left
  481. Kev has joined
  482. me9 has left
  483. goffi has left
  484. Matrix Traveler (bot) has left
  485. homebeach has left
  486. Server Stats Discoverer (traveler bot) has left
  487. Matrix Traveler (bot) has joined
  488. homebeach has joined
  489. Server Stats Discoverer (traveler bot) has joined
  490. hiran has left
  491. dezant has left
  492. malthe has left
  493. marmistrz has left
  494. emus has left
  495. marmistrz has joined
  496. marc0s has left
  497. marc0s has joined
  498. Alex has left
  499. wurstsalat has left
  500. Matrix Traveler (bot) has left
  501. homebeach has left
  502. Server Stats Discoverer (traveler bot) has left
  503. Matrix Traveler (bot) has joined
  504. homebeach has joined
  505. Server Stats Discoverer (traveler bot) has joined
  506. marc0s has left
  507. marc0s has joined
  508. Kev has left
  509. Kev has joined
  510. Duncan Hart has joined
  511. Duncan Hart has left
  512. marmistrz has left
  513. laylolamb has left
  514. sonny has left
  515. sonny has joined
  516. laylolamb has joined
  517. scorch has joined
  518. marmistrz has joined
  519. laylolamb has left
  520. euandreh has left
  521. euandreh has joined
  522. laylolamb has joined
  523. marmistrz has left
  524. sonny has left
  525. sonny has joined
  526. mac has left
  527. sonny has left
  528. sonny has joined
  529. Pete has left
  530. scorch has left