jdev - 2022-03-13

  1. TheCoffeMaker has left

  2. TheCoffeMaker has joined

  3. emus has left

  4. emus has joined

  5. marc0s has left

  6. marc0s has joined

  7. FireFly has left

  8. paul has left

  9. TheCoffeMaker has left

  10. TheCoffeMaker has joined

  11. Alex has left

  12. TheCoffeMaker has left

  13. wurstsalat has left

  14. oxtyped has joined

  15. Laura has left

  16. oxtyped has left

  17. TheCoffeMaker has joined

  18. TheCoffeMaker has left

  19. debacle has left

  20. larma has left

  21. oxtyped has joined

  22. oxtyped has left

  23. TheCoffeMaker has joined

  24. xnamed has left

  25. TheCoffeMaker has left

  26. TheCoffeMaker has joined

  27. kikuchiyo has joined

  28. larma has joined

  29. Kev has left

  30. Kev has joined

  31. oxtyped has joined

  32. oxtyped has left

  33. emus has left

  34. marc0s has left

  35. marc0s has joined

  36. atomicwatch has left

  37. dezant has left

  38. atomicwatch has joined

  39. marc0s has left

  40. marc0s has joined

  41. larma has left

  42. dezant has joined

  43. oxtyped has joined

  44. Yagizа has joined

  45. FireFly has joined

  46. marc0s has left

  47. marc0s has joined

  48. oxtyped has left

  49. oxtyped has joined

  50. oxtyped has left

  51. oxtyped has joined

  52. marc0s has left

  53. marc0s has joined

  54. oxtyped has left

  55. oxtyped has joined

  56. paul has joined

  57. oxtyped has left

  58. selurvedu has left

  59. selurvedu has joined

  60. mirux has joined

  61. nephele has joined

  62. nephele has left

  63. nephele has joined

  64. oxtyped has joined

  65. disgyze has left

  66. nephele has left

  67. spectrum has left

  68. spectrum has joined

  69. oxtyped has left

  70. COM8 has joined

  71. COM8 has left

  72. COM8 has joined

  73. COM8 has left

  74. nephele has joined

  75. nephele has left

  76. lovetox- has joined

  77. dezant has left

  78. raghavgururajan has left

  79. raghavgururajan has joined

  80. nephele has joined

  81. nephele has left

  82. nephele has joined

  83. Alex has joined

  84. lovetox- has left

  85. lovetox- has joined

  86. nephele has left

  87. wurstsalat has joined

  88. msavoritias has joined

  89. jgart has left

  90. COM8 has joined

  91. COM8 has left

  92. lovetox- has left

  93. nephele has joined

  94. abdullah has left

  95. lovetox- has joined

  96. moparisthebest has left

  97. lovetox- has left

  98. lovetox- has joined

  99. lovetox- has left

  100. dezant has joined

  101. nephele has left

  102. nephele has joined

  103. nephele has left

  104. nephele has joined

  105. moparisthebest has joined

  106. nephele has left

  107. FireFly has left

  108. kfv has left

  109. kfv has joined

  110. nephele has joined

  111. nephele has left

  112. xnamed has joined

  113. Vaulor has left

  114. Link Mauve has left

  115. Vaulor has joined

  116. marmistrz has joined

  117. edhelas has left

  118. edhelas has joined

  119. edhelas

    Who is planning to implement 0461 ?

  120. Laura has joined

  121. dezant has left

  122. marmistrz has left

  123. Link Mauve has joined

  124. Link Mauve has left

  125. marmistrz has joined

  126. Link Mauve has joined

  127. dezant has joined

  128. debacle has joined

  129. atomicwatch has left

  130. atomicwatch has joined

  131. pep.

    edhelas: there's already https://fosstodon.org/@polynomdivision/107921082993522502 apparently

  132. nephele has joined

  133. antranigv has left

  134. nephele has left

  135. nephele has joined

  136. nephele has left

  137. nephele has joined

  138. PapaTutuWawa has joined

  139. nephele has left

  140. FireFly has joined

  141. lovetox

    moparisthebest, what is now the prefered solution for websocket?

  142. lovetox

    should i remove it completely?

  143. lovetox

    is there a use case for desktop clients?

  144. lovetox

    i originally replaced bosh with it

  145. lovetox

    but i ask myself now if there is a situation where you would want to use websocket instead of tcp on a desktop

  146. Link Mauve

    lovetox, when you have a really bad firewall on your network usually.

  147. Link Mauve

    Or when the server only has that configured.

  148. debacle has left

  149. lovetox

    the firewall thing is stated often, but im not particular inclined to provide a software for people that circumvent their work enviroments

  150. Link Mauve

    lovetox, the preferred solution for discovering WebSocket (and BOSH) endpoints is to follow the HTTP workflow of XEP-0156.

  151. debacle has joined

  152. Link Mauve

    It’s not just work, it’s also airports, schools, universities, some cafés.

  153. Yagizа has left

  154. emus has joined

  155. Yagizа has joined

  156. Yagizа has left

  157. lovetox

    Link Mauve, why you disabled websocket on jabber.fr?

  158. Yagizа has joined

  159. sonny has left

  160. Link Mauve

    Oh did we?

  161. Link Mauve

    IIRC there was an issue with some version of Converse, which started preferring it to BOSH, and I didn’t have time to investigate.

  162. FireFly has left

  163. Link Mauve

    At the time, BOSH was generally better than WebSocket, now that XEP-0198 can be done over WebSocket it’s probably the opposite..

  164. Link Mauve

    At the time, BOSH was generally better than WebSocket, now that XEP-0198 can be done over WebSocket it’s probably the opposite.

  165. Link Mauve

    Do you do 0198 in that case?

  166. Link Mauve

    It would be better if this /.well-known/host-meta had a way to tell clients about preferences, but alas the web always has to reinvent SRV poorly…

  167. FireFly has joined

  168. Link Mauve

    Converse doesn’t seem to notice websocket being blocked by CSP.

  169. debacle has left

  170. lovetox


  171. lovetox

    i mean in your hostmeta file websocket is commented out

  172. lovetox

    meaning i have no way of testing my code :)

  173. debacle has joined

  174. Zash

    Content-Security-Policy, a browser thing

  175. lovetox

    yes i do 0198 over websocket

  176. lovetox

    is this useless?

  177. debacle has left

  178. lovetox

    because we always know if a message reached the server?

  179. Zash

    No, 198 is good

  180. Zash

    The thing is that BOSH has equivalent functionality built in, so WS needs 198 to be comparable

  181. antranigv has joined

  182. antranigv has left

  183. debacle has joined

  184. nephele has joined

  185. Link Mauve

    lovetox, it isn’t commented out any longer, but also still not working.

  186. debacle has left

  187. nephele has left

  188. lovetox

    k thanks, yeah its enough for me to retrieve the uri from somewhere

  189. inky has left

  190. Mjolnir Archon has left

  191. Maranda has left

  192. Mjolnir Archon has joined

  193. Maranda has joined

  194. nephele has joined

  195. debacle has joined

  196. Link Mauve

    Heh, module:list() | grep websocket → *crickets*

  197. al has joined

  198. Link Mauve

    But since we haven’t updated since the previous CVE, I won’t enable it today.

  199. Link Mauve

    lovetox, I will comment it out again in the host-meta, unless you want to continue debugging.

  200. Link Mauve

    I will uncomment it once we are ready to reboot the server for upgrades.

  201. lovetox

    hm would be cool if you could leave it until tomorrow

  202. lovetox

    im just finishing the code

  203. Link Mauve

    That prevents our web users from being able to connect at all. :/

  204. Link Mauve

    Couldn’t you pick any of the other correctly-configured servers here? https://compliance.conversations.im/test/xep0156/

  205. nephele has left

  206. marc has left

  207. marc has joined

  208. debacle has left

  209. al has left

  210. lovetox

    no, your users can wait till tomorrow

  211. lovetox

    :) of course then comment it out, i take another server

  212. goffi has left

  213. Laura has left

  214. Laura has joined

  215. sonny has joined

  216. mirux has left

  217. mirux has joined

  218. dezant has left

  219. larma has joined

  220. nephele has joined

  221. nephele has left

  222. nephele has joined

  223. nephele has left

  224. antranigv has joined

  225. abdullah has joined

  226. antranigv has left

  227. PapaTutuWawa has left

  228. abdullah has left

  229. kfv has left

  230. kfv has joined

  231. abdullah has joined

  232. antranigv has joined

  233. oxtyped has joined

  234. PapaTutuWawa has joined

  235. dezant has joined

  236. goffi has joined

  237. inky has joined

  238. moparisthebest

    lovetox: websocket is valuable, just needs looked up via host-meta, and I'd probably suggest standardizing on host-meta json, it's in the RFC

  239. moparisthebest

    In fact I'm going to propose an update to '156 saying that...

  240. mh has left

  241. mh has joined

  242. goffi has left

  243. larma has left

  244. oxtyped has left

  245. oxtyped has joined

  246. debacle has joined

  247. oxtyped has left

  248. Martin has left

  249. nephele has joined

  250. rafasaurus has left

  251. rafasaurus has joined

  252. Martin has joined

  253. pasdesushi has left

  254. stuart.j.mackintosh has left

  255. stuart.j.mackintosh has joined

  256. debacle has left

  257. nephele has left

  258. spectrum has left

  259. mirux has left

  260. debacle has joined

  261. mirux has joined

  262. spectrum has joined

  263. pasdesushi has joined

  264. xecks has left

  265. nephele has joined

  266. xecks has joined

  267. nephele has left

  268. oxtyped has joined

  269. oxtyped has left

  270. lovetox

    but thats to late

  271. lovetox

    now everyone implemented updated it and probably everybody uses whats in the xep the xml

  272. larma has joined

  273. lovetox

    just leave it at that

  274. lovetox

    as this are xmpp clients, all software deals with xml anyway

  275. lovetox

    i dont even know why there is a second solution here

  276. al has joined

  277. oxtyped has joined

  278. moparisthebest

    lovetox: because it's in the host-meta RFC

  279. lovetox


  280. moparisthebest

    And all XMPP clients should be doing posh anyway which is json only

  281. lovetox

    and its also in the XEp

  282. lovetox

    why do you need to standardize on json

  283. moparisthebest

    The json representation is in the host-meta RFC too I mean

  284. lovetox

    ok you mean thats why its in the XEP

  285. moparisthebest

    It makes sense to standardize on one instead of always grab both

  286. lovetox

    but it does not explain why you want to remove the xml represantation

  287. Link Mauve

    moparisthebest, no need to fetch both, as the XRD version is required to be present.

  288. lovetox

    moparisthebest, we dont need to grab both, because one is optional and the other not currently

  289. moparisthebest

    And fun fact: the example XML in the host-meta RFC is invalid according to the XRD spec, it doesn't validate

  290. lovetox

    if you change this now, THEN we definitly need to grab both

  291. moparisthebest

    You already have to grab both, I'd like to strongly recommend only grabbing the json

  292. lovetox


  293. lovetox

    json is optional

  294. moparisthebest

    Also the XRD spec website has a "always valid look to the latest xsd" that returns 404 lol

  295. moparisthebest

    Also the XRD spec website has a "always valid link to the latest xsd" that returns 404 lol

  296. oxtyped has left

  297. xecks has left

  298. pasdesushi has left

  299. xecks has joined

  300. mirux has left

  301. Yagizа has left

  302. al has left

  303. PapaTutuWawa has left

  304. PapaTutuWawa has joined

  305. pasdesushi has joined

  306. goffi has joined

  307. kfv has left

  308. kfv has joined

  309. al has joined

  310. mirux has joined

  311. kfv has left

  312. kfv has joined

  313. nephele has joined

  314. xecks has left

  315. oxtyped has joined

  316. nephele has left

  317. nephele has joined

  318. xecks has joined

  319. Vaulor has left

  320. xecks has left

  321. nephele has left

  322. nephele has joined

  323. Vaulor has joined

  324. xecks has joined

  325. nephele has left

  326. nephele has joined

  327. oxtyped has left

  328. dezant has left

  329. rafasaurus has left

  330. Laura has left

  331. Laura has joined

  332. nephele has left

  333. nephele has joined

  334. rafasaurus has joined

  335. nephele has left

  336. nephele has joined

  337. nephele has left

  338. nephele has joined

  339. kfv has left

  340. kfv has joined

  341. Yagizа has joined

  342. oxtyped has joined

  343. nephele has left

  344. nephele has joined

  345. PapaTutuWawa has left

  346. goffi has left

  347. nephele has left

  348. Laura has left

  349. rafasaurus has left

  350. rafasaurus has joined

  351. oxtyped has left

  352. nephele has joined

  353. goffi has joined

  354. nephele has left

  355. nephele has joined

  356. nephele has left

  357. nephele has joined

  358. kfv has left

  359. oxtyped has joined

  360. dezant has joined

  361. nephele has left

  362. nephele has joined

  363. me9 has joined

  364. oxtyped has left

  365. kfv has joined

  366. al has left

  367. kfv has left

  368. kfv has joined

  369. disgyze has joined

  370. disgyze has left

  371. disgyze has joined

  372. disgyze has left

  373. disgyze has joined

  374. disgyze has left

  375. disgyze has joined

  376. disgyze has left

  377. disgyze has joined

  378. disgyze has left

  379. disgyze has joined

  380. disgyze has left

  381. disgyze has joined

  382. disgyze has left

  383. disgyze has joined

  384. disgyze has left

  385. atomicwatch has left

  386. disgyze has joined

  387. Laura has joined

  388. atomicwatch has joined

  389. nephele has left

  390. emus has left

  391. nephele has joined

  392. nephele has left

  393. nephele has joined

  394. dezant has left

  395. kfv has left

  396. kfv has joined

  397. dezant has joined

  398. kfv has left

  399. kfv has joined

  400. nephele has left

  401. nephele has joined

  402. nephele has left

  403. nephele has joined

  404. debacle has left

  405. oxtyped has joined

  406. mister has left

  407. nephele has left

  408. nephele has joined

  409. nephele has left

  410. kfv has left

  411. oxtyped has left

  412. selurvedu has left

  413. nephele has joined

  414. oxtyped has joined

  415. kfv has joined

  416. oxtyped has left

  417. marmistrz has left

  418. debacle has joined

  419. nephele has left

  420. Yagizа has left

  421. emus has joined

  422. kfv has left

  423. dezant has left

  424. spectrum has left

  425. kfv has joined

  426. xnamed has left

  427. xnamed has joined

  428. kfv has left

  429. marc0s has left

  430. marc0s has joined

  431. kfv has joined

  432. kfv has left

  433. kfv has joined

  434. jgart has joined

  435. mirux has left

  436. me9 has left

  437. nephele has joined

  438. nephele has left

  439. nephele has joined

  440. oxtyped has joined

  441. spectrum has joined

  442. iink has joined

  443. jgart has left

  444. oxtyped has left

  445. iink has left

  446. nephele has left

  447. nephele has joined

  448. nephele has left

  449. iink has joined

  450. jgart has joined

  451. jgart has left

  452. jgart has joined

  453. iink has left

  454. Vaulor has left

  455. iink has joined

  456. msavoritias has left

  457. iink has left

  458. Vaulor has joined

  459. iink has joined

  460. iink has left

  461. iink has joined

  462. iink has left

  463. iink has joined

  464. Millesimus has left

  465. iink has left

  466. iink has joined

  467. iink has left

  468. iink has joined

  469. larma has left

  470. marmistrz has joined

  471. goffi has left

  472. oxtyped has joined

  473. Vaulor has left

  474. oxtyped has left

  475. Vaulor has joined

  476. J Marinaro has left

  477. marc0s has left

  478. J Marinaro has joined

  479. marc0s has joined

  480. oxtyped has joined

  481. oxtyped has left

  482. emus has left

  483. Alex has left

  484. dezant has joined

  485. iink has left

  486. iink has joined

  487. wurstsalat has left

  488. atomicwatch has left

  489. Laura has left

  490. marc0s has left

  491. marc0s has joined