Commit Graph

207 Commits

Author SHA1 Message Date
mzz2017
b767036966 chore: simplify some error prompt 2023-02-15 23:06:44 +08:00
mzz2017
6b68e74335 optimize: sniffer 2023-02-15 12:54:25 +08:00
mzz
ebdbf9a4a7
feat: add sniffing suite and dial_mode option (#16) 2023-02-15 01:53:53 +08:00
mzz2017
11f8683d8f fix: latency comparison had potential arithmetic overflow problem 2023-02-13 15:27:36 +08:00
mzz2017
d88961681e fix: simple-obfs host problem 2023-02-13 14:59:18 +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
a2bc4793a3 feat: support overwrite node name using tag 2023-02-12 11:26:58 +08:00
mzz2017
448debd620 feat: support no group filter 2023-02-12 11:17:10 +08:00
mzz2017
5a4d87c085 optimize: re-select algorithm 2023-02-12 00:14:00 +08:00
mzz2017
e269c4bf60 fix: panic when dialer switching from nil old dialer 2023-02-11 22:26:28 +08:00
mzz2017
55301897e0 fix: fix dialer switching if only one node and fix ss+simple-obfs 2023-02-11 22:24:14 +08:00
mzz2017
bd55d76753 docs: example.dae 2023-02-10 12:02:25 +08:00
mzz
c54a5a0c30
feat: support subscription tag and subtag filter (#13) 2023-02-10 11:04:16 +08:00
mzz2017
158dfb2a27 feat: add check_tolerance to make node selection stable 2023-02-09 21:16:51 +08:00
mzz2017
e3a71d0ee2 fix: calcMinLatency should skip no latency dialer 2023-02-09 20:54:06 +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
2107aead00 fix: problem that not switch to tcp if udp is blocked 2023-02-09 13:27:59 +08:00
mzz
15faa3cdd2
feat: support tcp:// and tcp+udp:// for dns_upstream (#11) 2023-02-09 11:40:34 +08:00
mzz2017
ea260ab581 fix: incorrect outbound alive state change result 2023-02-08 23:35:30 +08:00
mzz2017
f3e3ae2ae7 fix: problem that disable l4proto+ipversion when single node is down 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
e87c7fa89d fix: should correctly set dialer alive property 2023-02-08 23:35:30 +08:00
mzz2017
aa38103fee feat: should get new udp endpoint if the dialer has been not alive 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
c49ca89683 chore: adjust directory structure 2023-02-07 23:49:30 +08:00
mzz2017
ad8f54531e fix: listen ip panic 2023-02-07 23:40:19 +08:00
mzz2017
81676674c8 fix panic 2023-02-07 23:05:30 +08:00
mzz2017
c542272493 docs: README 2023-02-07 22:29:50 +08:00
mzz2017
3480cbf921 chore/docs: use CO-RE and refine README 2023-02-07 21:54:57 +08:00
mzz2017
cceeb53db7 chore: add btf lack prompt 2023-02-07 21:33:38 +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
6f1ec9a4d6 chore: replace route 0.0.0.0/0 with default 2023-02-07 00:17:55 +08:00
mzz2017
9b38fa97e6 fix 2023-02-06 22:03:03 +08:00
mzz2017
f8b83a9283 fix: try to fix single arm situation problem 2023-02-06 18:34:34 +08:00
mzz2017
446a3993bc feat: support as-is for dns_upstream 2023-02-06 16:22:07 +08:00
mzz2017
e97b298577 chore: clean code 2023-02-06 14:01:02 +08:00
mzz2017
8c65f8ff39 refactor: refactor lan tproxy using sk_assign 2023-02-06 13:56:43 +08:00
mzz2017
31fcc288fc try to fix checksum problem but failed 2023-02-05 21:05:23 +08:00
mzz2017
fb3f25c344 fix: dns problem 2023-02-05 13:05:28 +08:00
mzz2017
0d643f0c6d docs: README 2023-02-05 11:00:29 +08:00
mzz2017
10c0c264b2 chore/docs: lease building requirement and write build instruction 2023-02-05 10:29:00 +08:00
mzz2017
a6d2628505 feat: add flag disable-timestamp; check empty node list after subscription resolving 2023-02-04 22:02:37 +08:00
mzz2017
5118a80bca feat: add DNS rush-answer filter 2023-02-04 20:53:29 +08:00
mzz2017
dcf8021500 docs/fix: README; fix BatchUpdate version requirement 2023-02-04 18:27:13 +08:00
mzz2017
69f897b7e9 optimize 2023-02-04 18:18:06 +08:00
mzz2017
e203ad1590 fix: CNAME ans should also be flipped 2023-02-04 17:28:47 +08:00
mzz2017
868f8fd0e8 chore: log level 2023-02-04 17:20:42 +08:00
mzz2017
53872a24a5 feat: use dns question flipping trick to reduce dns pollution 2023-02-04 17:11:01 +08:00
mzz2017
e42730ed81 style/optimize: refine log; udp lazily call group.Select() 2023-02-04 15:28:48 +08:00
mzz2017
a70d09f59a feat: new log formatter 2023-02-04 15:02:44 +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
0793534f72 chore: remove useless sys/socket.h 2023-02-02 21:43:55 +08:00
mzz2017
549b51d8e9 chore: remove useless errno.h 2023-02-02 21:40:06 +08:00
mzz2017
6562866147 refactor: use cgroupv2 instead of ftrace to get better compatibility 2023-02-02 21:22:18 +08:00
mzz2017
1d12d14882 docs: add prompt for lack of kernel config item 2023-02-01 21:16:21 +08:00
mzz
3c1b3e8e7b
fix: artifacts zip in zip (#3) 2023-02-01 19:49:27 +08:00
mzz2017
95fba1da49 chore: add useful macro 2023-02-01 16:02:33 +08:00
mzz2017
483a2f973d chore: ci for fix/feat branch 2023-02-01 15:26:40 +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
832b5e4df9 style: refine control plane log print 2023-02-01 13:14:22 +08:00
mzz2017
268a52a934 fix: remove unsupported (on old kernel) bpf_skb_adjust_room flag BPF_F_ADJ_ROOM_NO_CSUM_RESET 2023-02-01 11:10:41 +08:00
mzz2017
5cbb1f963c optimize: not load CO-RE if possible 2023-02-01 10:59:57 +08:00
mzz2017
18e1eeea80 fix: problem that cannot proxy lan_interface 2023-02-01 10:24:11 +08:00
mzz2017
db50c80a96 fix: incorrectly throw error when 5.2<=kernel<5.5 2023-02-01 01:34:50 +08:00
mzz2017
7f362f3768 chore: bpf headers to submodule 2023-01-31 21:44:20 +08:00
mzz2017
bfba33e231 chore: remove arch related kprobe 2023-01-31 20:25:55 +08:00
mzz2017
c1e196c1c6 fix: zero question dns packet causes panic 2023-01-31 19:54:11 +08:00
mzz2017
460ef450a0 feat: support pname routing (just task command. fixme) 2023-01-31 19:33:53 +08:00
mzz2017
b788f03d4a chore: remove an useless prompt 2023-01-31 18:35:27 +08:00
mzz2017
d5c2648753 optimize: reduce insns complexity 2023-01-31 18:21:18 +08:00
mzz2017
e60295dac7 fix: problem that node address cannot be domain 2023-01-31 18:08:38 +08:00
mzz2017
3602e2e26b optimize: adapt to bpf legacy 2023-01-30 23:21:00 +08:00
mzz2017
52836fa6a8 chore: remove headers and use libbpf 2023-01-30 20:38:57 +08:00
mzz2017
c2175a4095 docs: add private to direct 2023-01-30 20:34:07 +08:00
mzz2017
f3c651daf7 docs: README 2023-01-30 18:13:43 +08:00
mzz2017
74676aca69 optimize: store dnsCache 17 more seconds 2023-01-30 17:35:05 +08:00
mzz2017
2105b5108b fix: checksum, ipv6 and domain matching problem 2023-01-30 17:31:42 +08:00
mzz2017
2de1a73dd2 feat: support bind to wan 2023-01-30 15:50:55 +08:00
mzz2017
3c55d086e9 chore 2023-01-29 13:38:15 +08:00
mzz2017
e4996ace25 fix: routing problems 2023-01-29 11:19:58 +08:00
mzz2017
c8d11cbecf feat: support not operator and port, sport routing func 2023-01-29 07:31:52 +08:00
mzz2017
f8d40e03c1 fix: log 2023-01-28 15:59:53 +08:00
mzz2017
cd4d3ada3e optimize: url check and log 2023-01-28 15:47:43 +08:00
mzz2017
af0f50b308 chore: update copyright 2023-01-28 13:56:06 +08:00
mzz2017
05b373ee66 chore 2023-01-28 13:52:31 +08:00
mzz2017
6e3637d018 optimize: lower kernel version requirement from 5.6 to 5.2 2023-01-28 13:27:54 +08:00
mzz2017
1eaaa4349c optimize: use bpf_map to reduce insns 2023-01-28 11:47:02 +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
799cd006c0 feat(socks5): support udp 2023-01-24 15:28:39 +08:00
mzz2017
0523f4b8fb fix: support exclamation mark in routingA 2023-01-24 14:25:21 +08:00
mzz2017
ea409f16d5 feat: rename package 2023-01-23 20:01:24 +08:00
mzz2017
6fba4f8570 init 2023-01-23 19:54:21 +08:00