#instantbird log on 04 23 2016

All times are UTC.

00:11:24 <-- abdelrhman has quit (Connection closed)
00:11:39 --> abdelrhman has joined #instantbird
00:12:59 <-- aleth has quit (Quit: Instantbird 48)
00:14:25 <-- abdelrhman has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
00:16:40 <-- arlolra has quit (Client exited)
00:37:16 --> nhnt11 has joined #instantbird
00:37:16 * ChanServ sets mode +h nhnt11 
01:02:07 <-- Bollebib has quit (Ping timeout: 121 seconds)
01:25:48 <-- nhnt11 has quit (Ping timeout: 121 seconds)
02:30:35 --> nhnt11 has joined #instantbird
02:30:36 * ChanServ sets mode +h nhnt11 
02:38:40 <-- nhnt11 has quit (Ping timeout: 121 seconds)
03:24:27 <instant-buildbot> build #3147 of macosx-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/3147
04:23:09 <instant-buildbot> build #674 of linux64-nightly-default is complete: Success [3build successful]  Build details are at http://buildbot.instantbird.org/builders/linux64-nightly-default/builds/674
04:36:44 --> durwasa has joined #instantbird
04:37:05 --> nhnt11 has joined #instantbird
04:37:05 * ChanServ sets mode +h nhnt11 
04:58:15 <-- freaktechnik has quit (Quit: Loosing power...)
05:03:36 --> freaktechnik has joined #instantbird
05:51:08 <-- durwasa has quit (Ping timeout: 121 seconds)
06:50:25 --> gerard-majax has joined #instantbird
07:11:32 <-- gerard-majax has quit (Ping timeout: 121 seconds)
07:15:31 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
07:15:33 --> CuriousLearner has joined #instantbird
07:22:36 --> durwasa has joined #instantbird
07:58:56 --> gerard-majax has joined #instantbird
08:23:59 --> Bollebib has joined #instantbird
09:51:43 <-- CuriousLearner has quit (Connection closed)
10:16:13 --> aleth has joined #instantbird
10:16:13 * ChanServ sets mode +o aleth 
10:17:21 --> mpmc has joined #instantbird
10:17:38 --> mpmc1 has joined #instantbird
10:21:22 <-- mpmc has quit (Ping timeout: 121 seconds)
10:21:22 * mpmc1 is now known as mpmc 
10:23:50 --> Mnyromyr has joined #instantbird
11:21:44 <-- durwasa has quit (Ping timeout: 121 seconds)
11:57:11 --> mpmc1 has joined #instantbird
11:57:40 <-- mpmc has quit (A TLS packet with unexpected length was received.)
11:57:40 * mpmc1 is now known as mpmc 
12:33:34 --> CuriousLearner has joined #instantbird
12:36:05 <-- CuriousLearner has quit (Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160414065514])
12:50:51 --> abdelrhman has joined #instantbird
13:13:42 --> durwasa has joined #instantbird
13:15:36 <-- Mnyromyr has quit (Connection closed)
13:28:31 <-- durwasa has quit (Ping timeout: 121 seconds)
13:33:12 --> clokep_work has joined #instantbird
13:33:12 * ChanServ sets mode +o clokep_work 
13:34:43 <-- clokep_work has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
13:34:51 --> clokep_work has joined #instantbird
13:34:51 * ChanServ sets mode +o clokep_work 
14:06:53 <-- abdelrhman has quit (Ping timeout: 121 seconds)
14:09:12 --> abdelrhman has joined #instantbird
14:38:29 <-- mpmc has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
14:43:01 --> mpmc has joined #instantbird
14:52:57 <-- abdelrhman has quit (Ping timeout: 121 seconds)
14:57:47 --> abdelrhman has joined #instantbird
15:04:02 <-- gerard-majax has quit (Ping timeout: 121 seconds)
15:13:56 <-- abdelrhman has quit (Ping timeout: 121 seconds)
15:20:19 --> durwasa has joined #instantbird
15:49:56 --> nhnt11 has joined #instantbird
15:49:57 * ChanServ sets mode +h nhnt11 
15:50:03 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
16:07:39 <-- durwasa has quit (Ping timeout: 121 seconds)
16:10:18 --> abdelrhman has joined #instantbird
16:38:30 --> durwasa has joined #instantbird
16:59:42 <-- durwasa has quit (Ping timeout: 121 seconds)
17:05:35 <abdelrhman> aleth, clokep_work: some of servers in DNS SRV do not use a valid security certificate as they use the same certificate of the main domain, should we test all records and the main domain before connecting user's account?
17:06:38 <clokep_work> abdelrhman: What do you mean "test all records"?
17:06:47 <clokep_work> Do you mean in the certificate?
17:06:56 <clokep_work> I think there's a few bugs open about this sort of stuff...
17:07:08 <clokep_work> I don't fully remember how that's supposed to work though. flo-retina is probably the one to ask. :(
17:07:13 --> nhnt11 has joined #instantbird
17:07:14 * ChanServ sets mode +h nhnt11 
17:18:26 <abdelrhman> clokep_work: e.g. example.com has a certificate for this specific name, it uses the same certificate in xmpp.example.com which is wrong (the real example is in xmpp.jp)
17:18:38 <abdelrhman> the response of lookup query is an array of records and each record consists of target, priority, weight and port.
17:20:13 <abdelrhman> the target and port are used for connecting and priority and weight help us to choose the appropriate record (e.g. order/sort them) 
17:20:36 <flo-retina> abdelrhman: if you are connecting blah@example.com and the DNS SRV record points to xmpp.example.com, the server we connect to is xmpp.example.com, but the certificate should be for example.com
17:25:39 <abdelrhman> I'm working on the DNS SRV and this error happened when I did some tests (http://pastebin.instantbird.com/2770669)
17:28:29 <abdelrhman> Should we take care of these cases (try to find alternatives)? as if I try to connect to (xmpp.jp) server directly without DNS SRV, it works
17:29:25 <flo-retina> abdelrhman: so the certificate is valid in this case, right?
17:29:38 <abdelrhman> yes
17:29:47 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
17:29:53 --> nhnt11 has joined #instantbird
17:29:54 * ChanServ sets mode +h nhnt11 
17:30:44 <flo-retina> abdelrhman: the 2 non-trivial issues that caused us to not have DNS SRV support yet is: 1. resolving DNS SRV records. 2. Figuring out a way to connect to hujin.xmpp.jp but still expect a certificate for xmpp.jp
17:33:23 --> unghost has joined #instantbird
17:34:24 <abdelrhman> flo-retina: Ah, the first one I worked on it today and It works. Do you have any suggestions for the second one or where to start?
17:34:49 <flo-retina> how did you do the first one?
17:38:10 <abdelrhman> I used Fallen's code |DNS.jsm| (It has some issues with Linux, but I solved it). I use this when an account tries to connect in XMPP to do a query and get the records, then save it to account's preference (server and port) after that let the account connects 
17:39:24 <-- abdelrhman has quit (Connection closed)
17:39:30 --> abdelrhman has joined #instantbird
17:39:57 <flo-retina> why do you need to save it in a pref?
17:41:07 <flo-retina> I haven't seen DNS.jsm. I assume it's doing DNS using ctypes?
17:42:24 <abdelrhman> I'm not totally with this, but I think this might reduce the time needed to connect the account for the next time instead of doing DNS SRV lookup
17:42:25 <abdelrhman> Yes, it uses ctypes
17:44:48 <freaktechnik> what if the record changes?
17:45:11 <abdelrhman> I assume if the user does not specify server/port pref for the account, we do DNS SRV on behalf. (is that ok?)
17:45:45 <abdelrhman> We have to do DNS SRV again
17:47:04 <clokep_work> It likely has a TTL on it that you'd have to save also, blah blah.
17:47:14 <clokep_work> But...that's likely all handled by the underlying system.
17:47:30 <clokep_work> So we shouldn't likely assume that caching is done at the OS level and not worry about it in-app.
17:47:36 <clokep_work> Sorry, we *should* likely
17:48:54 <abdelrhman> I know this will complicate DNS SRV, so I said *not totally with* this
17:49:18 <clokep_work> It will likely simplify our code not to save it.
17:49:32 <clokep_work> I'd start with not saving it and we can always add it later. :)
17:49:56 <abdelrhman> You are right.
17:58:10 <abdelrhman> OK
17:58:42 <clokep_work> So you still have the issue of what domain to check against?
18:00:13 <abdelrhman> For the certificate, yes
18:08:04 <-- flo-retina has quit (Ping timeout: 121 seconds)
18:08:35 <-- nhnt11 has quit (Ping timeout: 121 seconds)
18:08:43 --> flo-retina has joined #instantbird
18:08:43 * ChanServ sets mode +qo flo-retina flo-retina 
18:17:58 --> gerard-majax has joined #instantbird
18:20:34 <flo-retina> so for that issue... I think we tried to get a patch landed in necko or NSS to let us specify a different domain for a socket... but I don't think we managed to get anything to pass a review.
18:20:41 <flo-retina> could be worth trying again
18:21:04 <flo-retina> I remember BenB suggested at some point a hack to workaround the issue, using a fake proxy.
18:21:52 <flo-retina> ie. declaring that you are connecting to xmpp.jp using hujin.xmpp.jp as a proxy.
18:25:30 <abdelrhman> Ah, in this bug 741550, thanks flo-retina ;)
18:25:32 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=741550 nor, --, ---, nobody, NEW, Fix SSL cert hostname check for Jabber/XMPP
18:29:51 <flo-retina> abdelrhman: really bug 628312
18:29:53 <instantbot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=628312 enh, --, ---, nobody, NEW, Need IDL to be able to set expected hostname against which to check SSL cert
18:31:33 <-- abdelrhman has quit (Ping timeout: 121 seconds)
18:39:53 --> abdelrhman has joined #instantbird
18:43:48 <-- gerard-majax has quit (Ping timeout: 121 seconds)
18:49:07 <-- Tonnes has quit (Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938])
18:49:28 --> CuriousLearner has joined #instantbird
18:53:03 --> Tonnes has joined #instantbird
18:59:28 <-- abdelrhman has quit (Connection closed)
18:59:33 --> abdelrhman has joined #instantbird
19:23:09 <-- jsmaniac has quit (Quit: Connection closed for inactivity)
19:35:46 <-- abdelrhman has quit (Ping timeout: 121 seconds)
19:35:50 --> abdelrhman has joined #instantbird
19:40:45 <-- abdelrhman has quit (Connection closed)
19:55:22 <-- aleth has quit (Ping timeout: 121 seconds)
20:38:01 <-- CuriousLearner has quit (Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160414065514])
20:48:30 <-- clokep_work has quit (Ping timeout: 121 seconds)
21:00:28 --> abdelrhman has joined #instantbird
21:04:32 <-- abdelrhman has quit (Ping timeout: 121 seconds)
21:07:13 --> nhnt11 has joined #instantbird
21:07:13 * ChanServ sets mode +h nhnt11 
21:31:30 --> aleth has joined #instantbird
21:31:30 * ChanServ sets mode +o aleth 
21:42:32 <-- nhnt11 has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
22:29:20 --> abdelrhman has joined #instantbird
22:48:05 <-- abdelrhman has quit (Ping timeout: 121 seconds)
23:00:18 --> abdelrhman has joined #instantbird
23:01:40 --> nhnt11 has joined #instantbird
23:01:40 * ChanServ sets mode +h nhnt11 
23:06:59 <-- Bollebib has quit (Connection closed)
23:27:21 <-- abdelrhman has quit (Ping timeout: 121 seconds)
23:29:29 --> abdelrhman has joined #instantbird
23:30:41 <-- abdelrhman has quit (Quit: Instantbird 1.6a1pre -- http://www.instantbird.com)
23:35:40 <-- aleth has quit (Quit: Instantbird 48)
23:38:16 <-- nhnt11 has quit (Ping timeout: 121 seconds)