Smack/smack-core/src/main/java/org/jivesoftware/smack
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
..
altconnections Position parser at START_ELEMENT before parsing 2020-08-07 15:01:53 +05:30
bind2 Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
c2s Use XMPP connection as local SOCKS5 address 2023-04-26 10:00:23 +01:00
compress Add XMPP.(get|has)Feature(Class|QName) and deprecate (String, String) 2020-07-23 14:32:14 +02:00
compression Add XMPP.(get|has)Feature(Class|QName) and deprecate (String, String) 2020-07-23 14:32:14 +02:00
datatypes [ibb] Use UInt16 for 'seq' and fix its handling 2020-12-05 23:04:17 +01:00
debugger Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
filter Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
fsm [core] Check if the successor vertex exists in StateDescriptorGraph 2021-08-22 16:30:30 +02:00
initializer Introduce CloseableUtil 2018-08-15 17:25:22 +02:00
internal [core] Rework TLS logic 2020-05-25 15:41:57 +02:00
iqrequest Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
isr Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
packet Merge branch '4.4' 2023-03-17 18:20:20 +01:00
parsing Merge branch '4.4' 2022-02-03 08:43:32 +01:00
provider Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
proxy Added support for Java's Proxy class in ProxyInfo 2021-03-29 19:01:42 +05:30
sasl Merge branch '4.4' 2021-10-19 14:33:21 +02:00
util Merge branch '4.4' 2023-03-17 18:20:20 +01:00
AbstractConnectionClosedListener.java [core] Deprecate AbstractConnectionListener 2020-05-13 22:14:43 +02:00
AbstractConnectionListener.java [core] Deprecate AbstractConnectionListener 2020-05-13 22:14:43 +02:00
AbstractXMPPConnection.java Merge branch '4.4' 2023-03-17 18:20:20 +01:00
AsyncButOrdered.java core: improve AsyncButOrdered 2019-11-08 10:14:21 +01:00
ConnectionConfiguration.java [core] Add ConnectionConfiguration.getHostString() 2022-05-18 21:45:00 +02:00
ConnectionCreationListener.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
ConnectionListener.java Add callback method for when Smack is connecting 2020-07-18 12:50:08 +02:00
ExceptionCallback.java Merge branch '4.2' into master-paul-merged 2017-12-17 11:16:02 +01:00
Manager.java [core] Introduce ScheduledAction.Kind for blocking and non-blocking actions 2020-05-18 09:15:14 +02:00
MessageListener.java Enable javadoc checkstyle 2015-03-29 12:29:32 +02:00
NonzaCallback.java Move SASL logic into AbstractXMPPConnection 2019-09-25 13:49:21 +02:00
PacketListener.java Enable javadoc checkstyle 2015-03-29 12:29:32 +02:00
PresenceListener.java Enable javadoc checkstyle 2015-03-29 12:29:32 +02:00
ReconnectionListener.java Fix minor codestyle issues 2017-12-17 11:03:46 +01:00
ReconnectionManager.java [core] Deprecate AbstractConnectionListener 2020-05-13 22:14:43 +02:00
SASLAuthentication.java Merge branch '4.4' 2021-03-25 19:28:58 +01:00
ScheduledAction.java [core] Introduce ScheduledAction.Kind for blocking and non-blocking actions 2020-05-18 09:15:14 +02:00
Smack.java [core] Make Smack.getNoticeStream() more robust 2021-03-25 14:58:44 +01:00
SmackConfiguration.java Add non-blocking send 2022-08-03 16:57:57 +02:00
SmackException.java Add non-blocking send 2022-08-03 16:57:57 +02:00
SmackFuture.java Merge branch '4.4' 2022-02-03 08:43:32 +01:00
SmackInitialization.java core: use addCompressionHandler() instead directly adding to the list 2020-04-09 15:14:09 +02:00
SmackReactor.java [core] Correctly handle due time of '0' in SmackReactor 2022-02-06 17:38:50 +01:00
StanzaCollector.java Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
StanzaListener.java Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
UnparseableStanza.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
XMPPConnection.java Use XMPP connection as local SOCKS5 address 2023-04-26 10:00:23 +01:00
XMPPConnectionRegistry.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
XMPPException.java Add getter for the stanza associated with the exception 2021-10-17 16:06:41 +02:00
XmppInputOutputFilter.java Remove SynchronizationPoint 2020-05-31 19:48:47 +02:00
package-info.java Add JavadocPackage checkstyle 2015-04-04 17:16:47 +02:00