Smack/smack-extensions/src/main/java/org/jivesoftware/smackx
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
..
address Merge branch '4.4' 2021-06-25 15:08:36 +02:00
admin Re-work data form API 2020-05-13 20:14:41 +02:00
amp s/occured/occurred/ 2019-10-30 12:02:36 +01:00
attention Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
blocking Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
bob Replace legacy IQProvider with IqProvider 2022-04-02 16:02:46 +02:00
bookmarks Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
bytestreams Use XMPP connection as local SOCKS5 address 2023-04-26 10:00:23 +01:00
caps Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
chatstates s/ the the / the /g 2023-02-03 20:53:14 +01:00
commands s/ the the / the /g 2023-02-03 20:53:14 +01:00
delay Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
disco Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
filetransfer s/ the the / the /g 2023-02-03 20:53:14 +01:00
formtypes Merge branch '4.4' 2021-12-27 21:25:24 +01:00
forward Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
geoloc [geoloc] Mark Builder constructor as deprecated 2021-05-02 17:16:58 +02:00
iqlast Replace legacy IQProvider with IqProvider 2022-04-02 16:02:46 +02:00
iqprivate Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
iqregister Replace legacy IQProvider with IqProvider 2022-04-02 16:02:46 +02:00
iqversion Call XMPPConnection.sendIqRequestAndWaitForResponse(IQ) where possible 2021-05-12 10:12:40 +02:00
jingle Merge branch '4.4' 2023-03-17 18:20:20 +01:00
jiveproperties Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
last_interaction Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
mediaelement Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
message_correct Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
mood Do not call XmlPullParser.getName() when the event is unknown 2021-07-06 13:37:57 +02:00
muc Merge branch '4.4' 2023-03-17 18:20:20 +01:00
nick Add more QNAME fields to extension element classes 2021-04-18 17:23:34 +02:00
offline Replace legacy IQProvider with IqProvider 2022-04-02 16:02:46 +02:00
pep [extensions] Deprecate old-style PepManager PEP listeners 2020-05-25 20:32:47 +02:00
ping Replace legacy IQProvider with IqProvider 2022-04-02 16:02:46 +02:00
privacy Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
pubsub s/ the the / the /g 2023-02-03 20:53:14 +01:00
receipts Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
rsm Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
search Replace legacy IQProvider with IqProvider 2022-04-02 16:02:46 +02:00
sharedgroups Replace legacy IQProvider with IqProvider 2022-04-02 16:02:46 +02:00
shim Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
si Replace legacy IQProvider with IqProvider 2022-04-02 16:02:46 +02:00
softwareinfo Merge branch '4.4' 2021-12-27 21:25:24 +01:00
time Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
usertune [checkstyle] Tighten JavadocMethod checkstyle rule 2020-05-23 22:43:29 +02:00
vcardtemp Replace legacy IQProvider with IqProvider 2022-04-02 16:02:46 +02:00
xdata Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00
xdatalayout Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
xdatavalidation Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
xhtmlim Migrate markdown documentation to javadoc 2023-02-03 09:50:35 +01:00