Commit Graph
188 Commits
Author SHA1 Message Date
yaling888 ae6cc1d67d Chore: cleanup code 2022-07-01 18:34:36 +08:00
yaling888 b9ee4b902f Feature: remove pre resolve process name 2022-06-23 15:13:32 +08:00
yaling888 7731a684b1 Fix: resolver 2022-06-22 12:13:39 +08:00
yaling888 e31be4edc2 Refactor: udp would use the first DNS record instead of a random one 2022-06-22 03:17:15 +08:00
yaling888 c1821e28d3 Refactor: load geo domain matcher 2022-06-06 03:13:10 +08:00
yaling888 ca9f3bf8a9 Chore: use generics as possible 2022-04-24 02:07:57 +08:00
yaling888 cd62daccb0 Refactor: metadata use netip.Addr 2022-04-20 01:52:51 +08:00
yaling888 29c775331a Chore: IpToAddr 2022-04-19 17:46:13 +08:00
yaling888 42cf42fd8b Chore: merge branch 'ogn-dev' into tun-dev 2022-04-18 17:21:00 +08:00
Kr328 e010940b61 Improve: replace bootstrap dns (#2080) 2022-04-16 15:31:26 +08:00
Dreamacro 4dfba73e5c Fix: SyscallN should not use nargs 2022-04-14 23:37:19 +08:00
Dreamacro c282d662ca Fix: make golangci lint support multi GOOS 2022-04-13 17:51:21 +08:00
yaling888 ca76e5cf0e Chore: fix typo 2022-04-13 16:47:47 +08:00
yaling888 a3a50f9c7b Chore: persistence fakeip pool state 2022-04-13 05:55:08 +08:00
yaling888 a98749eb16 Fix: fakeip pool cycle used 2022-04-12 21:54:54 +08:00
yaling888 008ee613ab Refactor: fakeip pool use netip.Prefix, supports ipv6 range 2022-04-12 00:31:04 +08:00
yaling888 f036e06f6f Feature: MITM rewrite 2022-04-10 03:59:27 +08:00
yaling888 5a27ebd1b3 Refactor: DomainTrie use generics 2022-04-10 00:33:33 +08:00
yaling888 0582c608b3 Refactor: lrucache use generics 2022-04-10 00:33:33 +08:00
fishg c495d314d4 feat: 添加tls sni 嗅探
# Conflicts:
#	tunnel/statistic/tracker.go
#	tunnel/tunnel.go
2022-03-31 21:27:25 +08:00
yaling888 e877b68179 Chore: revert "Feature: add tls SNI sniffing (#68)"
This reverts commit 24ce6622a2.
2022-03-31 21:20:46 +08:00
fishg 24ce6622a2 Feature: add tls SNI sniffing (#68) 2022-03-31 19:34:40 +08:00
yaling888 4502776513 Refactor: MainResolver 2022-03-28 00:44:13 +08:00
yaling888 9bab2c504e Chore: regenerate protoc file 2022-03-27 07:12:12 +08:00
yaling888 ef915c94dc Feature: flush fakeip pool 2022-03-23 01:05:43 +08:00
yaling888 bac04ab54b Merge branch 'ogn-dev' into with-tun 2022-03-20 21:26:25 +08:00
Kr328 30d4668008 Chore: fix typo (#2033) 2022-03-19 13:58:51 +08:00
yaling888 546f2fa739 Chore: make fake ip pool start with the third ip 2022-03-18 05:17:47 +08:00
yaling888 8d0ae4284d Chore: use gateway address of fake ip pool as the TUN device address 2022-03-17 07:41:18 +08:00
yaling888 346d817dba Chore: Merge branch 'ogn-dev' into with-tun 2022-03-16 20:16:30 +08:00
Dreamacro 6a661bff0c Migration: go 1.18 2022-03-16 12:10:13 +08:00
yaling888 d486ee467a Fix: test 2022-03-15 03:39:45 +08:00
yaling888 5abd03e241 Fix: exclude the broadcast address to fake ip pool 2022-03-15 02:43:40 +08:00
yaling888 46b9a1092d Chore: embed the RuleExtra into Base 2022-03-13 01:22:05 +08:00
yaling888 8fbf93ccc8 Chore: Merge branch 'ogn-dev' into with-tun 2022-03-13 01:15:35 +08:00
Kr328 b866f06414 Chore: move find connection process to tunnel (#2016) 2022-03-12 19:07:53 +08:00
Kr328 9683c297a7 Chore: add more details to process resolving (#2017) 2022-03-09 13:41:50 +08:00
yaling888 8333815e95 Chore: refactor TUN 2022-03-09 05:08:35 +08:00
yaling888 71e002c2ef Merge branch 'ogn-dev' into with-tun 2022-03-09 00:30:38 +08:00
Kr328 83bfe521b1 Fix: should split linux process name with space (#2008) 2022-03-05 18:25:16 +08:00
yaling888 592b6a785e Fix: find process name by UDP network on macOS 2022-02-23 14:04:47 +08:00
yaling888 d876d6e74c Feature: resolve ip with a proxy adapter 2022-02-23 02:38:50 +08:00
yaling888 b192238699 Merge from remote branch 2022-02-23 01:00:27 +08:00
Dreamacro 03e4b5d525 Chore: use golangci-lint config file 2022-02-19 00:08:51 +08:00
Dreamacro a0221bf897 Fix: routing-mark should effect on root 2022-02-17 14:23:47 +08:00
Dreamacro b1a639feae Fix: domain trie search 2022-01-26 22:28:13 +08:00
HamsterReservedandHamster Tian 8679968ab0 Fix: multiple port string parsing overflow (#1868)
Ports in TCP and UDP should be parsed as an unsigned integer,
otherwise ports > 32767 get truncated to 32767. As this is
the case with Metadata.UDPAddr(), this fundamentally breaks
UDP connections where demand for high port numbers is high.

This commit fixes all known cases where ParseInt is used for ports,
and has been verified to fix Discord voice connections on port
50001~50004.

Fixes: d40e5e4fe6

Co-authored-by: Hamster Tian <haotia@gmail.com>
2022-01-02 01:09:29 +08:00
Dreamacro 204a72bbd3 Chore: remove forward compatible code 2022-01-02 00:48:57 +08:00
Dreamacro 075d8ed094 Fix: fakeip pool cycle used 2021-11-23 22:01:49 +08:00
Dreamacro 499beb7344 Fix: bind iface should throw control error 2021-11-10 22:19:11 +08:00