tor: Check if Onion service is version 3
- Only diagnose relay ports if feature enabled
- Check that the Onion service hostname contains 56 bytes before the .onion.
- Rename Hidden service to Onion service.
Helps: #2104
Tests:
- With relay enable, relay port diagnostic is passed.
- With relay disabled, relay port diagnostic is skipped.
- With bridge relay enabled, obfs ports diagnostics are passed.
- With bridge relay disabled, obfs ports diagnostics are skipped.
- With Onion service enabled, v3 check is passed.
- With Onion service disabled, v3 check is skipped.
Signed-off-by: James Valleroy jvalleroy@mailbox.org
Edited by James Valleroy