Commit graph

87 commits

Author SHA1 Message Date
Jun Kurihara
c084cb67c6
deps and remove deprecated method in rustls::Aceptor 2022-10-31 15:42:16 +09:00
Jun Kurihara
512690fce5
changed how to support multiple domains and support client authentication directly by rustls using split server_config 2022-10-14 22:45:13 +09:00
Jun Kurihara
c765da33db
update response to invalid client certificate or no client certificate 2022-10-12 15:16:40 +09:00
Jun Kurihara
a030e11861
refactor. todo: move the consistency check between client certificate and sni to http layer and emit 400 2022-10-11 18:44:54 +09:00
Jun Kurihara
8115bbf866
refactor 2022-10-11 16:17:50 +09:00
Jun Kurihara
62fe6a0b49
deps and refactor 2022-10-11 15:35:46 +09:00
Jun Kurihara
d7193af4e6
temporarily implemented client authentication using client certificates (mTLS) 2022-10-07 23:47:10 +09:00
Jun Kurihara
5f53fc305c
deps and log message 2022-08-06 18:10:07 +09:00
Jun Kurihara
02ee7a25c6
add debug message for h3 body size 2022-08-06 17:55:25 +09:00
Jun Kurihara
f080f2e12d
update error handling 2022-08-01 16:00:46 +09:00
Jun Kurihara
1a70869227
change path name and server name to specific stract to find longest prefix and exact matching in hashtables 2022-07-28 21:46:53 +09:00
Jun Kurihara
7bd9040637
use bytesname trait to explicitly convert &str/string to ascii lower-cased byte names of server / path 2022-07-28 20:45:22 +09:00
Jun Kurihara
4d590f328f
refactor 2022-07-28 19:46:03 +09:00
Jun Kurihara
b56bf54318
restructuring src dir 2022-07-27 20:33:37 +09:00
Jun Kurihara
6d41830eba
reconsider error and introduce custom error using thiserror 2022-07-27 20:09:36 +09:00
Jun Kurihara
3246f1014b
update readme badge 2022-07-26 15:59:56 +09:00
Jun Kurihara
09c6c4c102 change src structure 2022-07-26 15:35:20 +09:00
Jun Kurihara
33b52309c7
refactor 2022-07-25 19:19:30 +09:00
Jun Kurihara
01a13d0168
spawn handshake async task to avoid blocking 2022-07-23 14:59:31 +09:00
Jun Kurihara
d2fbf8db4d
reconsider handling tls for http 1.1 and 2 2022-07-23 14:34:48 +09:00
Jun Kurihara
810f45248a suppress debug output for debug... 2022-07-23 13:29:33 +09:00
Jun Kurihara
66e791f34b
refine deps 2022-07-22 23:32:14 +09:00
Jun Kurihara
45895ca7bc
reformat 2022-07-22 22:28:26 +09:00
Jun Kurihara
36c8ebcb54
change handling of maximum capable request number, max streams 2022-07-22 22:26:18 +09:00
Jun Kurihara
548fb77c31
reconsider handling sni in http1.1 and 2 tls 2022-07-21 11:59:46 +09:00
Jun Kurihara
da01f8ee6a
reconsider to load request/response body data. believe quinn to properly handle buffering body 2022-07-20 17:32:35 +09:00
Jun Kurihara
f51cd5e012
fix cargo.toml 2022-07-20 11:48:43 +09:00
Jun Kurihara
fc296a4d01
update 2022-07-20 02:02:51 +09:00
Jun Kurihara
d7d782499a
totally refine sni inspection mechanism using rustls 2022-07-19 17:39:06 +09:00
Jun Kurihara
68591cf265
use resolve_certs for sni inspection 2022-07-19 16:22:21 +09:00
Jun Kurihara
c25012b362
refactor 2022-07-18 15:36:34 +09:00
Jun Kurihara
f2a341e198
refactor h3 handling 2022-07-18 15:27:27 +09:00
Jun Kurihara
c3c6d4f4fd
fix handling upgrade 2022-07-16 13:10:09 +09:00
Jun Kurihara
111e9bda18
refactor logging and fix some bugs 2022-07-16 03:47:52 +09:00
Jun Kurihara
d37ed57a1c
add checking mechanism of consistency between sni and host/request line 2022-07-15 23:55:21 +09:00
Jun Kurihara
4f5a1cbf91 reconsider timeout for h3 connections 2022-07-12 16:29:38 +09:00
Jun Kurihara
9c93b1cc31
add some timeouts 2022-07-12 01:12:47 +09:00
Jun Kurihara
9f6b73a7c0
change global allocator and fix some services 2022-07-11 21:00:21 +09:00
Jun Kurihara
954a1993a9
split proxy into stream handler and http message handler 2022-07-10 03:11:46 +09:00
Jun Kurihara
0c6ffa5e77
x-forwarded-* as rfc and nginx 2022-07-10 01:42:54 +09:00
Jun Kurihara
9335fc702e
some refactor 2022-07-09 23:57:08 +09:00
Jun Kurihara
ebb2fb3c87
some refactor 2022-07-09 19:40:48 +09:00
Jun Kurihara
b1ef8c1079
fix some owned args 2022-07-09 18:16:48 +09:00
Jun Kurihara
2e821108c9
fix bug to check case-insensitive upgrade header values for upgrade 2022-07-09 16:07:43 +09:00
Jun Kurihara
828d2300c0
add x-forwarded-proto 2022-07-09 12:37:50 +09:00
Jun Kurihara
907d7e574b
totally refactored 2022-07-09 01:01:00 +09:00
Jun Kurihara
19b9f2a609
remove mutex and use tokio::sync::watch for cert service 2022-07-08 14:51:11 +09:00
Jun Kurihara
d0af82c54c
refactor 2022-07-08 12:35:03 +09:00
Jun Kurihara
9d66df4937
add server to response header 2022-07-07 23:01:45 +09:00
Jun Kurihara
98fce0e4df
fix x-forwarded-for bug 2022-07-07 21:47:05 +09:00