Daniel Gultsch
129f43a349
verify hostname is valid before letting user save it
2020-08-01 15:03:20 +02:00
genofire
d353372768
fix typo ( #3646 )
...
sorry, this makes me crazy
2020-02-29 15:02:36 +01:00
Daniel Gultsch
0f40e7e73b
fixed typo in resolver that cause hostnames not to be marked as authenticated (with DNSSec)
...
usually this wasn’t a problem as this is only the fallback after no IPs
have been discovered.
this also isn‘t a security issue as worst case is the hostname doesn’t get
accepeted as fallback in cert validation.
thanks @genofire for spotting this
2020-02-29 12:55:54 +01:00
genofire
5dd666257d
[BUGFIX] crash on resolve.toString if hostname is null ( #3635 )
2020-02-29 10:14:52 +01:00
Daniel Gultsch
571c29f92a
make Tor connections work with direct TLS
2019-09-05 12:08:58 +02:00
Alex Palaistras
aaf5fa816b
Reduce minSdkVersion
to 16, fix issues reported by lint
...
This further reduces the minimum API level to 16, which should encompass
most users stuck on older versions of Android (mainly BlackBerry OS and
Jolla users).
Several issues reported by code analysis were fixed, mainly around issues
with layouts.
2018-12-09 21:32:42 +00:00
Daniel Gultsch
ccf9c42d0d
don’t show edit nick on Conversations
2018-11-10 10:19:29 +01:00
Daniel Gultsch
2e2914ee78
fixed NPE after attempt to store user@ip style jid resolver result
2018-10-13 16:13:33 +02:00
Daniel Gultsch
db2107c093
clean up connection code. unify domain = ip and extended connection settings into fake resolver
2018-10-01 17:07:37 +02:00
Daniel Gultsch
681ce91ab8
do not run through connection loop after thread was interrupted and resolver returned 0 results
2018-09-26 14:39:04 +02:00
Daniel Gultsch
9015d0a1fc
interrupt sub thread in resolver
2018-09-26 10:18:56 +02:00
Daniel Gultsch
4930f22615
copy into new array when returning from resolver
2018-09-20 20:29:21 +02:00
Daniel Gultsch
be4c6bc2ca
speed up DNS
...
run queries in parallel
decrease timeout
do not fall back to google
2018-09-08 11:30:20 +02:00
Daniel Gultsch
f828b89cbd
skip empty srv records
2018-02-10 12:16:18 +01:00
Daniel Gultsch
e62b0ca320
fix NPE when writing Resolver.Result to disk
2018-01-22 23:20:58 +01:00
Daniel Gultsch
78c5c508b3
permanently cache last resolver result
2018-01-21 20:41:30 +01:00
Daniel Gultsch
e5becc2e12
slightly refactor dns resolver
2017-09-21 21:46:11 +02:00
Daniel Gultsch
881d4ad5b7
give exec resolver a lower priority over reflection. fixes #2629
2017-09-21 10:31:21 +02:00
Daniel Gultsch
911e392006
update mini dns
2017-08-05 15:17:10 +02:00
Daniel Gultsch
225cca4566
provide extra 'network is unreachable' account state
2017-08-02 18:58:51 +02:00
Daniel Gultsch
91119ab691
add reminder to remove minidns workarounds once those are fixed
2017-07-14 09:09:26 +02:00
Daniel Gultsch
7623accfd5
prefer DNS servers from VPNs
2017-07-12 22:19:45 +02:00
Daniel Gultsch
19c1484053
catch runtime exceptions from minidns
2017-07-11 23:24:09 +02:00
Daniel Gultsch
c5824a3b2a
catch all exceptions around minidns :(
2017-07-10 12:33:04 +02:00
Daniel Gultsch
abf84e065d
made DNSEC hostname validation opt-in
2017-07-10 09:59:25 +02:00
Daniel Gultsch
da00a58902
work around idn short comings in minidns
2017-07-10 08:50:01 +02:00
Daniel Gultsch
7cbef529ae
resolve non-srv domains in resolver class as well
...
this allows us to prefer ipv4
2017-07-10 08:49:22 +02:00
Daniel Gultsch
c400f74918
prefer ipv4 over ipv6
2017-07-09 19:05:23 +02:00
Daniel Gultsch
67bc032ccc
fixed fallback to normal DNS query after DNSSEC failed
2017-07-09 18:03:26 +02:00
Daniel Gultsch
c85b3bbacc
revised resolver strategy
2017-06-26 14:03:38 +02:00
Daniel Gultsch
6dad1c0dde
refactored resolver to fall back to DNS and use reliable method
2017-06-25 22:46:56 +02:00
Daniel Gultsch
4faf0f2ec9
use ResolverApi.reliable(..)
2017-06-25 19:30:03 +02:00
Daniel Gultsch
2c5250a82c
new resolver fall back to normal dns if dnssec verfication fails
2017-06-25 18:35:40 +02:00
Daniel Gultsch
2e380ed792
upgrade minidns. refactored dns utils
2017-06-21 23:28:01 +02:00