XSF logo XSF Discussion - 2018-07-23


  1. rishiraj22 has left
  2. rishiraj22 has joined
  3. Dave Cridland has left
  4. Dave Cridland has joined
  5. kasper.dement has left
  6. Dave Cridland has left
  7. Dave Cridland has joined
  8. kasper.dement has joined
  9. Ge0rG has left
  10. Ge0rG has left
  11. kasper.dement has left
  12. matlag has left
  13. Chobbes has joined
  14. lorddavidiii has left
  15. 404.city has left
  16. lorddavidiii has left
  17. Zash has left
  18. kasper.dement has joined
  19. ta has joined
  20. kasper.dement has left
  21. ta has joined
  22. 404.city has left
  23. kasper.dement has joined
  24. 404.city has left
  25. kasper.dement has left
  26. kasper.dement has joined
  27. lskdjf has joined
  28. mrdoctorwho has left
  29. alacer has left
  30. alacer has joined
  31. kasper.dement has left
  32. Ge0rG has left
  33. rishiraj22 has left
  34. rishiraj22 has joined
  35. rishiraj22 has left
  36. rishiraj22 has joined
  37. ta has joined
  38. rishiraj22 has left
  39. rishiraj22 has joined
  40. matlag has left
  41. Yagiza has joined
  42. la|r|ma has joined
  43. kasper.dement has joined
  44. lskdjf has joined
  45. kasper.dement has left
  46. Ge0rG has left
  47. rishiraj22 has left
  48. rishiraj22 has joined
  49. Ge0rG has left
  50. kasper.dement has joined
  51. rishiraj22 has left
  52. rishiraj22 has joined
  53. alacer has left
  54. alacer has joined
  55. kasper.dement has left
  56. Ge0rG has left
  57. ThibG has left
  58. ThibG has joined
  59. Ge0rG has left
  60. rishiraj22 has left
  61. rishiraj22 has joined
  62. kasper.dement has joined
  63. SamWhited has left
  64. jere has joined
  65. Dave Cridland has left
  66. Dave Cridland has joined
  67. Dave Cridland has left
  68. Dave Cridland has joined
  69. kasper.dement has left
  70. Ge0rG has left
  71. SamWhited has left
  72. SamWhited has joined
  73. ta has joined
  74. Ge0rG has left
  75. kasper.dement has joined
  76. rion has joined
  77. kasper.dement has left
  78. Ge0rG has left
  79. moparisthebest has left
  80. rishiraj22 has left
  81. rishiraj22 has joined
  82. moparisthebest has joined
  83. Ge0rG has left
  84. Valerian has joined
  85. alacer has left
  86. alacer has joined
  87. kasper.dement has joined
  88. rishiraj22 has left
  89. rishiraj22 has joined
  90. Ge0rG has left
  91. kasper.dement has left
  92. daniel has left
  93. daniel has joined
  94. tux has left
  95. tux has joined
  96. flow has left
  97. kasper.dement has joined
  98. marmistrz has joined
  99. Ge0rG has left
  100. kasper.dement has left
  101. marmistrz has joined
  102. kasper.dement has joined
  103. Guus has joined
  104. Guus has left
  105. alacer has left
  106. alacer has joined
  107. kasper.dement has left
  108. Ge0rG has left
  109. Valerian has left
  110. Valerian has joined
  111. anjan has left
  112. Andrew Nenakhov has left
  113. Andrew Nenakhov has joined
  114. Andrew Nenakhov has left
  115. Andrew Nenakhov has joined
  116. kasper.dement has joined
  117. andy has joined
  118. Ge0rG has left
  119. kasper.dement has left
  120. lnj has joined
  121. goffi has joined
  122. Ge0rG has left
  123. waqas has left
  124. labdsf has left
  125. waqas has joined
  126. Ge0rG has left
  127. Valerian has left
  128. Valerian has joined
  129. alacer has left
  130. alacer has joined
  131. kasper.dement has joined
  132. j.r has joined
  133. waqas has left
  134. xnyhps has left
  135. xnyhps has joined
  136. j.r has joined
  137. j.r has joined
  138. Andrew Nenakhov has left
  139. Andrew Nenakhov has joined
  140. Ge0rG has left
  141. kasper.dement has left
  142. Valerian has left
  143. kasper.dement has joined
  144. mikaela has joined
  145. Andrew Nenakhov has left
  146. Andrew Nenakhov has joined
  147. Ge0rG has left
  148. Steve Kille has left
  149. kasper.dement has left
  150. Valerian has joined
  151. rion has left
  152. jubalh has joined
  153. Steve Kille has joined
  154. ThibG has left
  155. ThibG has joined
  156. kasper.dement has joined
  157. Ge0rG has left
  158. mikaela has left
  159. mikaela has left
  160. mikaela has joined
  161. Tobias has joined
  162. kasper.dement has left
  163. kasper.dement has joined
  164. blabla has left
  165. blabla has joined
  166. Andrew Nenakhov has left
  167. Andrew Nenakhov has joined
  168. Ge0rG Link Mauve: sorry for blaming you yesterday. You were not at fault. It was an obscure bug in smack3's handling of unknown stanzas.
  169. Valerian has left
  170. Valerian has joined
  171. Valerian has left
  172. Valerian has joined
  173. kasper.dement has joined
  174. pep. has left
  175. Dave Cridland has left
  176. Dave Cridland has joined
  177. Dave Cridland has left
  178. Dave Cridland has joined
  179. Dave Cridland has left
  180. Dave Cridland has joined
  181. Ge0rG has left
  182. rishiraj22 has left
  183. Alex has joined
  184. kasper.dement has joined
  185. Tobias has joined
  186. j.r has joined
  187. Link Mauve Ge0rG, no problem. ^^
  188. Link Mauve I was surprised because I wrote these modules very defensively.
  189. Ge0rG Who could have expected that `parseIQ()` returns the parsed IQ for most cases, except for a GET or SET with unknown payload, where it just injects a not-implemented response and returns null.
  190. Guus has joined
  191. Guus has left
  192. jonasw s/smacks3/smacks4/?
  193. Ge0rG no idea how smack4 does it
  194. kasper.dement has joined
  195. Guus has joined
  196. Guus has left
  197. marmistrz has joined
  198. labdsf has joined
  199. Guus has joined
  200. Guus has left
  201. Ge0rG has left
  202. Andrew Nenakhov has left
  203. Andrew Nenakhov has joined
  204. Dave Cridland has left
  205. Dave Cridland has joined
  206. Kev has joined
  207. Ge0rG has left
  208. lumi has joined
  209. marmistrz has joined
  210. kasper.dement has joined
  211. marmistrz has joined
  212. valo has joined
  213. lnj has left
  214. lnj has joined
  215. Ge0rG has left
  216. Valerian has left
  217. lorddavidiii has left
  218. Valerian has joined
  219. valo has joined
  220. Valerian has left
  221. Valerian has joined
  222. rishiraj22 has left
  223. rishiraj22 has left
  224. rishiraj22 has left
  225. rishiraj22 has joined
  226. Valerian has left
  227. Valerian has joined
  228. Neustradamus has left
  229. kasper.dement has joined
  230. kasper.dement has joined
  231. Andrew Nenakhov has left
  232. Andrew Nenakhov has joined
  233. Ge0rG has left
  234. j.r has joined
  235. kasper.dement has left
  236. xnyhps has joined
  237. intosi has joined
  238. xnyhps has joined
  239. j.r has joined
  240. Zash has left
  241. Ge0rG has left
  242. Guus has joined
  243. dos has joined
  244. Ge0rG has left
  245. dos has left
  246. Zash has left
  247. dos has joined
  248. Ge0rG has left
  249. MattJ has left
  250. daniel has left
  251. Ge0rG has left
  252. la|r|ma has joined
  253. Guus has left
  254. blabla has joined
  255. rishiraj22 has left
  256. alacer has left
  257. Guus has joined
  258. alacer has joined
  259. Ge0rG has left
  260. Guus has left
  261. jonasw has left
  262. jere has joined
  263. blabla has joined
  264. Valerian has left
  265. Valerian has joined
  266. Valerian has left
  267. Andrew Nenakhov has left
  268. Andrew Nenakhov has joined
  269. Andrew Nenakhov has left
  270. Andrew Nenakhov has joined
  271. Ge0rG has left
  272. Andrew Nenakhov has left
  273. Andrew Nenakhov has joined
  274. Valerian has joined
  275. 404.city has joined
  276. Zash has left
  277. flow has joined
  278. 404.city has left
  279. 404.city has joined
  280. Valerian has left
  281. blabla has joined
  282. Valerian has joined
  283. Ge0rG has left
  284. Valerian has left
  285. la|r|ma has left
  286. marmistrz has joined
  287. lskdjf has joined
  288. Alex has left
  289. flow Smack 3 has no support for stream management, I assume we are talking about a patch someone put on top of a Smack 3 codebase
  290. Ge0rG flow: yes, a patch that's using Connection.addPacketListener() to keep track of stanzas.
  291. Zash has left
  292. Ge0rG has left
  293. Guus has joined
  294. Guus has left
  295. rishiraj22 has left
  296. rishiraj22 has left
  297. rishiraj22 has left
  298. la|r|ma has joined
  299. Valerian has joined
  300. Alex has joined
  301. rishiraj22 has left
  302. 404.city has left
  303. Ge0rG has left
  304. alacer has left
  305. flow Ge0rG, let me know if you ever want to switch to a recent release of smack and need help
  306. alacer has joined
  307. 404.city has joined
  308. jonasw I think both of that is the case :)
  309. Valerian has left
  310. 404.city has left
  311. Ge0rG flow: I'm grateful that you took the time to integrate smack4 back then, and I'm sorry that it happened on an oldish branch and I never managed to forward-port it.
  312. Ge0rG flow: I really want to switch to most recent smack4, and I don't have illusions about the required effort.
  313. daniel has left
  314. daniel has joined
  315. blabla has joined
  316. Kev has left
  317. Kev has joined
  318. Valerian has joined
  319. Valerian has left
  320. Zash has left
  321. Chobbes has joined
  322. Ge0rG has left
  323. 404.city has joined
  324. Dave Cridland has left
  325. Dave Cridland has left
  326. blabla has joined
  327. Dave Cridland has left
  328. Dave Cridland has left
  329. Guus has joined
  330. Guus has left
  331. Dave Cridland has left
  332. j.r has joined
  333. matlag has left
  334. Ge0rG has left
  335. matlag has joined
  336. j.r has joined
  337. Guus has joined
  338. Guus o/
  339. jonasw Guus ^_^
  340. MattJ \o
  341. Guus I'd like to do some interop testing
  342. marmistrz has joined
  343. jonasw can offer a client
  344. Guus does someone has a server available that does S2S over DirectTLS?
  345. jonasw can’t offer that
  346. Guus is sad
  347. jonasw metre might be able to do such a thing
  348. Holger Guus: conversations.im
  349. jonasw .oO(S2S over DirectX)
  350. jonasw .oO(S2S over DirectPlay)
  351. Guus snap out of it! 😃
  352. Guus thanks Holger
  353. Ge0rG has left
  354. Ge0rG Guus: I have mod_net_multiplex loaded on xmpp.yaxim.org:443, but IIRC not in the SRV records.
  355. Guus Thanks Ge0rG. I was just checking for SRV records on conversations.im 🙂
  356. Holger Ge0rG: That way you can do TLS-on-connect for s2s connections?
  357. Ge0rG Holger: I hope so
  358. jonasw itym you wish
  359. Ge0rG Somebody could attempt an s2s handshake there.
  360. MattJ I don't see why it wouldn't work
  361. jonasw if I only knew the xmlstream namespace by heart
  362. Holger MattJ: Well it won't teach Prosody to do XMPPS for outgoing connections, will it?
  363. MattJ No, not for outgoing
  364. Holger MattJ: For incoming connections, EXTERNAL auth and/or Dialback will be fine?
  365. MattJ Yes?
  366. Holger Nice :-)
  367. jonasw Ge0rG, appears to work
  368. jonasw SENT: <stream:stream xmlns='jabber:server' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' to='yax.im'> RECV: <?xml version='1.0'?><stream:stream xmlns:db='jabber:server:dialback' xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' from='yax.im' id='b63d1089-0aa0-4bd4-b5b4-4deb3efe83e2' to='' version='1.0' xmlns='jabber:server'><stream:features><dialback xmlns='urn:xmpp:features:dialback'/></stream:features> SENT: <stream:error><undefined-condition xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>no</text></stream:error> RECV: </stream:stream>
  369. jonasw even without xml header :-X
  370. MattJ The XML header isn't mandatory
  371. Dave Cridland Guus, dave.cridland.net should have XEP-0368 on inbound and outbound, and use the right SRV records.
  372. Guus Dave, excellent, as you might be the one reviewing this new Openfire code 🙂
  373. Dave Cridland Guus, If you want to set up your own test, then it's just Metre, and I can help you figure out a config file to let you ping Metre on its own.
  374. Guus Thanks, maybe later Dave. Right now, I'd like to see if I can test this without adding another new component to the mix
  375. Guus also, crappy camping wifi /me raises fist
  376. Guus Dave, we miss you in open_chat, by the way
  377. j.r has joined
  378. MattJ Pft, I just got back from a camping trip with no wifi and no phone signal
  379. Guus "In my day, we rocket-jumped to school and back!"
  380. Guus well, failure on both ends 😞
  381. Guus but I'm still using a self-signed cert, that probably doesn't help
  382. Guus does the Let'sEncrypt dance
  383. 404.city has left
  384. alacer has left
  385. la|r|ma has joined
  386. Dave Cridland has left
  387. mikaela has joined
  388. mimi89999 has left
  389. Neustradamus has joined
  390. mikaela has joined
  391. labdsf has left
  392. dos has left
  393. Zash has joined
  394. j.r has joined
  395. labdsf has joined
  396. Dave Cridland has left
  397. j.r has joined
  398. mimi89999 has left
  399. Chobbes has joined
  400. marmistrz has joined
  401. blabla has joined
  402. Guus right, using a proper certificate made all the difference. I think that directTLS from Openfire to dave.cridland.net and conversations.im is now working.
  403. Guus If someone would be willing to shoot some (direct TLS) s2s tests at goodbytes.nl, I'd be grateful.
  404. Dave Cridland Guus, It looks like movim.eu is also using XEP-0368 - unless I can't read my own logs.
  405. Guus No SRV record found for: _xmpps-server._tcp.movim.eu.
  406. Dave Cridland Guus, Yeah, but it seems to use it to me. Maybe.
  407. Guus that's entirely possible
  408. j.r has joined
  409. Guus for the record, I've disabled the lookup of _xmpp-server on goodbytes.nl, to force _xmpps-server lookups for the purpose of this test.
  410. Dave Cridland Guus, I found one tricky bit was to combine the two SRV lookups into a single one for the purposes of the SRV selection algorithm neatly.
  411. intosi Guus: why is it offering starttls when you connect on port 5270?
  412. alacer has joined
  413. Guus Dave, why not do two SRV lookups and combine the results manually?
  414. Guus intosi: because the code is a mess and I didn't add a proper condition there, most likely.
  415. intosi Fair enough.
  416. Guus Openfire's S2S code is using the pre-Java NIO blocking way of doing things. We've ment to replace it ages ago, but it continues to survive. Now this is bolted on
  417. Guus it's not pretty...
  418. intosi Old code doing things that aren't pretty, a fate not unique to your code ;)
  419. Guus I think I fixed it. I'll redeploy
  420. marc has joined
  421. intosi Grand :)
  422. Guus intosi, mind trying again?
  423. Dave Cridland has left
  424. Guus linkmauve, Openfire thinks it's funny that your cert chain contains multiple certs with identical IssuerDN's
  425. intosi Looks good to me, thanks!
  426. Link Mauve Guus, check.messaging.one too.
  427. Guus thanks guys
  428. Guus Link Mauve, I _think_ that the reason for Openfire to complain about this is that it tries to recreate the chain (matching subject and issuer of individual chains). That works around a problem where chains were provided out of order, iirc.
  429. Guus it now picked the last cert in the chain, as that's typically the EE cert.
  430. blabla has joined
  431. ta has joined
  432. Dave Cridland has left
  433. Link Mauve Oh, my renew script uses cat twice; why?!
  434. Ge0rG two cats are better than one
  435. Chobbes has joined
  436. Guus two cats is obviou...whathesaid
  437. marc has left
  438. 404.city has joined
  439. Link Mauve Guus, better now?
  440. SamWhited has left
  441. SamWhited has joined
  442. Guus Link Mauve, yes it stopped warning me.
  443. Guus I think we did StartTLS and not DirectTLS, by the way
  444. Guus _xmpps-server._tcp.linkmauve.fr does not seem to exist.
  445. Link Mauve Yes, indeed.
  446. Link Mauve I don’t do legacy TLS on this server.
  447. Guus ok, but that's what I was testing in the first place 🙂
  448. Ge0rG "legacy TLS"? What's that now?
  449. Guus Yeah, Openfire sadly refers to direct tls as 'legacy' in various places too 😞
  450. Guus I think we even have an issue for that, to change that into 'direct'.
  451. Ge0rG because it was used on port 5223 for clients before starttls became a thing
  452. Guus stems from the introduction of StartTLS that was considered the new holy grale, replacing everything else...
  453. Ge0rG Yeah. We were naive back then.
  454. Holger Guus: > using a proper certificate made all the difference. I think that directTLS from Openfire to dave.cridland.net and conversations.im is now working. conversations.im should also accept Dialback auth, by the way.
  455. MattJ And we're not now
  456. blabla has joined
  457. Holger 🙂
  458. blabla has joined
  459. Guus Holger: I was forcing direct TLS
  460. Holger Guus: Shouldn't Dialback auth work with direct TLS?
  461. Guus Holger, yes, but with direct TLS, you didn't like my self-signed cert, I think. Didn't even get to start dialback
  462. Holger Hmm, maybe something wrong on our side. I'll check.
  463. Guus if somethings wrong, it's probably on this side 🙂
  464. Holger But I remember at least one versions of Openfire and ejabberd not being big friends when it came to Dialback auth in the past.
  465. Holger Forgot the details, and whether the issue was resolved at some point.
  466. Guus Holger, that's probably many moons ago.
  467. Holger *at least old versions
  468. Holger Guus: Yeah may well have been fixed long ago.
  469. jubalh has left
  470. Guus Holger: if you do find new issues, please let me know
  471. Holger Will do.
  472. lnj has left
  473. lnj has joined
  474. kasper.dement has joined
  475. lskdjf has left
  476. lskdjf has left
  477. waqas has joined
  478. Holger Dave Cridland: > but it seems to use it to me. Yes all recent ejabberds will attempt direct TLS if DNS tells them to do that.
  479. andy has left
  480. kasper.dement has joined
  481. j.r has joined
  482. alacer has left
  483. jjrh has left
  484. alacer has joined
  485. Andrew Nenakhov has left
  486. efrit has joined
  487. Dave Cridland has left
  488. Andrew Nenakhov has joined
  489. rishiraj22 has left
  490. Andrew Nenakhov has joined
  491. lskdjf has joined
  492. j.r has joined
  493. lskdjf has left
  494. j.r has joined
  495. Guus Holger: do you prefer that over StartTLS, or do you adhere to prio / weight of SRV records?
  496. Holger We adhere to the prio/weight, I think the XEP tells you to.
  497. Holger > Both 'xmpp-' and 'xmpps-' records SHOULD be treated as the same record with regard to connection order as specified by RFC 2782 [3], in that all priorities and weights are mixed.
  498. Holger > This enables the server operator to decide if they would rather clients connect with STARTTLS or direct TLS. However, clients MAY choose to prefer one type of connection over the other.
  499. Holger But you're not a client! ;-)
  500. Guus exactly.
  501. Guus 'peer' 🙂
  502. Guus just wondering. So it's a coincidence that you did directtls with dave
  503. Guus assuming he has both SRV records, I didn't check.
  504. Holger Ah he has both, but both with the same prio/weight.
  505. Holger Just checked, in that case (same prio/weight) we prefer direct TLS indeed.
  506. Zash has left
  507. jjrh has left
  508. Kev has left
  509. Guus why? shouldn't you do 50/50?
  510. Kev has joined
  511. labdsf has left
  512. lskdjf has left
  513. daniel Faster
  514. labdsf has joined
  515. daniel It's arguably better and if the admin didn't set a preference (which I would respect) I'd prefer direct
  516. Guus sure, but still - if the SRV records are set up with the same prio/weight, shouldn't the connection attempts be distributed evenly?
  517. daniel According to the xep which says combine the two the answer is yes
  518. daniel But I don't agree
  519. lskdjf has left
  520. SamWhited (I am also still against that wording and think it makes no sense to combine the two)
  521. jubalh has joined
  522. daniel I mean honering the prio makes sense
  523. daniel But honering the weight doesn't
  524. Guus I'm not sure it'd be a good idea to deviate from standard SRV semantics, if we use them.
  525. daniel Weight is load management. And why would you manage load between direct and start
  526. Guus sure, but then instruct/suggest to admins to use different prio's
  527. rishiraj22 has left
  528. lskdjf has left
  529. rishiraj22 has left
  530. lskdjf has left
  531. Guus (or: don't combine the two, sure)
  532. labdsf has left
  533. labdsf has joined
  534. j.r has left
  535. j.r has joined
  536. jonasw has left
  537. Kev has left
  538. Kev has joined
  539. marc has joined
  540. j.r has joined
  541. mikaela has joined
  542. mikaela has joined
  543. rishiraj22 has left
  544. Holger Guus: Yes, strictly speaking you're right of course.
  545. jjrh has left
  546. Guus Holger, I don't think I am. They're different SRV records. It's only because the XEP tells us to combine them, ...
  547. Guus (records for different services, I mean)
  548. jonasw Guus, there is no such thing as "standard SRV semantics" when mixing two types of SRV records
  549. jonasw that’s an invention of XEP-0368
  550. Guus jonasw, that's pretty much what I just typed 🙂
  551. Holger Yes I mean you're right that it goes against the XEP words to prefer one type.
  552. Guus or intended to, at least
  553. jonasw what
  554. jonasw I am not sure whether my client has shown your messages before it has shown mine
  555. jonasw *shrug*
  556. peter has joined
  557. Holger jonasw: The XEP tells you to mix the records as if both were of the same type, and to then apply standard SRV semantics.
  558. Guus jonasw: just nod and agree with me that I was wrong 🙂
  559. jonasw I’ll just walk away and water the plants instead! ha!
  560. Guus jonasw, how often did we ask you to not water the plastic plants?!
  561. j.r has joined
  562. jonasw has left
  563. lovetox has joined
  564. jonasw Guus, those ain’t plastic!
  565. jonasw https://uc.xmpp.zombofant.net/1af3e64c-98e4-4f39-b92b-df826fe9a97a/IMG_20180723_170548.jpg
  566. jjrh has left
  567. Andrew Nenakhov has left
  568. Andrew Nenakhov has joined
  569. jonasw has left
  570. daniel 2 megabytes? I hope those will be some nice plants
  571. blabla has joined
  572. Andrew Nenakhov has joined
  573. daniel Once I've finished downloading that in like half an hour
  574. jonasw daniel, https://uc.xmpp.zombofant.net/b607154c-4bec-495e-a513-3a3521a2b192/foo.jpg is that helpful? :)
  575. jonasw if we had SIMS deployment, I could’ve uploaded multiple versions (or have my server rewrite that)
  576. Dave Cridland Holger, If the prio/weight is the same, what does it mean to "prefer" one? You bias the weight, or are you using weight like priority?
  577. lnj has left
  578. Andrew Nenakhov has left
  579. blabla has joined
  580. Andrew Nenakhov has joined
  581. Holger Dave Cridland: No I meant if there's an _xmpp-server. and an _xmpps-server. record and both have the same prio and the same weight (like you have for your server), we'll prefer the _xmpps-server. record. While the XEP tells us not to do this but to choose one at random instead.
  582. Andrew Nenakhov has left
  583. Andrew Nenakhov has joined
  584. Dave Cridland So what do you do if the _xmpp-server has weight 4, and the xmpps_server has weight 5?
  585. Dave Cridland Do you not choose one at random then?
  586. Holger Then we do :-)
  587. jubalh has left
  588. jonasw hm
  589. jonasw that’s a very weird corner case you’re constructing there
  590. Dave Cridland Holger, What, so you're literally special-casing equal-wieght?
  591. Holger Oh! Ignore me.
  592. jonasw I would’ve understood if you preferred direct TLS on equal prio, but ... special casing equal weight is weird
  593. Holger Well don't ignore me :-)
  594. Dave Cridland (FWIW, I could totaqlly go along with that when all weights are zero)
  595. Holger Dave Cridland: Yes exactly. _xmpps-server is only preferred if the weithts are zero.
  596. Andrew Nenakhov has joined
  597. Holger Sorry.
  598. Andrew Nenakhov has left
  599. Andrew Nenakhov has joined
  600. Dave Cridland Holger, Ah! OK, that makes sense - you're faced with something illegal so you take a policy view.
  601. jonasw refresh my memory, why is it illegal?
  602. Andrew Nenakhov has joined
  603. Andrew Nenakhov has left
  604. Andrew Nenakhov has joined
  605. 404.city has left
  606. Dave Cridland jonasw, Because you're meant to randomly select a specific record ( weight / [total weights] ) of the time.
  607. jonasw yes
  608. Dave Cridland jonasw, If all weights are zero, then you're picking each record 0/0 of the time.
  609. Andrew Nenakhov has joined
  610. Dave Cridland jonasw, However, a weight *can* (and should, maybe) be zero if it is the only one - and that might occur by accident if there's only one *each* of _xmpp-server and _xmpps-server.
  611. Andrew Nenakhov has left
  612. jonasw hm
  613. Andrew Nenakhov has joined
  614. jonasw the text in RFC 2782 (DNS-SRV) actually tells you how to deal with (even multiple) records of weight zero, even in presence of records which have non-zero weight
  615. Andrew Nenakhov has left
  616. Holger > So it's a coincidence that you did directtls with dave So turns out the answer is "yes", after all.
  617. Andrew Nenakhov has joined
  618. Dave Cridland jonasw, Yes, indeed. So "illegal" is an incorrect assertion. But still, Holger's "if everything is weight zero, do TLS" is fine.
  619. jonasw but DNS-SRV allows for "additional weighting information"
  620. jonasw in which case everything said there about how weights are used is irrelevant it seems
  621. j.r has joined
  622. mimi89999 has joined
  623. Dave Cridland Well. XEP-0368 says (I paraphrase) combine all the SRVs and then do RFC 2782.
  624. rishiraj22 has left
  625. Guus Dave, I've got that XEP-0368 PR up for you to review, btw 🙂
  626. Guus still trying to lure you back in...
  627. Dave Cridland Guus, Yeah, I might even get to that.
  628. lorddavidiii has left
  629. Dave Cridland Guus, Doing it now in fact.
  630. Guus \o/
  631. Guus (maybe have tissues ready for the occasional wiping of tears)
  632. jere has joined
  633. blabla has left
  634. Andrew Nenakhov has left
  635. rishiraj22 has left
  636. Andrew Nenakhov has joined
  637. blabla has joined
  638. Andrew Nenakhov has left
  639. Andrew Nenakhov has joined
  640. anjan has joined
  641. lorddavidiii has left
  642. SamWhited has left
  643. Alex has left
  644. Alex has joined
  645. jubalh has joined
  646. rishiraj22 has left
  647. rishiraj22 has joined
  648. rishiraj22 has left
  649. rishiraj22 has joined
  650. SamWhited has left
  651. Valerian has joined
  652. blabla has joined
  653. jubalh has joined
  654. alacer has left
  655. marc has left
  656. ta has joined
  657. marmistrz has joined
  658. marmistrz has joined
  659. jjrh has left
  660. rishiraj22 has left
  661. rishiraj22 has joined
  662. anjan has left
  663. Zash has left
  664. jere has left
  665. jjrh has left
  666. rishiraj22 has left
  667. rishiraj22 has joined
  668. jere has joined
  669. lnj has joined
  670. edhelas has left
  671. Zash has left
  672. anjan has joined
  673. tux has left
  674. Andrew Nenakhov has left
  675. Andrew Nenakhov has joined
  676. Andrew Nenakhov has left
  677. Andrew Nenakhov has joined
  678. Andrew Nenakhov has left
  679. Andrew Nenakhov has joined
  680. Steve Kille has left
  681. Andrew Nenakhov has left
  682. Andrew Nenakhov has joined
  683. Steve Kille has left
  684. Steve Kille has joined
  685. Kev has left
  686. valo has joined
  687. alacer has joined
  688. intosi has left
  689. marc has joined
  690. Valerian has left
  691. Dave Cridland has left
  692. 404.city has joined
  693. blabla has joined
  694. jubalh has joined
  695. anjan has joined
  696. anjan has joined
  697. lskdjf has left
  698. anjan has left
  699. marmistrz has joined
  700. Guus has left
  701. vanitasvitae has left
  702. anjan has joined
  703. Guus has left
  704. anjan has joined
  705. anjan has joined
  706. Guus has joined
  707. Dave Cridland has left
  708. Alex has left
  709. ta has left
  710. Dave Cridland has left
  711. Dave Cridland has left
  712. edhelas has left
  713. Dave Cridland has left
  714. Dave Cridland has left
  715. Dave Cridland has left
  716. Dave Cridland has left
  717. jubalh has joined
  718. SamWhited has left
  719. edhelas has left
  720. Dave Cridland has left
  721. Dave Cridland has left
  722. lovetox has left
  723. Syndace has left
  724. Syndace has joined
  725. lovetox has joined
  726. anjan has joined
  727. labdsf has left
  728. Andrew Nenakhov has left
  729. Andrew Nenakhov has joined
  730. Andrew Nenakhov has left
  731. Andrew Nenakhov has joined
  732. labdsf has joined
  733. Dave Cridland has left
  734. peter has left
  735. Dave Cridland has left
  736. 404.city has left
  737. 404.city has joined
  738. Andrew Nenakhov has left
  739. Andrew Nenakhov has joined
  740. rishiraj22 has left
  741. Andrew Nenakhov has left
  742. Andrew Nenakhov has joined
  743. Andrew Nenakhov has left
  744. Andrew Nenakhov has joined
  745. Andrew Nenakhov has left
  746. Andrew Nenakhov has joined
  747. labdsf has left
  748. labdsf has joined
  749. labdsf has left
  750. labdsf has joined
  751. Guus has left
  752. Andrew Nenakhov has left
  753. Andrew Nenakhov has joined
  754. Dave Cridland has left
  755. Andrew Nenakhov has left
  756. Andrew Nenakhov has joined
  757. Dave Cridland has left
  758. rishiraj22 has left
  759. labdsf has left
  760. labdsf has joined
  761. Andrew Nenakhov has left
  762. Andrew Nenakhov has joined
  763. labdsf has left
  764. jubalh has joined
  765. lnj has left
  766. Valerian has joined
  767. Valerian has left
  768. Valerian has joined
  769. alacer has left
  770. alacer has left
  771. peter has joined
  772. 404.city has left
  773. Valerian has left
  774. jonasw has joined
  775. jonasw has joined
  776. lskdjf has joined
  777. jonasw has left
  778. Dave Cridland has left
  779. ThibG has joined
  780. jonasw has left
  781. Yagiza has left
  782. lovetox has left
  783. lovetox has joined
  784. jubalh has joined
  785. labdsf has joined
  786. Nekit has joined
  787. lnj has joined
  788. jonasw has left
  789. anjan has joined
  790. jonasw has left
  791. ThibG has joined
  792. jubalh has joined
  793. jonasw has joined
  794. marmistrz has joined
  795. ThibG has left
  796. ThibG has joined
  797. lskdjf has left
  798. lskdjf has left
  799. lskdjf has left
  800. lskdjf has joined
  801. lskdjf has left
  802. lskdjf has joined
  803. lskdjf has left
  804. dos has joined
  805. lskdjf has left
  806. lskdjf has left
  807. lskdjf has left
  808. lskdjf has left
  809. Holger has left
  810. labdsf has left
  811. labdsf has joined
  812. jubalh has left
  813. jubalh has joined
  814. Holger has left
  815. dos has left
  816. jubalh has left
  817. alacer has left
  818. lskdjf has joined
  819. lskdjf has left
  820. lskdjf has left
  821. peter has left
  822. lskdjf has joined
  823. jubalh has joined
  824. lskdjf has left
  825. lskdjf has left
  826. lskdjf has joined
  827. alacer has joined
  828. alacer has left
  829. peter has joined
  830. lskdjf has left
  831. goffi has left
  832. 404.city has joined
  833. lskdjf has joined
  834. lskdjf has left
  835. 404.city has left
  836. lskdjf has left
  837. tux has left
  838. lskdjf has left
  839. tux has left
  840. Nekit has joined
  841. lskdjf has left
  842. lskdjf has joined
  843. lskdjf has left
  844. tux has left
  845. lskdjf has left
  846. jubalh has left
  847. jubalh has joined
  848. lskdjf has joined
  849. tux has joined
  850. lskdjf has left
  851. la|r|ma has joined
  852. lnj has left
  853. jubalh has left
  854. jubalh has joined
  855. lskdjf has joined
  856. lskdjf has left
  857. lskdjf has left
  858. lskdjf has left
  859. jjrh has left
  860. lskdjf has joined
  861. lskdjf has left
  862. jubalh has left
  863. valo has joined
  864. kasper.dement has joined
  865. lskdjf has joined
  866. lskdjf has joined
  867. test has joined
  868. test has left
  869. test has joined
  870. blabla has left
  871. blabla has joined
  872. jjrh has left
  873. test has left
  874. ThibG has left
  875. ThibG has joined
  876. anjan has left
  877. marc has left
  878. mikaela has left
  879. anjan has joined
  880. edhelas has left
  881. mikaela has joined
  882. mikaela has left
  883. ta has joined
  884. blabla has left
  885. blabla has joined
  886. edhelas has left
  887. MattJ has joined
  888. test has joined
  889. kasper.dement has joined
  890. edhelas has left
  891. edhelas has joined
  892. valo has left
  893. test has left
  894. lovetox has left
  895. Guus has joined
  896. Guus has left
  897. vanitasvitae has joined
  898. moparisthebest has joined
  899. SamWhited has left
  900. moparisthebest has joined
  901. kasper.dement has joined
  902. labdsf has left
  903. labdsf has joined
  904. kasper.dement has left
  905. kasper.dement has joined
  906. kasper.dement has joined
  907. anjan has left
  908. mimi89999 has joined
  909. anjan has joined
  910. pep. has left
  911. moparisthebest has left
  912. moparisthebest has joined