[jitsi-dev] Jitsi via SSH as Socks Proxy


#1

Hi,

as I'm behind provider's router I constantly have to run VoIP traffic trough Jingle Nodes which from my jit.si address only. I came across the possibility to use Open sshd as a SOCKS4 or 5 server. OK, i tried it's function with my Firefox webbrowser and it works fine. Unfortunately, Jitsi does not seem to like it. The log shows connection problems with the proxy:

jitsi
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_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
23:13:25.739 SEVERE: [73] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords().843 Error connecting to CHaT.FACebOok.CoM./69.171.241.10:5222 for domain:chat.facebook.com serviceName:chat.facebook.com
XMPPError connecting to 69.171.241.10:5222.: remote-server-error(502) XMPPError connecting to 69.171.241.10:5222.
-- caused by: org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: *Malformed reply from SOCKS serve*r
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:540)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
Nested Exception:
org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.socks4ProxifiedSocket(Socks4ProxySocketFactory.java:196)
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.createSocket(Socks4ProxySocketFactory.java:29)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:528)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
23:13:25.815 SEVERE: [59] impl.protocol.sip.ProtocolProviderServiceSipImpl.register().310 No address found for ProtocolProviderServiceSipImpl(621@fritz.box (SIP))
23:13:26.290 SEVERE: [92] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords().843 Error connecting to xmpp-gmx.gmx.net./213.165.65.40:5222 for domain:gmx.de serviceName:gmx.de
XMPPError connecting to 213.165.65.40:5222.: remote-server-error(502) XMPPError connecting to 213.165.65.40:5222.
-- caused by: org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:540)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
Nested Exception:
org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.socks4ProxifiedSocket(Socks4ProxySocketFactory.java:196)
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.createSocket(Socks4ProxySocketFactory.java:29)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:528)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
23:13:26.317 SEVERE: [96] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords().843 Error connecting to xmpp.jit.si./130.79.91.169:5222 for domain:jit.si serviceName:jit.si
XMPPError connecting to 130.79.91.169:5222.: remote-server-error(502) XMPPError connecting to 130.79.91.169:5222.
-- caused by: org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:540)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
Nested Exception:
org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.socks4ProxifiedSocket(Socks4ProxySocketFactory.java:196)
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.createSocket(Socks4ProxySocketFactory.java:29)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:528)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
23:13:26.413 SEVERE: [100] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords().843 Error connecting to jabberd.jabber.ccc.de./217.10.10.196:5222 for domain:jabber.ccc.de serviceName:jabber.ccc.de
XMPPError connecting to 217.10.10.196:5222.: remote-server-error(502) XMPPError connecting to 217.10.10.196:5222.
-- caused by: org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:540)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
Nested Exception:
org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.socks4ProxifiedSocket(Socks4ProxySocketFactory.java:196)
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.createSocket(Socks4ProxySocketFactory.java:29)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:528)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
23:13:26.625 SEVERE: [96] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords().843 Error connecting to xmpp.jit.si./2001:660:4701:1001:230:48ff:fe8b:6b80:5222 for domain:jit.si serviceName:jit.si
XMPPError connecting to 2001:660:4701:1001:230:48ff:fe8b:6b80:5222.: remote-server-error(502) XMPPError connecting to 2001:660:4701:1001:230:48ff:fe8b:6b80:5222.
-- caused by: org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:540)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
Nested Exception:
org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.socks4ProxifiedSocket(Socks4ProxySocketFactory.java:196)
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.createSocket(Socks4ProxySocketFactory.java:29)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:528)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
23:13:26.740 SEVERE: [100] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords().843 Error connecting to jabberd.jabber.ccc.de./217.10.10.196:80 for domain:jabber.ccc.de serviceName:jabber.ccc.de
XMPPError connecting to 217.10.10.196:80.: remote-server-error(502) XMPPError connecting to 217.10.10.196:80.
-- caused by: org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:540)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
Nested Exception:
org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.socks4ProxifiedSocket(Socks4ProxySocketFactory.java:196)
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.createSocket(Socks4ProxySocketFactory.java:29)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:528)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
23:13:26.940 SEVERE: [96] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords().843 Error connecting to swing.bluejimp.com./130.79.91.169:5222 for domain:jit.si serviceName:jit.si
XMPPError connecting to 130.79.91.169:5222.: remote-server-error(502) XMPPError connecting to 130.79.91.169:5222.
-- caused by: org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:540)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
Nested Exception:
org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.socks4ProxifiedSocket(Socks4ProxySocketFactory.java:196)
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.createSocket(Socks4ProxySocketFactory.java:29)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:528)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
23:13:27.062 SEVERE: [96] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords().843 Error connecting to swing.bluejimp.com./2001:660:4701:1001:230:48ff:fe8b:6b80:5222 for domain:jit.si serviceName:jit.si
XMPPError connecting to 2001:660:4701:1001:230:48ff:fe8b:6b80:5222.: remote-server-error(502) XMPPError connecting to 2001:660:4701:1001:230:48ff:fe8b:6b80:5222.
-- caused by: org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:540)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
Nested Exception:
org.jivesoftware.smack.proxy.ProxyException: Proxy Exception SOCKS4 : java.net.SocketException: Malformed reply from SOCKS server
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.socks4ProxifiedSocket(Socks4ProxySocketFactory.java:196)
at org.jivesoftware.smack.proxy.Socks4ProxySocketFactory.createSocket(Socks4ProxySocketFactory.java:29)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:528)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:977)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1186)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:897)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords(ProtocolProviderServiceJabberImpl.java:837)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:649)
at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:454)
at net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
23:13:30.902 SEVERE: [134] impl.protocol.sip.ProtocolProviderServiceSipImpl.register().310 No address found for ProtocolProviderServiceSipImpl(621@fritz.box (SIP))

