lbry-sdk/lbrynet
Antonio Quartulli d827b4d5af platform ip: ensure daemon retrieves IPv4 address only
When contacting jsonip.com to retrieve the node external IP,
the connection might be established with IPv6 and thus return
an address belonging to that family.

This address is then used to initialize the external_ip member of
Daemon session, but unfortunately IPv6 is not yet handled well.

Using an IPv6 as external IP is currently breaking parts of the
Daemon resulting in no peer connectivity at all.

We should stick to IPv4 for time being.

http://jsonip.com/about says "ipv4-only":"https://ipv4.jsonip.com"

therefore, change the IP retrieval URL to ipv4.jsonip.com to
make sure the connection is established only using an IPv4 address.

Closes: https://github.com/lbryio/lbry/issues/971
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2017-10-31 06:59:40 -04:00
..
androidhelpers updated changelog 2017-08-18 12:29:38 +01:00
blob fix recording reader was closed 2017-10-11 14:45:36 -04:00
core platform ip: ensure daemon retrieves IPv4 address only 2017-10-31 06:59:40 -04:00
cryptstream remove unneeded _error function from CryptStreamCreator 2017-10-12 12:17:04 -04:00
daemon changes that jack pointed out 2017-10-25 12:36:54 -04:00
db_migrator remove last_announce_time 2017-08-28 10:43:57 -04:00
dht changelog 2017-10-30 13:09:02 -04:00
file_manager don't block file manager setup on all the streams being resumed 2017-10-23 01:17:54 -04:00
lbry_file lint, remove ununsed imports 2017-09-20 13:59:25 -04:00
pointtraderclient refactor conf.settings 2017-01-16 22:32:54 -05:00
reflector fix reading sd blob 2017-10-05 17:58:18 -04:00
tests Merge branch 'master' into android_tests_refactoring 2017-10-25 12:01:37 -04:00
winhelpers one less pylint exception 2017-04-19 14:59:06 -04:00
__init__.py Bump version 0.17.1 --> 0.17.2rc1 2017-10-30 13:11:04 -04:00
analytics.py fix error name 2017-09-28 15:45:24 -04:00
build_type.py minor 2017-03-15 16:33:41 -04:00
conf.py raised errors directly instead of wrapping with AssertionError 2017-10-11 07:59:30 +01:00
interfaces.py fixup long lines 2016-12-07 09:38:34 -05:00
undecorated.py pylint type checking 2017-04-25 14:36:14 -04:00