Smack/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5
Martin Fidczuk ffd027cc7d
Use XMPP connection as local SOCKS5 address
The default local address is often just "the first address found in the list of addresses read from the OS" and this might mean an internal IP address that cannot reach external servers. So wherever possible use the same IP address being used to connect to the XMPP server because this local address has a better chance of being suitable.

This MR adds the above behaviour, and two UTs to test that we use the local XMPP connection IP when connected, and the previous behaviour when not.
2023-04-26 10:00:23 +01:00
..
packet Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
provider Replace legacy IQProvider with IqProvider 2022-04-02 16:02:46 +02:00
InitiationListener.java Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
Socks5BytestreamListener.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
Socks5BytestreamManager.java Use XMPP connection as local SOCKS5 address 2023-04-26 10:00:23 +01:00
Socks5BytestreamRequest.java Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
Socks5BytestreamSession.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
Socks5Client.java s/occured/occurred/ 2019-10-30 12:02:36 +01:00
Socks5ClientForInitiator.java Call XMPPConnection.sendIqRequestAndWaitForResponse(IQ) where possible 2021-05-12 10:12:40 +02:00
Socks5Exception.java Add Socks5Exception and improve SOCKS5 bytestream exception messages 2019-05-08 11:07:18 +02:00
Socks5Proxy.java Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
Socks5Utils.java Introduce SmackMessageException 2019-02-10 21:50:39 +01:00
package-info.java Add missing package-info descriptions. 2018-02-21 16:47:11 +01:00