Commit Graph
100 Commits
Author SHA1 Message Date
Dirk Wetter d662b7bfec add .git dir
see https://github.com/codespell-project/actions-codespell/issues/56
2023-03-12 16:10:56 +01:00
Dirk Wetter 16450e3d4f add codespell corrections (aNULL) 2023-03-12 16:06:02 +01:00
Dirk WetterandGitHub d6c0b33736 Update .gitignore
sync with 3.1dev
2023-03-12 15:59:47 +01:00
Dirk WetterandGitHub b8bb3ef747 Merge pull request #2327 from drwetter/fix_mime-type-3.0
Fix Accept Header (3.0)
2023-02-20 20:29:46 +01:00
Dirk 96a4eb99ad Fix Accept Header (3.0)
see #2325. This is for the 3.0 branch (for 3.1dev see #2326)

"whenever HTTP/1.1 is used then the Accept header uses "text/*" as a MIME type.
This causes some minor issues with some of the checks we are doing"
2023-02-20 15:14:34 +01:00
Dirk WetterandGitHub bd310489d1 Merge pull request #2322 from dcooper16/30_no_grade
Remove set_grade_cap() from 3.0
2023-02-07 08:59:09 +01:00
Dirk WetterandGitHub 3bacce4770 Merge pull request #2319 from SSLbrain/3.0
Feature request Trustcor certificate #2293 for 3.0
2023-02-05 19:21:15 +01:00
Dirk WetterandGitHub 4a2b258425 Merge pull request #2318 from dcooper16/fix_html_30
Fix HTML output in Bash 5.2 and newer
2023-02-04 09:24:07 +01:00
Dirk WetterandGitHub cd2eef30ea Merge pull request #2307 from drwetter/upgrade_alpine_perf-fix-3.0
Upgrade Alpine version for both Dockerfiles (3.0)
2023-02-01 19:49:12 +01:00
Dirk Wetter cd66c90054 Upgrade Alpine version for both Dockerfiles (3.0)
... to improve/mitigate performance problems, see #2299. (musl libc vs. glibc)

Same PR as for 3.1dev branch: #2306
2023-02-01 19:47:38 +01:00
Dirk WetterandGitHub d01ded1fd0 Merge pull request #2283 from drwetter/drwetter-patch-3
Reflect past update for Dockerfile (3.0) for ghcr
2022-11-28 17:09:37 +01:00
Dirk WetterandGitHub 801930736f Reflect past update for Dockerfile (3.0) for ghcr
... using alpine 3.15
2022-11-28 14:13:56 +01:00
Dirk WetterandGitHub 6b91a60a7a Merge pull request #2274 from dcooper16/fix2249
Fix #2249
2022-11-11 16:30:12 +01:00
Dirk WetterandGitHub 3261e6e7a9 Merge pull request #2273 from dcooper16/fix2271_30
Fix #2271
2022-11-11 16:28:48 +01:00
Dirk WetterandGitHub 52fe210e76 Merge pull request #2269 from drwetter/mastodon-3.0
Hint for mastodon
2022-11-10 16:33:10 +01:00
Dirk WetterandGitHub 1172327509 Hint for mastodon
... ... and to a separate account
2022-11-10 15:14:21 +01:00
Dirk WetterandGitHub 87bae00fa5 Merge pull request #2267 from drwetter/workflow_update_3.0
Restrict permissions, update actions
2022-11-10 10:55:39 +01:00
Dirk WetterandGitHub 9eeb93625d Merge pull request #2263 from dcooper16/run_pfs_infinite_loop
Fix infinite loop in run_pfs()
2022-11-10 10:49:33 +01:00
Dirk Wetter b8afca6be1 Restrict permissions, update actions
The actions release numbers were taken from the 3.1dev branch.

    Note: there was one strange codespell error in PR #2263.
    Maybe the updated action will avoid this in the future.
2022-11-10 10:35:43 +01:00
Dirk WetterandGitHub abdd51d815 Merge pull request #2231 from drwetter/bump_version
Bump version
2022-09-28 09:19:37 +02:00
Dirk WetterandGitHub 3ad9c6edd0 Merge pull request #2243 from ghen2/grep-3.8
Fix grep 3.8 warnings on unneeded escapes of hyphen, slash, space.
2022-09-18 19:21:06 +02:00
Dirk WetterandGitHub 6e68763885 Merge pull request #2240 from dcooper16/neat_lis_alignment_30
Fix alignment in neat_list()
2022-09-16 09:15:17 +02:00
Dirk 884319948e Bump version 2022-09-07 10:49:19 +02:00
Dirk WetterandGitHub 8eb177aa45 Merge pull request #2230 from drwetter/new_binaries_3.0
New binaries 3.0
2022-09-07 10:39:36 +02:00
Dirk 1af2aa6106 Review text, renew some paragraphs
.. and update links, reflect name change to -bad
2022-09-07 10:30:08 +02:00
Dirk 5eb07e1270 Add Darwin binary from #2224 2022-09-07 10:26:02 +02:00
Dirk 8aa59d4a9a New FreeBSD x64 binary 2022-09-07 10:26:02 +02:00
Dirk 714e7049eb New Linux 32 binary 2022-09-07 10:26:02 +02:00
Dirk 35470087b5 Add newer Linux 64 bit binaries
* supporting xmpp-server, see #1575, #1589
* address security bug, see #2179
2022-09-07 10:25:51 +02:00
Dirk WetterandGitHub 01e6535ec1 Merge pull request #2226 from dcooper16/fix_ct_30
Fix certificate_transparency()
2022-09-07 10:18:59 +02:00
Dirk WetterandGitHub 14ebd0fe5d Merge pull request #2228 from dcooper16/fix_data_after_finished_30
Fix decrypting TLS 1.3 server response
2022-09-07 10:17:14 +02:00
Dirk WetterandGitHub bac8cb73f6 Merge pull request #2219 from dcooper16/fix2198_30
Fix #2198
2022-08-26 10:12:40 +02:00
Dirk WetterandGitHub bed3cbe792 Merge pull request #2216 from drwetter/alpine3.15-dockerfile_3.0
Upgrade Alpine version to the latest stable -1
2022-08-22 20:27:24 +02:00
Dirk 594fabe5c5 Address codespell issue in roff file
... by regenerating it with a newer ronn version.
2022-08-22 20:25:08 +02:00
Dirk WetterandGitHub 1154a6bc25 Upgrade Alpine version to the latest stable -1
3.15
2022-08-22 16:35:23 +02:00
Dirk WetterandGitHub c730d9529e Merge pull request #2202 from drwetter/certupdate_3.0
Cert update (3.0)
2022-07-03 16:22:18 +02:00
Dirk Wetter b148f68a85 Update README.md 2022-07-02 22:29:44 +02:00
Dirk c9dd2320ee Remove the expired DST Root CA X3 cert from ...
Apple / Linux / Microsoft stores
2022-07-02 22:29:04 +02:00
Dirk 721d1ab560 Reference to remove DST Root CA 2022-07-02 22:29:04 +02:00
Dirk af84d0ca4c add new stores 2022-07-02 22:29:04 +02:00
Dirk f04aa2fe03 Java.pem from Oracle jdk-17.0.3.1 2022-07-02 22:29:04 +02:00
Dirk 8a7a321e35 Apple.pem: picked from Internet (see etc/Readme.md) 2022-07-02 22:29:04 +02:00
Dirk 31e2c014bc add loop for Apple.pem 2022-07-02 22:29:04 +02:00
Dirk 0248d112ce fine tune instructions for Apple.pem 2022-07-02 22:29:04 +02:00
Dirk e6cfb364a9 Update cert store: Linux + Mozilla 2022-07-02 22:29:04 +02:00
Dirk WetterandGitHub b1c5a33cec Merge pull request #2192 from drwetter/update_clients1_3.0
Update client simulation for 3.0
2022-05-31 21:53:48 +02:00
Dirk Wetter 95b687b0a9 Add a few files to be ignored.. 2022-05-31 20:26:03 +02:00
Dirk Wetter 6ac9c59135 correct ch_{ciphers,sni}
That was due to a copy error from 3.1dev.
2022-05-31 20:08:37 +02:00
Dirk Wetter 445d20c360 Update client simulation for 3.0
see #2169, #2168

Added:
* Safari for macOS
* Java 17 LTS
* OpenSSL 3.0.3
* Android 11 and 12
* Go client (1.17)
* Firefox 100, Chrome and Edge 101 using Win10
* Thunderbird 91.9
* AppleMail
* LibreSSL from MacOS

* disabled Java 12 and Safari on OS X 10.12
* disabled Android < 6.0

* documention update how to add a client simulation
* add curves-mapping.txt file
2022-05-31 17:08:40 +02:00
Dirk WetterandGitHub 2ca53116ca Merge pull request #2190 from EliteTK/3.0-fix-crime-tls1.3
Fix CRIME test on servers only supporting TLS 1.3
2022-05-25 08:39:09 +02:00
Dirk WetterandGitHub 897443f035 Merge pull request #2185 from drwetter/censys_fix_2127.3.0
Fix censys link (3.0)
2022-05-14 13:50:25 +02:00
Dirk 78e67d8fff Shorten censys link
Remove sort order and fix the argument separator
2022-05-14 11:52:45 +02:00
Dirk d38a8b283d Backport #2184, Censys link
See #2127. The line is very long though: 152 chars
2022-05-14 11:42:43 +02:00
Dirk WetterandGitHub 41deaf908d Merge pull request #2170 from drwetter/fix_banner_3.0
Fix banner and remove STARTTLS NNTP CI check
2022-05-04 12:12:39 +02:00
Dirk Wetter a773f00fce Fix banner and remove STARTTLS NNTP CI check
On macOS in dark mode the git tag in grey wasn't visible. It was
changed now to light grey. It also works at least on Linux
using a light terminal background.

The NNTP server which we used for STARTTLS checks seems ofen
not to work. Thus this PR removes that for the 3.0 branch.
2022-05-04 10:56:16 +02:00
Dirk WetterandGitHub 980ec6ba33 Merge pull request #2166 from dcooper16/backport_2157_2160_2162
Backport #2157, #2160, #2162
2022-05-03 21:11:30 +02:00
Dirk WetterandGitHub 793eaa3f84 Merge pull request #2165 from drwetter/ftp_starttls_auth_only_3.0
Relax STARTTLS FTP requirement (3.0)
2022-04-28 07:30:51 +02:00
Dirk 405f431612 Relax STARTTLS FTP requirement (3.0)
In rare? occassions where the STARTTLS FEAT request only displays AUTH instead
of AUTH TLS, testssl.sh fails as it cannot upgrade to TLS.

Required by RFC 4217 is only AUTH ("MUST"), AUTH TLS is optional ("should"), see section 6.
This PR relaxes the presence of TLS after AUTH and fixes #2132 for the 3.0 branch.
2022-04-27 14:52:46 +02:00
Dirk WetterandGitHub 2eac75d5b5 Merge pull request #2155 from dcooper16/server_pref_no_default_protocol_30
Fix run_server_preference() with no default protocol
2022-04-24 18:12:19 +02:00
Dirk WetterandGitHub 0047e1f153 Merge pull request #2153 from dcooper16/no_session_id_30
Fix setting NO_SESSION_ID
2022-04-14 18:08:53 +02:00
Dirk WetterandGitHub 55785afb5e Merge pull request #2152 from dcooper16/fix2147_30
Fix getting CRL
2022-04-14 18:07:29 +02:00
Dirk WetterandGitHub a47bc2097e Merge pull request #2146 from dcooper16/ossl3_fix_30
More OpenSSL compatibility fixes
2022-04-12 18:51:06 +02:00
Dirk WetterandGitHub 395907a79f Merge pull request #2144 from dcooper16/ossl3_compat_30
OpenSSL compatibility fix
2022-04-07 21:34:30 +02:00
Dirk WetterandGitHub 4a5d93dad6 Merge pull request #2143 from dcooper16/fix2138_30
Fix #2138 in 3.0 branch
2022-04-07 21:27:32 +02:00
Dirk bc2c8d6eaa Remove trailing spaces to get rid of failing status of CI 2022-04-01 18:07:19 +02:00
Dirk WetterandGitHub 25ef6dc2ca Merge pull request #2136 from drwetter/drwetter-patch-1
fix markup of roff in doc/
2022-04-01 14:38:17 +02:00
Dirk WetterandGitHub 68a35b7610 fix markup of roff in doc/ 2022-04-01 14:37:30 +02:00
Dirk WetterandGitHub 1f846f73d8 Merge pull request #2135 from drwetter/drwetter-patch-1
docs --> doc
2022-04-01 14:13:20 +02:00
Dirk WetterandGitHub 084990a890 docs --> doc
fix wrong dir for CI
2022-04-01 14:12:56 +02:00
Dirk WetterandGitHub 2078ca52a8 Merge pull request #2134 from drwetter/2074_md_fixes.3.0
Implement fixes in documentation from #2074 (3.0)
2022-04-01 14:08:45 +02:00
Dirk 61c4aa2cb7 Implement fixes in documentation from #2074 (3.0)
kudos @k0lter

  * numbering
  * some ticks / backticks
2022-04-01 14:03:06 +02:00
Dirk WetterandGitHub 7733140e6e Merge pull request #2126 from drwetter/drwetter-patch-1
Remove reference to fixed 3.0.x version
2022-03-16 17:00:17 +01:00
Dirk WetterandGitHub 9e14cbf255 Remove reference to fixed 3.0.x version 2022-03-16 16:59:50 +01:00
Dirk WetterandGitHub 21fdf5f2de Merge pull request #2121 from dcooper16/ffdhe_supported_groups
Add FFDHE groups to supported_groups
2022-03-09 22:08:44 +01:00
Dirk WetterandGitHub 5e9ee13780 Merge pull request #2119 from dcooper16/rsapss
Include RSA-PSS in ClientHello
2022-03-09 14:14:44 +01:00
Dirk WetterandGitHub 5bd2952108 Merge pull request #2109 from drwetter/bump_version_3.0
Bump version in 3.0 branch
2022-02-19 14:38:16 +01:00
Dirk Wetter 06821e31ff Codespell 2022-02-19 14:37:14 +01:00
Dirk Wetter 7729fd1267 Add a few items 2022-02-19 14:28:24 +01:00
Dirk Wetter c6dce9d8b3 Bump patch version number 2022-02-17 09:10:41 +01:00
Dirk WetterandGitHub f96df1138b Merge pull request #2107 from drwetter/fix_2096.3.0
Fix "ID resumption test failed" under Darwin (3.0)
2022-02-17 09:04:57 +01:00
Dirk Wetter 93b9a37c0c Fix "ID resumption test failed" under Darwin (3.0)
Under Darwin using LibreSSL it was not possible to test for session
resumption by session ID.

This fixes the issue #2096 for 3.0 by checking not only the return value of the
s_client hello but also whether a probable certificate is being returned.
2022-02-16 23:18:04 +01:00
Dirk WetterandGitHub de0f4f7a7e Merge pull request #2104 from drwetter/fix_2103
Fix JSON output bc of missing locale in alpine (3.0)
2022-02-16 12:18:26 +01:00
Dirk Wetter c511319683 Fix JSON output bc of missing locale in alpine (3.0)
It is now being tested whether the binary locale exists and
there's a global introduced for that.

Also there's no fileout warning at this early stage anymore
as it leads to non-valid JSON
2022-02-16 10:45:12 +01:00
Dirk WetterandGitHub a385339b10 Merge pull request #2102 from drwetter/fix_2100_3.0
Fix locale error message when en_US.UTF-8 isn't available (3.0)
2022-02-15 11:10:53 +01:00
Dirk Wetter f872bd5e3e fix typo 2022-02-14 19:54:08 +01:00
Dirk Wetter f149c7450a Fix locale error message when en_US.UTF-8 isn't available (3.0)
Therefore a new global function was declared checking whether any of
the known locales work on the client without seeting them.
C / POSIX should work as well for LC_COLLATE.

This fixes #2100 for 3.0 .
2022-02-14 19:52:14 +01:00
Dirk WetterandGitHub 8b2fae0e3b Merge pull request #2095 from drwetter/fix_2052.Darwin.3.0
Fix Darwin / LibreSSL startup problem (3.0)
2022-02-02 13:34:38 +01:00
Dirk Wetter 37c6d78bfa Fix Darwin / LibreSSL startup problem (3.0)
This PR addresses a bug where a user encountered the question "The results
might look ok but they could be nonsense. Really proceed".

That happened under Darwin and probably some LibreSSL versions when
checking some hosts. sclient_auth() returned 1 indicating no SSL/TLS
handshake could be established.

This PR modifies sclient_auth() so that in those cases 0 is returned by
skipping the check for the session ID. As NO_SSL_SESSIONID needs to
be set when there's no session ID. This is done separately.

This fixes #2052 for 3.0
2022-02-02 12:20:06 +01:00
Dirk WetterandGitHub 1809595576 Merge pull request #2082 from dcooper16/sclient_dev_null_30
Send /dev/null to s_client
2022-01-06 21:19:00 +01:00
Dirk WetterandGitHub 82f64a376a Merge pull request #2068 from drwetter/polish+fixhttpclockskew_3.0
Backport HTTP 'Age' header field
2021-12-10 17:43:10 +01:00
Dirk Wetter fab42dd477 Backport HTTP 'Age' header field
See #2032 / #2067, kudos @Wahnes. This is a backport for 3.0

    Currently, when "HTTP clock skew" is calculated, this is taken to be the
    difference between the timestamp of the moment the HTTPS request was sent and
    the date given in the HTTP Date header. This does not yield valid results in
    case a HTTP cache is used, either on the client side or on the server side.
    According to the HTTP specs, the Date field will contain the timestamp the
    response was created, which may not be the timestamp the response was
    delivered.

    Consider the following example that queries the Varnish project's web server.
    Note that Varnish is a popular HTTP caching server, so HTTP caching will of
    course be used when serving HTTP responses from this project's web server.
    testssl.sh https://varnish-cache.org/ This will typically output a HTTP clock
    skew of some thousand seconds.

    The patch takes into account the HTTP Age header that caching servers add to
    the HTTP response to signal the response's freshness. As client-side caches
    normally do not cache HTTPS requests (except maybe for "enterprise" HTTP proxy
    caches that do MITM HTTPS proxying), this is mostly targeted to HTTPS websites
    that employ server side HTTP caching.

    Addtional polishing:

    * address my comments in #2032
    * add JSON field HTTP_headerAge if they exists
    * output HTTP_AGE if it was detected
    * do stripping of line feeds closer to where variables were set
2021-12-10 15:27:43 +01:00
Dirk WetterandGitHub 2cd0ab5b82 Merge pull request #2065 from dcooper16/fix_json_header_30
Fix JSON header in 3.0
2021-12-09 13:17:28 +01:00
Dirk WetterandGitHub bc203c5b4c Merge pull request #2062 from dcooper16/update_host_depended_vars_30
Update reset_hostdepended_vars()
2021-12-08 15:28:22 +01:00
Dirk WetterandGitHub 89bd8294e2 Merge pull request #2058 from mspncp/git-simplify-worktree-check-3.0
Simplify check for git working tree in 3.0
2021-12-07 08:55:24 +01:00
Dirk WetterandGitHub 6a00a6037c Merge pull request #2051 from dcooper16/fix2049_30
Fix #2049 in 3.0
2021-11-30 14:41:46 +01:00
Dirk WetterandGitHub c076f5645b Merge pull request #2048 from drwetter/fix_badFileDescriptor_3.0
Fix for "Bad file descriptor" with --connect-timeout option (3.0)
2021-11-29 09:35:00 +01:00
Dirk 4a02dcb767 Fix for "Bad file descriptor" with --connect-timeout option (3.0)
This fixes #1834 and #1435 for branch 3.0. (3.1dev: #2047)

The --connect-timeout option had the problem that under certain circumstances
like parallel mass scanning didn't work. The culprit was that a subshell command
was used to connect to the target but the file descriptor wasn't exported.

The PR changes the logic so that the connect pre-check is still done in a subshell
If this fails it proceeds with error handling if NR_SOCKET_FAIL is above threshold.
Otherwise it just connects again.
2021-11-28 18:21:43 +01:00
Dirk WetterandGitHub f5bd5d3eac Merge pull request #2045 from dcooper16/fix_sub_cipherlists_30
Fix sub_cipherlists() in 3.0
2021-11-23 10:00:01 +01:00
Dirk WetterandGitHub 11325ff04e Merge pull request #2041 from dcooper16/ossl31_30
Support OpenSSL 3.0.1-dev and 3.1.0-dev
2021-11-11 17:02:23 +01:00
Dirk WetterandGitHub d43fa50022 Merge pull request #2027 from dcooper16/improve_cipher_pref_check_30
Improve cipher_pref_check() in 3.0
2021-10-27 21:03:19 +02:00