Commit Graph

77 Commits

Author SHA1 Message Date
xvzc
a244aa6f1b chore: rename client to resolver 2024-08-19 11:00:26 +09:00
xvzc
85e1c0aa33 chore: remove spaces for protocol name 2024-08-18 17:41:28 +09:00
xvzc
5654ef7ddb chore: refactor log format 2024-08-18 16:33:02 +09:00
xvzc
26d69b54db chore: refactor-dns 2024-08-18 15:55:47 +09:00
Ledorub
15163ca5fe
feat: add IPv6 support (#161)
* Add support for IPv6 lookups.

* Refactor DNSResolver.

* Make listener support IPv6.
2024-08-18 13:34:09 +09:00
xvzc
7f27c1ad43 chore: refactor config 2024-08-15 19:12:29 +09:00
xvzc
787fcb3b39 chore: refactor proxy package 2024-08-15 16:50:03 +09:00
xvzc
a40e94bf44 feat: enhance proxy/server.go and refactor 2024-08-15 15:19:45 +09:00
LiquidTheDangerous
fa2cfc4c8c fix: nil pointer deref 2024-08-14 18:55:04 +05:00
xvzc
7f1ad9e7ec refactor #133 2024-08-14 17:01:14 +09:00
LiquidTheDangerous
48488a3af4 refactor 2024-08-14 12:06:29 +05:00
LiquidTheDangerous
852b789ac3 fix: client hello 2024-08-14 12:06:29 +05:00
LiquidTheDangerous
6b0547b431 fix: client hello 2024-08-14 12:06:29 +05:00
Andrey Semenov
874256c9bc remove buffer-size parameter 2024-08-14 12:06:29 +05:00
Andrey Semenov
173b5da2a5 Parse request from connection instead of buffer 2024-08-14 12:06:29 +05:00
Andrey Semenov
dbee4964f8 perf: remove loop 2024-08-14 12:06:29 +05:00
Andrey Semenov
10d1ee4860 perf: reuse allocated buffer. add config parameter 2024-08-14 12:06:29 +05:00
xvzc
641ded49d8 use system-dns when patterns are not matched 2024-08-06 17:48:18 +09:00
xvzc
7b64d37b60 add log for window-size 2024-08-03 16:43:51 +09:00
xvzc
db59946b8b remove unneccesary log 2024-08-03 15:40:49 +09:00
xvzc
2069f3b9d8 remove timeout when not given 2024-08-03 15:28:10 +09:00
xvzc
ab9f1e830a remove error log when dns lookup fails 2024-08-01 21:45:16 +09:00
xvzc
10a3860fad enhance logging for dns 2024-07-31 20:47:19 +09:00
xvzc
929af2973d preserve legacy fragmentation 2024-07-27 11:00:53 +09:00
xvzc
23f160d37b re-add legacy style fragmentaion 2024-07-27 10:51:06 +09:00
xvzc
ee8f7da458 fix log prefix 2024-07-22 20:58:30 +09:00
xvzc
a93b564d60 fix log format 2024-07-22 20:24:35 +09:00
xvzc
ed70bde7e7 Remove net package and refactor 2024-07-22 19:59:11 +09:00
xvzc
2d8b9103db refactor 2024-07-22 13:49:18 +09:00
xvzc
d6472d0421 add options to customize dns server 2024-07-21 16:57:47 +09:00
xvzc
282616a907 set default timeout to 2000ms 2024-07-21 14:34:38 +09:00
xvzc
363f022c91 fix: #46 2023-09-08 17:35:41 +09:00
xvzc
b552e77cbe refactor: reformat 2022-11-29 16:54:28 +09:00
xvzc
efbfddebc2 update 2022-05-13 18:49:05 +09:00
xvzc
f9f1f00404 set deadline 2022-05-12 17:56:12 +09:00
xvzc
8b6bd3d650 set keep-alive to false 2022-05-09 13:44:00 +09:00
xvzc
9e31ce4337 update error logging 2022-05-08 19:39:22 +09:00
xvzc
683eecc01d chage read method to io.copy 2022-05-08 16:55:13 +09:00
xvzc
dd80adb448 add ip addr option 2022-05-08 14:39:35 +09:00
jerry901
741b4bc235 fix local address 2022-05-02 00:31:22 +09:00
xvzc
69fba6da37 fix log format on error parsing request 2022-04-14 10:44:32 +09:00
xvzc
7563f2b895 fix unexpectedly formated http request 2022-03-06 17:44:11 +09:00
xvzc
d7f37377d9 update domain based debuging 2022-03-05 09:56:53 +09:00
xvzc
ce40143581 remove unneccesary go routines 2022-03-05 00:46:33 +09:00
xvzc
0f5eae5dae fix recursive redirect issue 2022-01-16 01:44:00 +09:00
xvzc
1e16a454ca add removal of proxy header 2022-01-15 06:40:57 +09:00
xvzc
e319e0a0fe add go routines for handlers, fixed http handler 2022-01-14 17:23:41 +09:00
xvzc
0e11629360 update log format 2022-01-12 03:06:14 +09:00
xvzc
fefdb5efdd update capsulation 2022-01-12 02:15:45 +09:00
xvzc
42ce5066d3 update handlers to belong to conn module 2022-01-12 01:59:55 +09:00