Commit graph

141 commits

Author SHA1 Message Date
ljf
d8feb1b72a [enh] Add RBL check 2020-04-18 17:08:46 +02:00
Alexandre Aubin
db347115fc In fact we can't have a hard dependency on dnsrecords here, otherwise no check are performed until the dnsrecords have no important issue ... 2020-04-18 03:24:31 +02:00
Alexandre Aubin
749ca54a34 More sensible cache_duration for diagnosis categories 2020-04-18 02:53:15 +02:00
Alexandre Aubin
61ef67252e Don't contact ip6.yunohost if we can know right away that there's no IPv6 at all on the system 2020-04-17 19:38:46 +02:00
Alexandre Aubin
2c26961314 Fix bad copy pasta for string key 2020-04-17 03:20:40 +02:00
Alexandre Aubin
4306db7cf1 Be more flexible about SPF record: just 'a mx -all' is enough, no need to specify IP. (also fix TXT record validation in diagnosis) 2020-04-17 03:20:40 +02:00
Alexandre Aubin
dd7b42d3e8 Add ipv6 check for ports 2020-04-17 03:20:40 +02:00
Alexandre Aubin
be0da3b9dc Only report an INFO is domain ain't accessible in IPv6 and there's in fact no AAAA record set yet 2020-04-17 03:20:40 +02:00
Alexandre Aubin
4e64e2ccfd Save a per-record result for DNS diagnosis and report missing AAAA as warning only 2020-04-17 03:20:40 +02:00
Alexandre Aubin
e8730ad92b Correctly handle cases where domain works in IPv4 but not IPv6 or viceversa 2020-04-17 03:20:40 +02:00
Alexandre Aubin
7f3cc33487 Add a static method to call remote diagnosis and supports ipv4-only or ipv6-only check 2020-04-17 03:20:40 +02:00
Alexandre Aubin
a85c15dd0b Update data/hooks/diagnosis/50-systemresources.py
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-17 03:20:40 +02:00
Alexandre Aubin
4787f0ce04 Rework diagnosis of system resources 2020-04-17 03:20:40 +02:00
Alexandre Aubin
416968bb28 Improve regenconf diagnosis 2020-04-17 03:20:40 +02:00
Alexandre Aubin
92d9d49a05 Fix resolvconf check 2020-04-17 03:20:40 +02:00
Alexandre Aubin
bfe3f415ca Report bad XMPP DNS records as warning for now 2020-04-17 03:20:40 +02:00
Alexandre Aubin
16b2340441 Uhoh typo again 2020-04-17 03:20:40 +02:00
Alexandre Aubin
093ccd8020 Make sure that there's no AAAA records when no ipv6 2020-04-17 03:20:40 +02:00
Alexandre Aubin
ae82fe3693 Improve the way we check DNS records to avoid false negative on TXT or MX 2020-04-17 03:20:40 +02:00
Alexandre Aubin
d16dab1c44 Uhoh typo 2020-04-17 03:20:40 +02:00
Alexandre Aubin
42293fcce3 Attempt to detect hairpinning 2020-04-17 03:20:40 +02:00
Alexandre Aubin
2f0a95645a Hmpf boring resolvconf shit 2020-04-17 03:20:40 +02:00
Alexandre Aubin
f9dd634ebe Detect if nginx conf does not include well-known diagnosis location 2020-04-17 03:20:40 +02:00
Alexandre Aubin
8cb2640872 Fix usage of systemd-detect-virt on baremetal 2020-04-17 03:20:40 +02:00
Alexandre Aubin
7c3cce6bf9 Try to diagnose and add details about global and local IPs 2020-04-17 03:20:40 +02:00
Alexandre Aubin
3cff370c62 Add some bits of magic to simplify the way we yield test items 2020-04-17 03:20:40 +02:00
Alexandre Aubin
f0c0f63bb4 Let's use dict for details data, much better for semantic when defining strings etc... 2020-04-17 03:20:40 +02:00
Alexandre Aubin
8e83f8aa29 Add a 'yunohost diagnosis get' to get one specific raw info 2020-04-17 03:20:40 +02:00
Alexandre Aubin
f032ba16cc Only diagnose basic records for subdomains 2020-04-05 20:23:32 +02:00
Alexandre Aubin
526a3a25c9 Remote diagnoser also returns code 400 or 418 when port / http ain't correctly exposed 2020-03-26 19:38:34 +01:00
Alexandre Aubin
aaa9805ff2 Add detection for virt + arch + board model in basesystem diagnosis 2020-03-25 04:01:33 +01:00
Alexandre Aubin
de879e1d30 Merge branch 'fix-diagnosis-server-bad-response' into stretch-unstable 2020-03-22 01:46:06 +01:00
Alexandre Aubin
fff2fcd67c Simplify identation (and diff) by reversing the if statement 2020-03-22 01:41:58 +01:00
Alexandre Aubin
4399c9b740 Tweak exception messages to hopefully help debugging if this happens 2020-03-22 01:40:02 +01:00
Alexandre Aubin
cc2288cc21 Rename http diagnoser to web, should feel slightly less technical 2020-03-21 23:10:56 +01:00
Alexandre Aubin
937d339631 Add category to services to have more meaningful messages in reports about port forwarding checks 2020-03-21 23:09:47 +01:00
Alexandre Aubin
69bc12454e Reorder DNS tests to avoid random order in rendering 2020-03-21 23:09:47 +01:00
Kay0u
87a3ceb983
[FIX] bad response from the server 2020-01-25 20:49:29 +07:00
Alexandre Aubin
4ab3653dfb Add tip about how to fix / investigate broken services 2019-11-22 15:47:26 +01:00
Alexandre Aubin
09bbd733b1 Disabling this report for now because it returns many warnings which are probably not important... 2019-11-20 18:38:23 +01:00
Alexandre Aubin
4636bd20e1 Add diagnosis details for issues detected for HTTP exposure 2019-11-20 17:12:23 +01:00
Alexandre Aubin
69b611bd28
Merge branch 'stretch-unstable' into improve-service-status-checks 2019-11-14 17:16:44 +01:00
Alexandre Aubin
cfabb83c0e Use Yunohost's server instead of tmp server 2019-11-14 15:40:48 +01:00
Alexandre Aubin
a9dd701824 Improve port diagnosis by adding a relation between ports and services 2019-11-08 22:29:21 +01:00
Alexandre Aubin
64aff46421 Merge branch 'stretch-unstable' into improve-service-status-checks 2019-11-08 22:17:12 +01:00
Alexandre Aubin
104bba3dd8 Sort services during diagnosis to avoid random order 2019-11-08 20:44:27 +01:00
Alexandre Aubin
65d6b02b56 Implement basic outgoing port 25 check for email stack 2019-11-08 19:22:54 +01:00
Alexandre Aubin
e578140172 Improve service diagnoser, report details related to configuration tests 2019-11-07 22:22:09 +01:00
Alexandre Aubin
08c23599e2 Improve yunohost package version diagnosis 2019-11-06 23:49:13 +01:00
Alexandre Aubin
51e7a56522 Improve metadata for diskusage tests 2019-10-13 18:42:45 +02:00