and so on and so for. The proxy complains as well:

ssh -D 1080 -N -v root@....de
OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to ...
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.7p1 Debian-8ubuntu3
debug1: match: OpenSSH_4.7p1 Debian-8ubuntu3 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA...
The authenticity of host ...
RSA key fingerprint is ...
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ...
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Next authentication method: password
... password:
debug1: Authentication succeeded (password).
Authenticated to... :22).
debug1: Local connections to LOCALHOST:1080 forwarded to remote address socks:0
debug1: Local forwarding listening on ::1 port 1080.
debug1: channel 0: new [port listener]
debug1: Local forwarding listening on 127.0.0.1 port 1080.
debug1: channel 1: new [port listener]
debug1: Entering interactive session.
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 3: new [dynamic-tcpip]
channel 3: open failed: connect failed: Connection refused
debug1: channel 3: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51342, nchannels 4
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 3: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51341, nchannels 4
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
channel 3: open failed: connect failed: Connection refused
debug1: channel 3: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51343, nchannels 4
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 3: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51344, nchannels 5
channel 4: open failed: connect failed: Connection refused
debug1: channel 4: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51345, nchannels 4
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51346, nchannels 4
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51347, nchannels 5
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
channel 4: open failed: connect failed: Connection refused
debug1: channel 4: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51348, nchannels 5
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 5: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51349, nchannels 6
channel 5: open failed: connect failed: Connection refused
channel 4: open failed: connect failed: Connection refused
debug1: channel 4: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51350, nchannels 5
debug1: channel 5: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51351, nchannels 4
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
channel 4: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51352, nchannels 5
debug1: channel 4: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51353, nchannels 4
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 5: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 6: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
channel 4: open failed: connect failed: Connection refused
channel 5: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51354, nchannels 7
debug1: channel 4: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51355, nchannels 6
debug1: channel 5: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51356, nchannels 5
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51358, nchannels 6
channel 4: open failed: connect failed: Connection refused
debug1: channel 4: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51359, nchannels 5
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51360, nchannels 6
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 5: new [dynamic-tcpip]
channel 4: open failed: connect failed: Connection refused
debug1: channel 4: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51361, nchannels 7
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
debug1: channel 6: free: direct-tcpip: listening port 1080 for 157.56.123.81 port 1863, connect from 127.0.0.1 port 51357, nchannels 7
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51362, nchannels 6
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
channel 4: open failed: connect failed: Connection refused
debug1: channel 4: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51364, nchannels 6
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51365, nchannels 5
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51366, nchannels 5
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51367, nchannels 5
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51368, nchannels 6
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51370, nchannels 6
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for 127.0.0.1 port 1080, connect from 127.0.0.1 port 51371, nchannels 6
debug1: channel 4: free: direct-tcpip: listening port 1080 for 65.54.165.136 port 443, connect from 127.0.0.1 port 51369, nchannels 5
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
debug1: channel 2: free: direct-tcpip: listening port 1080 for 64.4.26.37 port 443, connect from 127.0.0.1 port 51372, nchannels 6
debug1: channel 4: free: direct-tcpip: listening port 1080 for 65.55.246.149 port 443, connect from 127.0.0.1 port 51373, nchannels 5
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 4: new [dynamic-tcpip]
debug1: channel 2: free: direct-tcpip: listening port 1080 for 64.4.26.37 port 443, connect from 127.0.0.1 port 51374, nchannels 6
debug1: channel 4: free: direct-tcpip: listening port 1080 for 65.55.246.149 port 443, connect from 127.0.0.1 port 51375, nchannels 5
debug1: Connection to port 1080 forwarding to socks port 0 requested.
debug1: channel 2: new [dynamic-tcpip]

I run Linux Mint 14 and a recent Jitsi. configured in Jitsi: localhost and port 1080 - left out account and password.

Strangely iptel.org (SIP) and MSN connect- all Jabber connections fail. SOCKS 4 or 5 do not make a difference.

Has anyone an idea what's going on here? Is it specific to OpenSSH or is it general proxy issue? Is there a way around? Has anyone managed to connect via SOCKS using SSH?

It might not be in time for V2.0 -but it would be cool to use a SOCKS proxy to circumvent nasty NAT routers. Or perhaps should I install another SOCKS proxy (from wich I refrained so far for security reasons)

Thank you in advance for your help

Conrad