26 Commits
Author SHA1 Message Date
appolimp 38abee7d7f Support fragmented TLS handshake records
DPI bypass tools like ByeDPI fragment a single TLS record into multiple
records to evade censorship. This broke ReadClientHello because it
assumed the entire ClientHello arrives in one TLS record.

Add reassembleTLSHandshake that reads continuation records and
reconstructs a single TLS record before parsing and HMAC verification.
Per RFC 5246 Section 6.2.1, handshake messages may be fragmented
across multiple records — this is valid TLS behavior.
2026-04-01 09:05:24 +03:00
9seconds cfb5fe66be Allow using directory bind mounts for a docker container
This helps with a situation when some applications do not allow mounting
individual files, but whole directories. In that case users could mount
`/config` directory with a single file, `config.toml`: `-v
/path/to/dir:/config`. Also, there is a backward compatibility to using
a single `/config.toml`
2026-03-24 08:48:42 +01:00
9seconds 4dca1d2b07 Add cache mount for apk downloads 2026-03-12 22:46:19 +01:00
9seconds 991346621c Speedup docker builds by using cache 2026-03-12 22:13:00 +01:00
9seconds 0faf482e52 Update dockerfile 2026-02-11 13:55:11 +01:00
9seconds b1728c3474 Add task for building image 2026-02-11 09:47:11 +01:00
9seconds 77edea0e18 Update Go in Dockerfile to 1.19 2022-08-04 10:18:32 +03:00
9seconds b53ead4372 Build image on go 1.18 2022-03-16 09:37:30 +03:00
9seconds b3c8c4a47d Upgrade to golang 1.17 2021-08-30 11:53:31 +03:00
9seconds 7b5cb8e14b Small updates for docker file 2021-04-02 17:41:33 +03:00
9seconds df0994dad3 Update dockerfile to golang 1.16 2021-03-03 17:43:38 +03:00
9seconds 040b3c371c Add github workflow 2021-02-26 04:12:00 +03:00
9seconds 296a34cd6e Update dockerfile to use 1.15 2020-09-21 11:44:06 +03:00
9seconds dbd3d3c266 Updates for dockerfile 2020-05-19 11:26:08 +03:00
9seconds 020065f389 Use golang 1.14 2020-03-20 13:15:08 +03:00
9seconds 0ff9a58780 Update dockerfile 2019-11-07 14:01:33 +03:00
9seconds a90072260e Update docker image to use Go 1.12 2019-03-01 10:24:58 +03:00
9seconds 7128e70e50 Minor changes in dockerfile 2018-10-12 10:50:52 +03:00
9seconds b81505ec21 Update build files 2018-09-21 11:09:46 +03:00
9seconds 618d91b15d Pin to golang 1.10 for a moment 2018-09-21 09:56:34 +03:00
9seconds 8733f6d191 Optimize dockerfile 2018-07-28 12:30:47 +03:00
9seconds 0e7521b7e4 Use upx for image build 2018-06-19 10:39:20 +03:00
9seconds 8d6c038ccf Fix dockerfile 2018-06-19 10:26:54 +03:00
9seconds 5240f024c5 Fix tests 2018-05-31 10:13:36 +03:00
9seconds 9c313b3d9b Propagate settting for ipv6 to dockerfile 2018-05-31 09:54:20 +03:00
9seconds dd56f808ab Add dockerfile 2018-05-31 09:54:20 +03:00