Commit Graph

115 Commits

Author SHA1 Message Date
mzz2017
a6c2a077db optimize: lower the requirement of bootstrap memory 2023-03-14 13:54:43 +08:00
mzz2017
f061ca7884 optimize(dial_mode): cache for real domain 2023-03-13 16:40:37 +08:00
mzz2017
9224d96521 fix: init dns upstream error 2023-03-13 15:55:12 +08:00
mzz2017
bbc5b77020 optimize: more accurate dial_mode:domain 2023-03-13 15:52:44 +08:00
mzz2017
741a8dedb4 chore 2023-02-28 21:25:15 +08:00
mzz
8bd6a77398
feat: dns routing (#26) 2023-02-25 02:38:21 +08:00
mzz2017
384b4131a3 feat: add more trace info (pid, pname, mac) 2023-02-21 16:10:44 +08:00
mzz2017
f412f9eeac chore: bitlist use uint16 as underlay 2023-02-20 18:24:29 +08:00
mzz
9fd52c4d38
feat: support to mark direct traffic (#24) 2023-02-20 18:06:54 +08:00
mzz2017
c75db9397d optimize: optimize momory of domain matching trie 2023-02-19 19:15:16 +08:00
mzz2017
156769bf55 feat: add min moving average latencies policy 2023-02-19 01:49:36 +08:00
mzz
8f6b0a6e2a
feat/optimize: add userspace routing and optimize domain routing (#18) 2023-02-18 18:27:28 +08:00
mzz2017
0bf9e464ff Revert "optimize: no need for rule table for wan and reject TCP to tproxy"
This reverts commit 7452abb158.
2023-02-18 14:55:42 +08:00
mzz2017
7452abb158 optimize: no need for rule table for wan and reject TCP to tproxy 2023-02-18 14:47:34 +08:00
mzz2017
de08c7c861 chore: rename routing final as fallback 2023-02-18 03:01:51 +08:00
mzz
e495ee1b7c
feat: support to dial domain for udp and support udp for ssr (#17) 2023-02-18 00:49:35 +08:00
mzz2017
739682dabc feat: add dial_mode domain+ 2023-02-17 01:07:27 +08:00
mzz
ebdbf9a4a7
feat: add sniffing suite and dial_mode option (#16) 2023-02-15 01:53:53 +08:00
mzz2017
2a586e6341 fix: ipv4in6 should be converged 2023-02-13 18:26:31 +08:00
mzz2017
fe5c2482de style: better connection trace output 2023-02-13 12:54:04 +08:00
mzz2017
87511472c4 feat: reject packet sent to tproxy port directly for security 2023-02-13 03:41:59 +08:00
mzz2017
0b5263c89b feat: allow tcp_check_url and udp_check_dns are not double stack 2023-02-13 02:40:34 +08:00
mzz2017
feb58925a4 feat: add must_direct outbound 2023-02-12 23:11:40 +08:00
mzz2017
919fcc32d9 feat: fix port collision problem 2023-02-12 21:50:15 +08:00
mzz2017
7656a6ecaf feat/fix: support allow_insecure and fix ws path with query 2023-02-12 17:17:51 +08:00
mzz2017
4c2f936fa4 feat: support to check independent tcp dns connectivity 2023-02-12 15:39:00 +08:00
mzz2017
c43b6887d7 refactor: tag getter 2023-02-12 11:33:12 +08:00
mzz2017
f2fba0a261 docs: add more debug info 2023-02-11 21:35:02 +08:00
mzz
4145a79559
feat: add lan_snat_direct option for non-transparent-bridge user (#14) 2023-02-11 13:34:12 +08:00
mzz2017
af743cd1c6 feat: support include 2023-02-09 23:17:49 +08:00
mzz2017
8bb88ed20a feat: subscription supports file:// 2023-02-09 20:17:45 +08:00
mzz2017
3060417be7 feat: lazily init dns upstream and tcp/udp check to avoid fatal when start 2023-02-09 19:22:37 +08:00
mzz2017
f0f68ffb84 fix: add DNS header to ResolveNetip req 2023-02-09 13:56:21 +08:00
mzz2017
7f5e4f8349 fix: ResolveNetip should use child context to prevent resend after func exit 2023-02-09 13:45:49 +08:00
mzz
15faa3cdd2
feat: support tcp:// and tcp+udp:// for dns_upstream (#11) 2023-02-09 11:40:34 +08:00
mzz2017
00b8c6079e chore: modify tproxy mark to be compatible with 32-bit devices 2023-02-08 23:35:30 +08:00
mzz2017
a9bcb396c2 optimize: add cache for asset path 2023-02-08 23:35:30 +08:00
mzz2017
2ef332b018 feat: drop frame in kernel to take advance of happy eyeballs if outbound shoud fail 2023-02-08 23:35:30 +08:00
mzz2017
5e7b68822a feat: support independent tcp4, tcp6, udp4, udp6 connectivity check 2023-02-08 23:35:30 +08:00
mzz2017
551e79d9e5 refactor: rename check_url to tcp_check_url and restrict dns_upstream as udp://ip:port 2023-02-08 23:35:30 +08:00
mzz2017
45701f8559 fix: patch old wan method 2023-02-07 21:11:37 +08:00
mzz
9f33ecf809
feat(lan): use sockmap instead of sk_lookup for tproxy socket (#8) 2023-02-07 13:49:47 +08:00
mzz2017
8c65f8ff39 refactor: refactor lan tproxy using sk_assign 2023-02-06 13:56:43 +08:00
mzz2017
10c0c264b2 chore/docs: lease building requirement and write build instruction 2023-02-05 10:29:00 +08:00
mzz2017
5d4210b030 fix/chore: fix lpm batch update problem and remove BTF requirement 2023-02-04 13:37:36 +08:00
mzz2017
0d29b6fccc fix: checksum 2023-02-04 11:39:16 +08:00
mzz
b117dfa7d5
feat: support real process name traffic split (#6) 2023-02-04 11:24:03 +08:00
mzz2017
6562866147 refactor: use cgroupv2 instead of ftrace to get better compatibility 2023-02-02 21:22:18 +08:00
mzz2017
8908765ca1 feat: only load part of programs for bind to wan only 2023-02-01 15:16:25 +08:00
mzz2017
a784b16367 optimize: assets finder 2023-02-01 14:08:01 +08:00
mzz2017
db50c80a96 fix: incorrectly throw error when 5.2<=kernel<5.5 2023-02-01 01:34:50 +08:00
mzz2017
460ef450a0 feat: support pname routing (just task command. fixme) 2023-01-31 19:33:53 +08:00
mzz2017
e60295dac7 fix: problem that node address cannot be domain 2023-01-31 18:08:38 +08:00
mzz2017
2105b5108b fix: checksum, ipv6 and domain matching problem 2023-01-30 17:31:42 +08:00
mzz2017
3c55d086e9 chore 2023-01-29 13:38:15 +08:00
mzz2017
c8d11cbecf feat: support not operator and port, sport routing func 2023-01-29 07:31:52 +08:00
mzz2017
af0f50b308 chore: update copyright 2023-01-28 13:56:06 +08:00
mzz2017
af22a9b0e6 chore: fix copyright 2023-01-28 02:35:18 +08:00
mzz2017
4c248e9e1a feat: support config file 2023-01-28 01:50:21 +08:00
mzz2017
edbce81e88 feat: add config_parser 2023-01-27 02:10:27 +08:00
mzz2017
916a55d480 feat: support routing by l4proto, ipversion, mac, sip, port, sport 2023-01-25 00:31:20 +08:00
mzz2017
686d6dedc3 feat: dns upstream 2023-01-24 17:15:27 +08:00
mzz2017
14b215752f fix: ip matching problem and add control plane direct 2023-01-24 16:27:19 +08:00
mzz2017
0523f4b8fb fix: support exclamation mark in routingA 2023-01-24 14:25:21 +08:00
mzz2017
6fba4f8570 init 2023-01-23 19:54:21 +08:00