[jitsi-dev] Tor Global proxy settings


#1

Hi,

I am trying Jitsi to work over Tor. I am working on this in particular
with an eye to getting Jitsi functional within the Tails distro
(tails.boum.org)

I have adjusted the global proxy settings in keeping with my Tor
network. (Socks5, 127.0.0.1, 9150), no proxy username or password.

When I then attempt to login I get the error message: "An error
occured while logging in with account: User name jsantolan@jit.si,
Server name: Jabber: jit.si"

If I set Proxy to none, everything works fine.

I am running Jitsi 2.3.4671.9750 on !#, a Debian distro.

Here is the terminal output from starting Jitsi with the Socks5 proxy
settings:
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
17:23:26.700 SEVERE: [50] util.account.LoginManager.run().439 Failed
to register protocol provider.
java.lang.NullPointerException
  at
net.java.sip.communicator.plugin.globalproxyconfig.GlobalProxyPluginActivator$AuthenticatorImpl.getPasswordAuthentication(GlobalProxyPluginActivator.java:262)
  at
java.net.Authenticator.requestPasswordAuthentication(Authenticator.java:248)
  at java.net.SocksSocketImpl$2.run(SocksSocketImpl.java:162)
  at java.net.SocksSocketImpl$2.run(SocksSocketImpl.java:160)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.SocksSocketImpl.authenticate(SocksSocketImpl.java:158)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:472)
  at java.net.Socket.connect(Socket.java:579)
  at java.net.Socket.connect(Socket.java:528)
  at java.net.Socket.<init>(Socket.java:425)
  at java.net.Socket.<init>(Socket.java:208)
  at
org.jivesoftware.smack.proxy.Socks5ProxySocketFactory.socks5ProxifiedSocket(Socks5ProxySocketFactory.java:71)
  at
org.jivesoftware.smack.proxy.Socks5ProxySocketFactory.createSocket(Socks5ProxySocketFactory.java:29)
  at
org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:527)
  at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:976)
  at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1153)
  at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:937)
  at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:876)
  at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:671)
  at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:474)
  at
net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:431)

All help is much appreciated.

Sincerely,

Joseph Santolan


#2

[Resent due to mail problem. Added a bit of info.]

Hi Joseph,

did you ever receive a reply to that question (from 2013-06-05)? Was
the issue resolved?

I have seen mails according to which SOCKS5 in Jitsi might be broken
or incompletely implemented.

It would be great if you can help integrating Jitsi in Tails. I am not
sure how much time I will have for this:

Jitsi for VoIP and XMPP
https://labs.riseup.net/code/issues/6236

Cheers,
Andreas

···

---

Joseph Santolan:

Hi,

I am trying Jitsi to work over Tor. I am working on this in
particular with an eye to getting Jitsi functional within the Tails
distro (tails.boum.org)

I have adjusted the global proxy settings in keeping with my Tor
network. (Socks5, 127.0.0.1, 9150), no proxy username or password.

When I then attempt to login I get the error message: "An error
occured while logging in with account: User name jsantolan@jit.si,
Server name: Jabber: jit.si"

If I set Proxy to none, everything works fine.

I am running Jitsi 2.3.4671.9750 on !#, a Debian distro.

Here is the terminal output from starting Jitsi with the Socks5
proxy settings: ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable
to open slave ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown
PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate)
Unknown PCM cards.pcm.center_lfe ALSA lib
pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA
lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open)
unable to open slave 17:23:26.700 SEVERE: [50]
util.account.LoginManager.run().439 Failed to register protocol
provider. java.lang.NullPointerException at
net.java.sip.communicator.plugin.globalproxyconfig.GlobalProxyPluginActivator$AuthenticatorImpl.getPasswordAuthentication(GlobalProxyPluginActivator.java:262)

at

java.net.Authenticator.requestPasswordAuthentication(Authenticator.java:248)

at java.net.SocksSocketImpl$2.run(SocksSocketImpl.java:162)

at java.net.SocksSocketImpl$2.run(SocksSocketImpl.java:160) at
java.security.AccessController.doPrivileged(Native Method) at
java.net.SocksSocketImpl.authenticate(SocksSocketImpl.java:158) at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:472) at
java.net.Socket.connect(Socket.java:579) at
java.net.Socket.connect(Socket.java:528) at
java.net.Socket.<init>(Socket.java:425) at
java.net.Socket.<init>(Socket.java:208) at
org.jivesoftware.smack.proxy.Socks5ProxySocketFactory.socks5ProxifiedSocket(Socks5ProxySocketFactory.java:71)

at

