SMOLNET PORTAL home about changes
Running gemini server diagnostics check against typed-hole.org:1965
...

[IPv4Address] Establish a connection over an IPv4 address
Looking up IPv4 address for 'typed-hole.org'
  āœ“ '109.221.138.25'
Attempting to connect to 109.221.138.25:1965
  āœ“ Successfully established connection

[IPv6Address] Establish a connection over an IPv6 address
Looking up IPv6 address for 'typed-hole.org'
  Found IPv4-mapped address, skipping check

[TLSVersion] Server must negotiate at least TLS v1.2, ideally TLS v1.3
Checking client library
  'OpenSSL 1.1.1d  10 Sep 2019'
Determining highest supported TLS version
  Negotiated TLSv1.2

[TLSClaims] Certificate claims must be valid
Checking "Not Valid Before" timestamp
  āœ“ 2019-07-26 09:36:21 UTC
Checking "Not Valid After" timestamp
  āœ“ 2029-07-23 09:36:21 UTC
Checking subject claim matches server hostname
  {'subject': ((('commonName', 'typed-hole.org'),),), 'subjectAltName': ()}
  āœ“ Hostname 'typed-hole.org' matches claim

[TLSVerified] Certificate should be self-signed or have a trusted issuer
Connecting over verified SSL socket
  Self-signed TLS certificate detected

[TLSRequired] Non-TLS requests should be refused
Sending non-TLS request
  āœ“ ConnectionResetError(54, 'Connection reset by peer')

[ConcurrentConnections] Server should support concurrent connections
Attempting to establish two connections
  Opening socket 1
  Opening socket 2
  Closing socket 2
  Closing socket 1
  āœ“ Concurrent connections supported

[Homepage] Request the gemini homepage
Requesting URL
  'gemini://typed-hole.org/\r\n';
Response header
  '20\ttext/gemini\r\n'
Status should return a success code (20 SUCCESS)
  āœ“ Received status of '20'
Mime type should be "text/gemini"
  āœ“ 'text/gemini'
Header should end with "\r\n"
  āœ“ '\r\n'
Body should be non-empty
  āœ“ 'ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“\nā–’ā–’ā–’ā–’ā–’ā–’ā–’'
Body should terminate with a newline
  x '.'
Body should use "\r\n" line endings
  x Invalid line ending 'ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“\n'

[HomepageRedirect] A URL with no trailing slash should redirect to the canonical resource
Requesting URL
  'gemini://typed-hole.org\r\n';
Response header
  '20\ttext/gemini\r\n'
Status should return code 31 (REDIRECT PERMANENT)
  x '20'
Meta should redirect to location "gemini://hostname/";
  x 'text/gemini'
Header should end with "\r\n"
  āœ“ '\r\n'
Body should be empty
  x 'ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“ā–“\nā–’ā–’ā–’ā–’ā–’ā–’ā–’'

[PageNotFound] Request a gemini URL that does not exist
Requesting URL
  'gemini://typed-hole.org/09pdsakjo73hjn12id78\r\n';
Response header
  '51\tNot found\r\n'
Status should return code 51 (NOT FOUND)
  āœ“ '51'
Header should end with "\r\n"
  āœ“ '\r\n'
Body should be empty
  āœ“ ''

[RequestMissingCR] A request without a <CR> should timeout
Requesting URL
  'gemini://typed-hole.org/\n';
Response header
  '20\ttext/gemini\r\n'
No response should be received
  x '20'

[URLIncludePort] Send the URL with the port explicitly defined
Requesting URL
  'gemini://typed-hole.org/\r\n';
Response header
  '20\ttext/gemini\r\n'
Status should return a success code (20 SUCCESS)
  āœ“ Received status of '20'

[URLSchemeMissing] A URL without a scheme should be inferred as gemini
Requesting URL
  '//typed-hole.org/\r\n'
Response header
  ''
Status should return a success code (20 SUCCESS)
  x Received status of None

[URLByIPAddress] Send the URL using the IPv4 address
Requesting URL
  'gemini://109.221.138.25/\r\n';
Response header
  '20\ttext/gemini\r\n'
Verify that the status matches your desired behavior
  '20'

[URLInvalidUTF8Byte] Send a URL containing a non-UTF8 byte sequence
Requesting URL
  'gemini://typed-hole.org/\udcdc\r\n';
Response header
  '51\tNot found\r\n'
Connection should either drop, or return 59 (BAD REQUEST)
  x '51'

[URLMaxSize] Send a 1024 byte URL, the maximum allowed size
Requesting URL
  'gemini://typed-hole.org/0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r\n';
Response header
  '51\tNot found\r\n'
Status should return code 51 (NOT FOUND)
  āœ“ '51'

[URLAboveMaxSize] Send a 1025 byte URL, above the maximum allowed size
Requesting URL
  'gemini://typed-hole.org/00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r\n';
Response header
  '51\tNot found\r\n'
Connection should either drop, or return 59 (BAD REQUEST)
  x '51'

[URLWrongPort] A URL with an incorrect port number should be rejected
Requesting URL
  'gemini://typed-hole.org:443/\r\n';
Response header
  '20\ttext/gemini\r\n'
Status should return a failure code (5X PERMANENT FAILURE)
  x Received status of '20'

[URLWrongHost] A URL with a foreign hostname should be rejected
Requesting URL
  'gemini://wikipedia.org/\r\n';
Response header
  '20\ttext/gemini\r\n'
Status should return a failure code (5X PERMANENT FAILURE)
  x Received status of '20'

[URLSchemeHTTP] Send a URL with an HTTP scheme
Requesting URL
  'http://typed-hole.org/\r\n';
Response header
  '20\ttext/gemini\r\n'
Status should return a failure code (5X PERMANENT FAILURE)
  x Received status of '20'

[URLSchemeHTTPS] Send a URL with an HTTPS scheme
Requesting URL
  'https://typed-hole.org/\r\n';
Response header
  '20\ttext/gemini\r\n'
Status should return a failure code (5X PERMANENT FAILURE)
  x Received status of '20'

[URLSchemeGopher] Send a URL with a Gopher scheme
Requesting URL
  'gopher://typed-hole.org/\r\n';
Response header
  '20\ttext/gemini\r\n'
Status should return a failure code (5X PERMANENT FAILURE)
  x Received status of '20'

[URLEmpty] Empty URLs should not be accepted by the server
Requesting URL
  '\r\n'
Response header
  ''
Status should return a failure code (5X PERMANENT FAILURE)
  x 'NoneType' object has no attribute 'startswith'

[URLRelative] Relative URLs should not be accepted by the server
Requesting URL
  '/\r\n'
Response header
  ''
Status should return a failure code (5X PERMANENT FAILURE)
  x 'NoneType' object has no attribute 'startswith'

[URLDotEscape] A URL should not be able to escape the root using dot notation
Requesting URL
  'gemini://typed-hole.org/../../\r\n';
Response header
  '20\ttext/gemini\r\n'
Status should return a failure code (5X PERMANENT FAILURE)
  x Received status of '20'

Done!
Response: 20 (Success), text/plain
Original URLgemini://mozz.us/diagnostics/2020-01-08/results/typed-hol...
Status Code20 (Success)
Content-Typetext/plain; charset=utf-8