Gajim - 2017-02-17


  1. RedFox H
  2. RedFox Hi
  3. RedFox Does gajim supports XEP-0333?
  4. Oko Hello. I have problems with bosh, with gajim from ubuntu 16.04 or from the sources impossible to connect while from the windows version, it works. Do you have any suggestions for resolving this issue?
  5. SaltyBones Have you looked at debug output?
  6. Oko is that help ? 17/02/2017 10:44:44 (W) nbxmpp.bosh Fallback to nonpersistent HTTP (no pipelining as well) 17/02/2017 10:45:02 (E) nbxmpp.bosh Connection Manager didn't respond within 30 + 3 seconds --> forcing disconnect
  7. Oko on last message from xml console, i receve roster
  8. SaltyBones I'm not a dev but now that it's here somebody will probably look at it later today.
  9. Oko k ty ;)
  10. soccerhub I experienced a problem. otr did not install
  11. soccerhub Traceback (most recent call last): File "/home/user/.local/share/gajim/plugins/plugin_installer/plugin_installer.py", line 363, in on_plugin_downloaded plugins = self.scan_dir_for_plugin(plugin_dir) File "/home/user/.local/share/gajim/plugins/plugin_installer/plugin_installer.py", line 473, in scan_dir_for_plugin if not issubclass(module_attr, GajimPlugin) or \ File "/usr/share/gajim/src/common/demandimport.py", line 86, in __getattribute__ self._load() File "/usr/share/gajim/src/common/demandimport.py", line 58, in _load mod = _origimport(head, globals, locals) ImportError: No module named Crypto
  12. SaltyBones soccerhub do you have python-crypto installed?
  13. SaltyBones just a guess though...
  14. soccerhub must check
  15. soccerhub python3-pycrypto is installed
  16. SaltyBones are you using python3 to run gajim, though?
  17. SaltyBones probably not :)
  18. soccerhub uh, i dunno
  19. soccerhub ah, there it is
  20. soccerhub i do a restart
  21. soccerhub no, that was not the problem
  22. lovetox i would first update to the latest version of gajim
  23. lovetox then try again
  24. SaltyBones lovetox, I currently have one of those stale mucs
  25. SaltyBones that I can still read
  26. SaltyBones but I cannot post to nor does the context menu open
  27. SaltyBones can I do something to debug?
  28. lovetox so when did it happen? after coming back from standby?
  29. SaltyBones not sure haven't touched this machine since yesterday, might also have happened after staring gajim
  30. SaltyBones i have this room bookmarked
  31. lovetox you can read new messages
  32. lovetox but cant write?
  33. SaltyBones yes
  34. lovetox but you can type into the msg field
  35. SaltyBones I can type but when I hit enter nothing happens
  36. lovetox open the xml console
  37. SaltyBones got it open
  38. lovetox and see if the message really gets send
  39. SaltyBones nothing happens when I press enter
  40. SaltyBones the message remains in the message fiel
  41. SaltyBones nothing in the console
  42. lovetox ok thats bad, probably some exception is happening and we dont see it
  43. lovetox maybe you could start gajim in the next days from console
  44. SaltyBones sure np
  45. SaltyBones do I need the dev version or is .7 fine?
  46. lovetox no .7 is fine
  47. lovetox or even better, start gajim with "-v" and redirect stdout and stderr to a log file
  48. lovetox when it happens again we will see hopefully what goes wrong
  49. lovetox either way a rejoin into the muc should solve the problem
  50. lovetox does it only happen with one specific muc though?
  51. lovetox or do you have the same problem with gajim muc for example
  52. SaltyBones no it happens with all of them
  53. SaltyBones alright, let's see
  54. lovetox RedFox no
  55. lovetox Oko, why do you need BOSH?
  56. Oko bc server is only joinable with bosh (private company server), and i want avoid usage of jappix or any web client.
  57. lovetox i have a look when im home in the evening what could be wrong here
  58. Oko k ty lovetox
  59. SaltyBones Why does C-l clear my window?
  60. SaltyBones When I'm accidentally in gajim instead of my browser my conversation disappears and it sucks. :)
  61. Link Mauve Well, that’s a standard shortcut for clearing a view, maybe you could remap it to something else.
  62. SaltyBones Is it?
  63. SaltyBones huh....didn't know
  64. SaltyBones Where do I change shortcuts?
  65. Link Mauve I think, currently in the code, in the future it’ll be in the GtkBuilder files.
  66. Link Mauve lovetox, do you know whether those can be overrided by the user?
  67. lovetox_ in the glade file of course easy
  68. lovetox_ i guess we could also make a UI that overrides a shortcut with something else
  69. lovetox_ and with "we" i dont mean me :)
  70. Link Mauve lovetox_, I was just asking whether such an override is possible.
  71. SaltyBones is the glade file baked into the code somehow or can I edit it manually in .config or somewhere?
  72. class1 Hi, i am new to gajim. do you have any recommendations on what plugins I should get? what do I need for voice calls? what is good for encrypted chat? is encrypted group chat possible?
  73. SaltyBones class1, for encryption you want omemo
  74. Link Mauve class1, voice calls are in the core, have a look at Help > Features > Audio/Video to check if you have all of the dependencies.
  75. SaltyBones it also does encrypted group chats
  76. SaltyBones Ability to start audio and video chat. Requires python-farstream and gstreamer-plugins-bad.
  77. SaltyBones giggles.
  78. SaltyBones Don't you want gstreamer-plugins-bad?
  79. lovetox_ yeah Link Mauve, you can basically define shortcut groups and actions, and load them for different windows
  80. class1 link mauve, its white so I guess its unchecked.
  81. SaltyBones class1, it says what you need at the bottom which is what I just quoted.
  82. Link Mauve lovetox_, interesting.
  83. SaltyBones lovetox, Link Mauve where is this file after installing!? :)
  84. Link Mauve SaltyBones, I don’t understand, what’s the issue with that set of Gstreamer plugins?
  85. SaltyBones gstreamer is full of security holes and I don't want to know what it looks like in a plug-in they classify as "bad"
  86. SaltyBones You can probably send it a random data and it will automatically give you a root shell. ;)
  87. lovetox_ Ctrl+I doesnt clear the window for me on windows
  88. lovetox_ this works in groupchat for you?
  89. class1 saltybones, does it also do encrypted calls?
  90. lovetox_ no
  91. class1 is there a way?
  92. class1 link mauve, sorry I can not figure out how to get python-farstream and gstreamer-plugins-bad
  93. lovetox_ its not available on newer systems anymore i think
  94. lovetox_ class1 there is no one client for all in xmpp right now
  95. SaltyBones lovetox, unfortunately yes
  96. lovetox_ if you want good video/audio you probably should try jitsi
  97. lovetox_ if you want end 2 end encryption like omemo, you can use gajim
  98. SaltyBones class1, I don't know of any clients doing encrypted video calls. Personally I have never been able to use normal video calls for anything.
  99. lovetox_ i mean they are tls encrypted
  100. lovetox_ but not end 2 end
  101. lovetox_ at least i think its that way, didnt look into it
  102. SaltyBones I can neither confirm nor deny that. I have no clue how they work. :)
  103. Link Mauve lovetox_, err, Jitsi does end to end encryption of calls.
  104. SaltyBones But that is what I would expect.
  105. SaltyBones Really? That's pretty cool.
  106. lovetox_ oh good :)
  107. Link Mauve (Except if you use their videobridge thing, but for one to one voice/video chats it’s there.)
  108. SaltyBones I tried it once and couldn't get it to work though. :)
  109. SaltyBones videocalling with jitsi at all that is...
  110. Link Mauve Same for any WebRTC program that doesn’t go through a server.
  111. SaltyBones Link Mauve, like?
  112. SaltyBones And how do you know?
  113. Link Mauve SaltyBones, I generally use Jitsi Meet, I deployed it on one of my servers.
  114. SaltyBones "any webrtc program" sounds like a large set ;)
  115. Link Mauve Well, because WebRTC is all about using DTLS-SRTP.
  116. Link Mauve Just read the protocol documents.
  117. Link Mauve I haven’t reviewed browser code, but I do trust Mozilla to come up with something both working and secure.
  118. SaltyBones rfc5764 even has eric on it
  119. SaltyBones who afaik is at mozilla
  120. Link Mauve SaltyBones, obsoleted by 7983 fyi.
  121. SaltyBones not that I have time to read any of them :)
  122. SaltyBones but so the dtls-srtp is handled by the browser and the videocall apps are built using that?
  123. Link Mauve Yes.
  124. SaltyBones I have absolutely no clue how any of that works so thanks for the info. :)
  125. SaltyBones so just on an abstract level
  126. Link Mauve Look up WebRTC for an overview of how it all works.
  127. SaltyBones the establish keys using the server as a trusted party?
  128. Link Mauve But then, it’s only encrypted to your recipient, if the recipient is a middle man server then it’s technically not end to end.
  129. Link Mauve I don’t know much about the key exchange protocol, it’s described in the RFC you just linked though.
  130. SaltyBones Well, let's hope they did it right because we can't go around and chell implementations of everything, can we? :)
  131. Link Mauve Why not?
  132. Link Mauve If you are looking for a nice and good paying and depressing job, security researcher sounds lovely.
  133. SaltyBones hahaha
  134. SaltyBones I am currently trying to get a PhD in crypto and security. ;)
  135. jh Lovetox: can the automatic reconnect taxs? I this must always manually on the appindicator.
  136. lovetox_ i dont understand what you are trying to ask
  137. lovetox_ whats "taxs"?
  138. jh control
  139. jh switch
  140. jh After standby must I connect gajim Mauell.
  141. lovetox_ if you go to help -> features
  142. lovetox_ is network manager enabled?
  143. jh nm yes
  144. lovetox_ i cant test with network
  145. lovetox_ ah standby
  146. lovetox_ but if i disable the network connection
  147. lovetox_ im instantly offline
  148. jh The appindicator displays an X
  149. lovetox_ if i enable it again, it connects instantly
  150. lovetox_ maybe the appindicator shows a wrong icon
  151. lovetox_ are you sure you are not connected?
  152. lovetox_ hm for me it updates
  153. lovetox_ but i only disabled network
  154. lovetox_ maybe its different on standby i have to test
  155. jh Now after a short time of standby did it work, ah, it may be that I restart the whole network and therefore i was disconnected. okay i will observe.
  156. jh I have from and to the problem that the messages are missing, i on a different device (conversations) receive/read. what can be the cause?
  157. lovetox_ with omemo activated?
  158. lovetox_ make sure you trust your own keys
  159. lovetox_ not only the ones of your contacts
  160. lovetox_ then make sure your server supports MAM and Carbons
  161. lovetox_ and if you still missing messages, you should observe exactly which messages at which times are missing
  162. lovetox_ is it when all devices of the conversation are online
  163. lovetox_ or is one offline and comes online later and gets not synced up
  164. lovetox_ or is it only the outgoing messages from one device etc
  165. jh lovetox_: The first things fit all the other things I must first check which is time-consuming. I thank you
  166. andrey.g > SaltyBones‎: I don't know of any clients doing encrypted video calls. Personally I have never been able to use normal video calls for anything. Never tried Linphone? It uses ZRTP, true e2e with small fingerprint you can pronounce to you communication partner / hear it from him/her after call has been established to ensure nobody is in the middle. And being written in C it consumes significantly less resources than Jitsi.
  167. SaltyBones andrey.g, but it's not video, is it?
  168. SaltyBones and not xmpp?
  169. SaltyBones just looked it up :)
  170. andrey.g Video, Audio and even encrypted messages with LIME (ok, after Axolotl it not enough).
  171. SaltyBones LIME?
  172. andrey.g Yes, other LIME: https://linphone.org/dokuwiki/doku.php/liblinphone:lime
  173. SaltyBones but in general it's not xmpp
  174. andrey.g Yes, since for encrypted video/audio the particular signaling transport doesn't play any significantly role, does it?
  175. SaltyBones oh....yeah
  176. SaltyBones but I was talking about a jabber client with videocall support
  177. SaltyBones although this is possibly better than the web alternatives and skypelikes I have tried in the past
  178. andrey.g Aha, OK. I hope you don't prefer convenience over security: jabber client with video calls instead of other client with encrypted calls. BTW, Gajim would do video calls over farstream. Just installed the packages and "the feature is not available". But the main question: they would go plaintext, so anyway not actually useful?
  179. Holger andrey.g: I think XMPP is inconvenient enough to make sure nobody is able to do A/V over it. So you can probably rest assured no unencrypted A/V traffic is transmitted in practice :-)
  180. andrey.g Holger‎, I supposed A/V could work through Jingle over XMPP.
  181. andrey.g I could be missing NS_JINGLE_ICE_UDP...
  182. andrey.g Just for the record: python-farstream (0.1) is deprecated and it is enough to install gir1.2-farstream-0.2 (Debian based).
  183. andrey.g src/common/helpers.py: def update_optional_features(account = None): ... if gajim.HAVE_FARSTREAM: gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_RTP) gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_RTP_AUDIO) gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_RTP_VIDEO) gajim.gajim_optional_features[a].append(nbxmpp.NS_JINGLE_ICE_UDP) src/chat_control.py def _update_toolbar(self): ... # Jingle detection if self.contact.supports(NS_JINGLE_ICE_UDP) and \ gajim.HAVE_FARSTREAM and self.contact.resource: self.audio_available = self.contact.supports(NS_JINGLE_RTP_AUDIO) self.video_available = self.contact.supports(NS_JINGLE_RTP_VIDEO) It looks like the latter check of "and gajim.HAVE_FARSTREAM" is redundant?
  184. lovetox_ andrey. g your welcome to maintain the whole audio/video thing in gajim if you are interested
  185. lovetox_ but if you do please do it in gtk3 because i think the work is lost on gtk2
  186. andrey.g Actually not, I just wanted to see, how it works ;)
  187. andrey.g I even got jingle filetransfer failure (similar to those on Wine) on Linux, once I configured my network interfaces differently. So I'm bit frustrated.
  188. andrey.g BTW, I noticed, tmolitor's commits on python-nbxmpp, but he doesn't participate here in MUC?
  189. lovetox_ welcome to my world
  190. lovetox_ :)
  191. lovetox_ he only on from time to time
  192. andrey.g He seemed to had interest in Jingle, but then... lost it? I somehow start to doubt, how to continue. I was primary interested in getting OMEMO support but now it turns Jingle itself has some problems.
  193. andrey.g First I'm thinking about: is what Gajim does when more than 1 candidate is offered. Could it start trying all of them in parallel and then get confused?
  194. lovetox_ frist you have to understand, i dont know a fucking single thing about jingle except that it whenever i came in contact with it, it was not a plasant
  195. andrey.g During successful Jingle FT I see following: 02/16/2017 23:23:14 (I) nbxmpp.idlequeue read timeout removed for fd 25 02/16/2017 23:23:14 (I) nbxmpp.idlequeue read timeout set for fd 25 on 10 seconds 02/16/2017 23:23:14 (I) nbxmpp.idlequeue read timeout removed for fd 25 02/16/2017 23:23:14 (I) nbxmpp.idlequeue read timeout set for fd 25 on 10 seconds 02/16/2017 23:23:14 (I) nbxmpp.idlequeue read timeout removed for fd 25 02/16/2017 23:23:14 (I) nbxmpp.idlequeue read timeout set for fd 25 on 10 seconds 02/16/2017 23:23:14 (I) nbxmpp.idlequeue read timeout removed for fd 25 02/16/2017 23:23:14 (I) nbxmpp.idlequeue read timeout set for fd 25 on 10 seconds 02/16/2017 23:23:15 (I) nbxmpp.idlequeue read timeout removed for fd 25 02/16/2017 23:23:15 (I) nbxmpp.idlequeue read timeout set for fd 25 on 10 seconds 02/16/2017 23:23:15 (I) nbxmpp.idlequeue read timeout removed for fd 25 02/16/2017 23:23:15 (I) nbxmpp.idlequeue read timeout set for fd 25 on 10 seconds 02/16/2017 23:23:15 (I) nbxmpp.idlequeue read timeout removed for fd 25 02/16/2017 23:23:15 (I) nbxmpp.idlequeue read timeout set for fd 25 on 10 seconds Why 10 seconds? The only place where commandtimeout is set is in src/common/resolver.py: NsLookup(IdleCommand).
  196. lovetox_ so really if someone would want to take this part of gajim over i would be really happy :D
  197. andrey.g Take and throw away and see what comes instead ;)
  198. lovetox_ timeout = self.current_time() + (seconds * 1e6)
  199. lovetox_ why is it important how long the timeout is?
  200. andrey.g I tried to follow, where "seconds" gets set. And what I found seems to be unrelated, but if it is the right place, then it is strange, that timeout for NsLookup is used during data transmission.
  201. andrey.g I fear on low bandwidth connection or during temporary connection breakage 10 seconds are too short.
  202. lovetox_ in gtk3 branch its 0
  203. andrey.g I'm wondering where is Jefry Lagrange now, he has been fixing jingle a lot.
  204. lovetox_ because nslookup was removed lol
  205. lovetox_ yeah and the guy who did most of nbxmpp work
  206. lovetox_ i need them :)
  207. andrey.g Yes!
  208. andrey.g So here how failed transfer looks: Sender: 02/17/2017 23:41:55 (I) nbxmpp.idlequeue read timeout removed for fd 25 02/17/2017 23:41:55 (I) nbxmpp.idlequeue read timeout set for fd 25 on 10 seconds 02/17/2017 23:41:55 (I) nbxmpp.idlequeue read timeout removed for fd 26 02/17/2017 23:41:55 (I) gajim.c.socks5 SSL rehandshake request :WantReadError() 02/17/2017 23:41:55 (I) gajim.c.socks5 caught SSL exception, ignored 02/17/2017 23:41:55 (I) nbxmpp.idlequeue read timeout removed for fd 25 02/17/2017 23:41:55 (I) nbxmpp.idlequeue read timeout set for fd 25 on 10 seconds 02/17/2017 23:41:55 (I) nbxmpp.idlequeue read timeout removed for fd 26 02/17/2017 23:41:55 (I) gajim.c.socks5 SSL rehandshake request :WantReadError() Receiver: 02/17/2017 23:41:55 (I) nbxmpp.idlequeue read timeout removed for fd 23 02/17/2017 23:41:55 (I) gajim.c.socks5 SSL rehandshake request :WantReadError() 02/17/2017 23:41:55 (I) gajim.c.socks5 caught SSL exception, ignored 02/17/2017 23:41:55 (I) nbxmpp.idlequeue read timeout removed for fd 23 02/17/2017 23:41:55 (I) gajim.c.socks5 SSL rehandshake request :WantReadError() 02/17/2017 23:41:55 (I) gajim.c.socks5 caught SSL exception, ignored 02/17/2017 23:41:55 (I) nbxmpp.idlequeue read timeout removed for fd 23 02/17/2017 23:41:55 (I) gajim.c.socks5 SSL rehandshake request :WantReadError() 02/17/2017 23:41:55 (I) gajim.c.socks5 caught SSL exception, ignored
  209. andrey.g And here is what the failure started with on the Sender's side: 02/17/2017 23:41:55 (I) nbxmpp.transports_nb Plugging fd 19, W:True, R:True 02/17/2017 23:41:55 (I) gajim.c.jingle_ft __on_transport_info 02/17/2017 23:41:55 (I) gajim.c.socks5 socks5: sending file 02/17/2017 23:41:55 (I) gajim.c.socks5 socks5: sending file 02/17/2017 23:41:55 (I) gajim.c.socks5 SSL rehandshake request :WantReadError() Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 495, in dispatch handler['func'](session, stanza) File "/home/andrey/gajim.git/src/common/jingle.py", line 109, in _JingleCB self._sessions[sid].on_stanza(stanza) File "/home/andrey/gajim.git/src/common/jingle_session.py", line 352, in on_stanza call(stanza=stanza, jingle=jingle, error=error, action=action) File "/home/andrey/gajim.git/src/common/jingle_session.py", line 590, in __broadcast cn.on_stanza(stanza, content, error, action) File "/home/andrey/gajim.git/src/common/jingle_content.py", line 116, in on_stanza callback(stanza, content, error, action) File "/home/andrey/gajim.git/src/common/jingle_ft.py", line 305, in __on_transport_info self.__state_changed(STATE_TRANSFERING) File "/home/andrey/gajim.git/src/common/jingle_ft.py", line 128, in __state_changed st.action(args) File "/home/andrey/gajim.git/src/common/jingle_ftstates.py", line 222, in action self.__start_SOCK5_transfer() File "/home/andrey/gajim.git/src/common/jingle_ftstates.py", line 216, in __start_SOCK5_transfer self.jft.session.connection.name, mode) File "/home/andrey/gajim.git/src/common/socks5.py", line 332, in send_file result = sender.send_file() File "/home/andrey/gajim.git/src/common/socks5.py", line 999, in send_file return self.write_next() # initial for nl byte File "/home/andrey/gajim.git/src/common/socks5.py", line 686, in write_next raise e OpenSSL.SSL.WantReadError 02/17/2017 23:41:55 (I) nbxmpp.transports_nb pollout called, state == CONNECTED 02/17/2017 23:41:55 (I) nbxmpp.transports_nb Plugging fd 19, W:False, R:True
  210. andrey.g lovetox_, do you know when asterix comes back?
  211. lovetox_ i guess after the weekend
  212. andrey.g good