org.jivesoftware.smack.proxy.Socks5ProxySocketFactory.createSocket(Socks5ProxySocketFactory.java:29)

at

org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:527)

at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:976)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1153)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:937)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:876)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:671)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:474)

at

net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:431)

All help is much appreciated.

Sincerely,

Joseph Santolan

_______________________________________________ dev mailing list
dev@jitsi.org Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

[Resent due to mail problem. Added a bit of info.]

Hi Joseph,

did you ever receive a reply to that question (from 2013-06-05)? Was
the issue resolved?

No, we haven't had a chance to look into it yet. We are planning to.

I have seen mails according to which SOCKS5 in Jitsi might be broken
or incompletely implemented.

Any more details? We are simply using that Java SOCKS support.

Admittedly however, this hasn't been our most popular feature so far and I expect spider webs to have crept all over it.

Emil

···

On 30.08.13, 09:49, Andreas Kuckartz wrote:

It would be great if you can help integrating Jitsi in Tails. I am not
sure how much time I will have for this:

Jitsi for VoIP and XMPP
https://labs.riseup.net/code/issues/6236

Cheers,
Andreas
---

Joseph Santolan:

Hi,

I am trying Jitsi to work over Tor. I am working on this in
particular with an eye to getting Jitsi functional within the Tails
distro (tails.boum.org)

I have adjusted the global proxy settings in keeping with my Tor
network. (Socks5, 127.0.0.1, 9150), no proxy username or password.

When I then attempt to login I get the error message: "An error
occured while logging in with account: User name jsantolan@jit.si,
Server name: Jabber: jit.si"

If I set Proxy to none, everything works fine.

I am running Jitsi 2.3.4671.9750 on !#, a Debian distro.

Here is the terminal output from starting Jitsi with the Socks5
proxy settings: ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable
to open slave ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown
PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate)
Unknown PCM cards.pcm.center_lfe ALSA lib
pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA
lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open)
unable to open slave 17:23:26.700 SEVERE: [50]
util.account.LoginManager.run().439 Failed to register protocol
provider. java.lang.NullPointerException at
net.java.sip.communicator.plugin.globalproxyconfig.GlobalProxyPluginActivator$AuthenticatorImpl.getPasswordAuthentication(GlobalProxyPluginActivator.java:262)

at

java.net.Authenticator.requestPasswordAuthentication(Authenticator.java:248)

at java.net.SocksSocketImpl$2.run(SocksSocketImpl.java:162)

at java.net.SocksSocketImpl$2.run(SocksSocketImpl.java:160) at
java.security.AccessController.doPrivileged(Native Method) at
java.net.SocksSocketImpl.authenticate(SocksSocketImpl.java:158) at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:472) at
java.net.Socket.connect(Socket.java:579) at
java.net.Socket.connect(Socket.java:528) at
java.net.Socket.<init>(Socket.java:425) at
java.net.Socket.<init>(Socket.java:208) at
org.jivesoftware.smack.proxy.Socks5ProxySocketFactory.socks5ProxifiedSocket(Socks5ProxySocketFactory.java:71)

at

org.jivesoftware.smack.proxy.Socks5ProxySocketFactory.createSocket(Socks5ProxySocketFactory.java:29)

at

org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:527)

at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:976)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1153)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:937)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:876)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:671)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:474)

at

net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:431)

  All help is much appreciated.

Sincerely,

Joseph Santolan

_______________________________________________ dev mailing list
dev@jitsi.org Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org


#4

Emil Ivov:

[Resent due to mail problem. Added a bit of info.]

Hi Joseph,

did you ever receive a reply to that question (from 2013-06-05)? Was
the issue resolved?

No, we haven't had a chance to look into it yet. We are planning to.

I have seen mails according to which SOCKS5 in Jitsi might be broken
or incompletely implemented.

Any more details? We are simply using that Java SOCKS support.

I found this mailing list thread:
https://lists.torproject.org/pipermail/tor-talk/2013-June/028691.html

a forum page:
https://anonymous-proxy-servers.net/forum/viewtopic.php?f=9&t=7396&view=next

and this:
https://java.net/nonav/projects/jitsi/lists/users/archive/2013-04/message/51

Admittedly however, this hasn't been our most popular feature so far and
I expect spider webs to have crept all over it.

The links above point to discussion from April, May and June this year.
Interest seems to have increased a little bit.

I am not yet convinced that Jitsi in Tails really requires its own
SOCKS5 support. But that question probably is off-topic here.

Cheers,
Andreas

···

On 30.08.13, 09:49, Andreas Kuckartz wrote: