Re: [Gajim-devel] List of proxies for file transfer

2016-09-19 Thread Yann Leboulanger



Most server reserve that to their users.

And it seems gajim doesn't query an user's server about available proxy
server. Or something goes wrong. I tried both Pidgin and Gajim with
jabber.ru and the first one worked, it used proxy of the jabber.ru
server for the file transfer according its logs.

Does gajim tries to get info about available proxies from an account's
server? If it does then I will try to debug what's happening in my
setup.


Yes Gajim discovers on every connexion if the server has a proxy, and 
tests it by faking a transfer. But ... It fakes a transfer from a JID 
that is not on your server's domain, and so the server sometimes refuse 
that. So Gajim consider the proxy doesn't work. That may be your 
problem. You can disable the tests that Gajim runs in the advanced 
option editor, search for test_ft_proxies_on_startup.



Notifying the user doesn't sound a very good idea to me.
Most users don't even know what a FT proxy is. So telling them that if
they use another server that has a proxy would help won't improve things
IMHO.

But silently do nothing is also not an option, imho. I think the user
should find at least that Use file transfer proxies setting is not
available for her (e.g. grayed out). The reason can be hidden by
default somewhere, but still should be available for those who are
interested.



The problem is that it depends on your server at the moment you connect. 
Gajim can't know, until you are connected and it tests all proxies if it 
can offer a proxy. So we can't grey the option.
Displaying an error dialog to the user isn't very good because as you 
tested, there is no open proxy, and several servers don't have a proxy. 
So all users of those servers will get this error dialog without 
understanding it. the use_ft_proxy has to be read as "if available"


--
Yann
___
Gajim-devel mailing list
Gajim-devel@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/gajim-devel

Re: [Gajim-devel] List of proxies for file transfer

2016-09-17 Thread Anatoly A. Kazantsev
Hi,

On Thu, 7 Jul 2016 21:19:04 +0200
Yann Leboulanger  wrote:

> Thanks for your tests and feedback.

Sorry for a long response

> If you know more open server, I'm interested.

Sorry but I don't know such servers.

> Most server reserve that to their users.

And it seems gajim doesn't query an user's server about available proxy
server. Or something goes wrong. I tried both Pidgin and Gajim with
jabber.ru and the first one worked, it used proxy of the jabber.ru
server for the file transfer according its logs.

Does gajim tries to get info about available proxies from an account's
server? If it does then I will try to debug what's happening in my
setup.

> Notifying the user doesn't sound a very good idea to me.
> Most users don't even know what a FT proxy is. So telling them that if
> they use another server that has a proxy would help won't improve things
> IMHO.

But silently do nothing is also not an option, imho. I think the user
should find at least that Use file transfer proxies setting is not
available for her (e.g. grayed out). The reason can be hidden by
default somewhere, but still should be available for those who are
interested.

-- 
Regards,
Anatoly
___
Gajim-devel mailing list
Gajim-devel@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/gajim-devel

Re: [Gajim-devel] List of proxies for file transfer

2016-07-07 Thread Yann Leboulanger
On 06/29/2016 11:42 AM, Anatoly A. Kazantsev wrote:
> Hello,
>
> Current Gajim has predefined list of proxies for file transfer:
>
> * proxy.eu.jabber.org
> * proxy.jabber.ru
> * proxy.jabbim.cz
>
> There're problems with them
>
> * proxy.eu.jabber.org: it seems eu.jabber.org is dead
>   
>   Response for the request from jabber.ru server:
>
>   
> http://jabber.org/protocol/bytestreams"; />
>   
>
>xml:lang='en'> 
> 
>xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> 
>   
>
> * proxy.jabber.ru: works only for local users, so users from other
>   XMPP servers can't use this proxy
>
>   Response for the same request made from my own XMPP server:
>
>   
> http://jabber.org/protocol/bytestreams"; />
>   
>
>   
> 
> 
>   
> 
>   
>
>   I asked guys from supp...@conference.jabber.ru and they confirmed
>   that the proxy works only for the local users.
>
> * proxy.jabbim.cz: the only minor problem with this proxy is that its
>   jabber server can't connect to any XMPP servers with strong and modern
>   TLS settings used for the s2s connection. By this I mean the server
>   configuration as described at
>   https://blog.process-one.net/securing-ejabberd-with-tls-encryption/
>   (see recommended settings).
>
> I think proxy.eu.jabber.org and proxy.jabber.ru should be removed from
> the list. Some proxy with strong TLS settings should be added, so it
> will be useful for users using such servers.
>
> The other problem is silence of Gajim. It doesn't report that all
> proxies are not available, though Use file transfer proxies setting is
> set to Yes. There should be some way to notify the user about it.
>


Hi,

Thanks for your tests and feedback.
If you know more open server, I'm interested. Most server reserve that
to their users. Notifying the user doesn't sound a very good idea to me.
Most users don't even know what a FT proxy is. So telling them that if
they use another server that has a proxy would help won't improve things
IMHO.

-- 
Yann
___
Gajim-devel mailing list
Gajim-devel@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/gajim-devel

[Gajim-devel] List of proxies for file transfer

2016-06-29 Thread Anatoly A. Kazantsev
Hello,

Current Gajim has predefined list of proxies for file transfer:

* proxy.eu.jabber.org
* proxy.jabber.ru
* proxy.jabbim.cz

There're problems with them

* proxy.eu.jabber.org: it seems eu.jabber.org is dead
  
  Response for the request from jabber.ru server:

  
http://jabber.org/protocol/bytestreams"; />
  

   

   
  

* proxy.jabber.ru: works only for local users, so users from other
  XMPP servers can't use this proxy

  Response for the same request made from my own XMPP server:

  
http://jabber.org/protocol/bytestreams"; />
  

  


  

  

  I asked guys from supp...@conference.jabber.ru and they confirmed
  that the proxy works only for the local users.

* proxy.jabbim.cz: the only minor problem with this proxy is that its
  jabber server can't connect to any XMPP servers with strong and modern
  TLS settings used for the s2s connection. By this I mean the server
  configuration as described at
  https://blog.process-one.net/securing-ejabberd-with-tls-encryption/
  (see recommended settings).

I think proxy.eu.jabber.org and proxy.jabber.ru should be removed from
the list. Some proxy with strong TLS settings should be added, so it
will be useful for users using such servers.

The other problem is silence of Gajim. It doesn't report that all
proxies are not available, though Use file transfer proxies setting is
set to Yes. There should be some way to notify the user about it.

-- 
Regards,
Anatoly
___
Gajim-devel mailing list
Gajim-devel@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/gajim-devel