Commit Graph

52 Commits

Author SHA1 Message Date
nervuri f9c5f49b42 update golang.org/x/crypto from 0.14 to 0.21 2024-03-14 14:51:11 +00:00
nervuri 45ac21d7d8 update golang.org/x/crypto from 0.13 to 0.14 2023-10-16 15:36:20 +00:00
nervuri 5b1b699f6f tidy up Makefile 2023-10-16 15:35:41 +00:00
nervuri 89efe5d18f put JS code directly in index.html
This fixes a bug where the template parameters in the JS code were not
being replaced with actual values.
2023-09-30 16:26:46 +00:00
nervuri 6bbec77a83 frontend: add special case for RENEGOTIATION_INFO_SCSV cipher suite
TLS_EMPTY_RENEGOTIATION_INFO_SCSV is not a real cipher suite, it is a
signal indicating support for secure renegotiation.  This commit removes
its broken ciphersuite.info link and its misapplied "(not recommended)"
string from the HTML and gemtext frontends.
2023-09-30 15:43:06 +00:00
nervuri 690bb167a4 more text tweaks 2023-09-30 15:30:45 +00:00
nervuri 763458fbf1 refactor isGREASE8 and isGREASE16 into isGREASE 2023-09-26 10:07:32 +00:00
nervuri b1e820afcf decode delegated_credential extension 2023-09-26 08:22:34 +00:00
nervuri 3b852c0669 decode record_size_limit extension 2023-09-26 08:16:04 +00:00
nervuri 1c333f8733 another small text tweak 2023-09-26 08:12:27 +00:00
nervuri f599e0ca70 minor text tweaks 2023-09-25 11:39:27 +00:00
nervuri adfc6de641 Makefile: don't include build ID in release build
Build ID may negatively affect reproducibility.
2023-09-25 11:36:11 +00:00
nervuri 4bcd168abc move html, js, css and gmi files to "frontend" dir 2023-09-20 09:53:02 +00:00
nervuri b899c240f4 replace "if" with "switch" in JA3 and NJA3 code
For clarity.
2023-09-20 09:51:41 +00:00
nervuri 0251e59a10 fix link to NJA3 code 2023-09-20 09:50:25 +00:00
nervuri f5d1c0b27d INSTALL.md: mention RSS feed for releases 2023-09-20 08:53:26 +00:00
nervuri b7322519a8 big UI commit; add NJA3 proper
* add HTML and Gemtext UI
* extend NJA3
* decode hex-encoded Client Hello message sent as query string
* decode compress_certificate extension (RFC 8879)
* update golang.org/x/crypto from v0.5.0 to v0.13.0
* in /json/v2, expose IANA "recommended" boolean field for
  cipher_sutes and signature_algorithms
* suggest certbot's `--deploy-hook` option in INSTALL.md
2023-09-20 08:31:19 +00:00
nervuri 097d0c99df update IANA CSV files 2023-09-19 10:02:16 +00:00
nervuri c8f3395362 add normalized JA3
Normalized JA3 is JA3 with sorted extension codes.  This is an
adaptation to a change in Chromium which randomizes extension order so
as to counter protocol ossification.  See:

https://chromestatus.com/feature/5124606246518784
https://www.fastly.com/blog/a-first-look-at-chromes-tls-clienthello-permutation-in-the-wild
2023-08-24 14:52:28 +00:00
nervuri 92bcf86376 append to error log in systemd unit file example
Append, don't overwrite.
2023-06-28 14:42:02 +00:00
nervuri 02666e2997 don't log "extension data not read" 2023-05-12 12:50:13 +00:00
nervuri fe085af75c reorganize code, add json/v2 endpoint and API doc 2023-04-30 16:27:55 +00:00
nervuri 7af54c28e1 add extra handshake message checks 2023-04-03 10:49:30 +00:00
nervuri 43900e63a4 move client hello parser to separate package 2023-04-03 10:49:30 +00:00
nervuri 9d8ff3601f improve HTML output and check it using Tidy 2023-04-03 10:49:30 +00:00
nervuri 9a61e0eae9 update Makefile 2023-04-03 10:49:30 +00:00
nervuri 8b109db99d change license to BSD-3-Clause; ensure REUSE compliance
https://reuse.software/
2023-04-03 10:49:30 +00:00
nervuri afa8698946 move SetReadDeadline and SetWriteDeadline calls 2023-03-15 14:41:37 +00:00
nervuri 7e310cb012 improve code for handling requests and responses 2023-03-15 14:41:03 +00:00
nervuri cfcbbb0962 add proper read & write timeouts 2023-03-11 20:44:39 +00:00
nervuri 0a124def84 explicitly make minimum TLS version = 1.0 2023-03-11 20:44:39 +00:00
nervuri 2eedb5537f add comments to explain prefixConn
Also change a few variable names, for clarification.
2023-03-11 15:16:42 +00:00
nervuri 72b3259428 move HTML and gemtext to separate files 2023-03-11 12:48:41 +00:00
nervuri c611d46b4f output errors to stderr 2023-03-11 12:00:39 +00:00
nervuri e311a94e98 update installation instructions 2023-02-15 16:20:45 +00:00
nervuri 0f48c7479f improve drop root code and move it to a separate file 2023-02-15 14:44:59 +00:00
nervuri 8cf7b02e1b improve drop root code; remove reliance on C 2023-01-31 15:28:48 +00:00
nervuri da4f262454 add go.mod and go.sum 2023-01-31 11:27:50 +00:00
nervuri a37d9a5198 clarify peek() code 2022-06-12 00:00:00 +00:00
nervuri 3e8d967595 add http/1.1 for ALPN 2022-06-04 00:00:00 +00:00
nervuri e896674f39 check record type; reject non-TLS connections 2022-06-04 00:00:00 +00:00
nervuri 5bba2500af INSTALL.md: add update command 2022-06-04 00:00:00 +00:00
nervuri 9743f24eab INSTALL.md: use fullchain.pem instead of cert.pem 2022-06-04 00:00:00 +00:00
nervuri ed080df734 update roadmap
Also changed system time exposure link.
2022-05-27 00:00:00 +00:00
nervuri 66c6af2f8c go fmt 2022-05-27 00:00:00 +00:00
nervuri dc53b5fa76 extract gmt_unix_time from client random 2022-05-27 00:00:00 +00:00
nervuri 0092ed6dd0 add author line 2022-05-26 00:00:00 +00:00
nervuri 539f7ff19d go fmt 2022-05-26 00:00:00 +00:00
nervuri b64902909e fix small error in systemd unit file 2022-05-26 00:00:00 +00:00
nervuri de6a4524b4 add detailed install instructions 2022-05-26 00:00:00 +00:00