Commit Graph

67 Commits

Author SHA1 Message Date
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
xvzc
a244aa6f1b chore: rename client to resolver 2024-08-19 11:00:26 +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
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
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
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
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
xvzc
ad8a0e1160 add log option 2022-01-12 00:05:16 +09:00
xvzc
db6c30c9c3 delete unnecessary call by reference 2022-01-11 04:27:12 +09:00
xvzc
452a7e343f add net module and fixed the other modules 2022-01-11 02:11:30 +09:00
xvzc
c5640a51a7 Fix dependency issues followed by refactoring util module 2022-01-11 00:14:51 +09:00
xvzc
cb22573943 [update] move welcome to util module 2022-01-10 23:58:27 +09:00
xvzc
d2f559f7f2 add doh module 2022-01-10 23:41:31 +09:00