Commit Graph

86 Commits

Author SHA1 Message Date
vps
78b9cdb3c2
refactor: correction in debugging messages (#238)
* removed typos
* converted some words to lower case
2024-09-08 17:38:59 +09:00
xvzc
2e45975ea9 fix: remove unused imports 2024-09-03 16:16:15 +09:00
xvzc
79d255719e
fix: packet processing for http request (#230)
* fix: http proxy

* chore: make a function for setting connection timeout

* chore: rename parameters for consistency
2024-09-03 16:07:11 +09:00
xvzc
2aea4a7a51
fix: get ctx logger on new request (#198)
* fix: get ctx logger on new request

* chore: change log format

* fix: get ctx logger on new request
2024-08-29 07:50:08 +09:00
xvzc
a777725f71 chore: change some log's level to Info 2024-08-23 21:19:40 +09:00
vps
74963fef64
Refactor Args (#185)
The pointer fields have been converted to the usual ones in the ARGS structure for convenience.
2024-08-23 21:17:35 +09:00
Ledorub
aa04524565
chore: refactor logging (#182) 2024-08-22 17:49:05 +09:00
xvzc
9beb9f8390 chore: rename HttpPacket to HttpRequest 2024-08-22 13:05:32 +09:00
Tony
d97d4e483c
fix: producing timeout error in case with no timeout errors (#180)
Co-authored-by: Anton Piunov <anton.piunov@cyberprotect.ru>
2024-08-21 20:48:52 +09:00
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