Commit Graph

136 Commits

Author SHA1 Message Date
yaling888 95bbfe3945
Fix: should always drop packet when handle UDP packet (#2659) 2023-04-05 14:05:23 +08:00
Dreamacro e5a2dbd9b5 Chore: update uuid to v5 2023-03-14 21:18:09 +08:00
Dreamacro 71f8f0667f Fix: fakeip 4in 6 unmap 2023-03-04 16:27:36 +08:00
Dreamacro a5d54884e0 Feature: add `udp-fallback-match` option 2023-01-01 20:12:17 +08:00
Dreamacro 8c6e205c5a Fix: tunnel proxy match 2022-11-22 19:16:08 +08:00
Dreamacro 5b07d7b776 Feature: add tunnels 2022-11-20 21:30:55 +08:00
x2c3z4 4f291fa513
Chore: show the source ip in log (#2284)
Co-authored-by: Li Feng <fengli@smartx.com>
2022-09-02 16:59:00 +08:00
Dreamacro 3946d771e5 Feature: sync missing resolver logic from premium, but still net.IP on opensource 2022-08-13 13:07:35 +08:00
Dreamacro 5497adaba1 Fix: fakeip udp should not replace with another ip 2022-07-05 21:09:29 +08:00
Dreamacro aaf08dadff
Change: remove AddrType on Metadata (#2199) 2022-07-05 20:26:43 +08:00
Dreamacro 3360839fe3 Chore: make CodeQL happy 2022-06-01 21:38:05 +08:00
Kr328 6a92c6af4e
Fix: http proxy Upgrade behavior (#2097) 2022-04-25 19:50:20 +08:00
Dreamacro 6a661bff0c Migration: go 1.18 2022-03-16 12:10:13 +08:00
Kr328 b866f06414
Chore: move find connection process to tunnel (#2016) 2022-03-12 19:07:53 +08:00
Dreamacro bcb301b730 Chore: adjust all udp alloc size 2021-11-03 22:29:24 +08:00
Dreamacro ebbc9604ce Chore: use uber max procs 2021-10-27 21:27:19 +08:00
Dreamacro 967932d02c Fix: set dnsmode behavior 2021-10-18 23:03:25 +08:00
Dreamacro 81d5da51a3 Fix: unexpected proxy dial behavior on mapping mode 2021-10-18 21:08:27 +08:00
Dreamacro 68753b4ae1 Chore: contexify ProxyAdapter ListenPacket 2021-10-15 21:44:53 +08:00
Dreamacro f1cf7e9269 Style: use gofumpt for fmt 2021-10-10 23:44:09 +08:00
ayanamist 53e17a916b
Chore: logging remote port on request (#1494) 2021-07-19 15:31:38 +08:00
Dreamacro d755383e39 Chore: move provider interface to constant 2021-07-06 00:31:13 +08:00
Kr328 b6ff08074c
Refactor: plain http proxy (#1443) 2021-06-15 17:13:40 +08:00
Dreamacro 6091fcdfec Style: code style 2021-06-13 17:23:10 +08:00
Dreamacro 045edc188c Style: code style 2021-06-10 14:05:56 +08:00
Dreamacro 824f5bd731 Fix: reuse http connection broken on previous commit 2021-05-07 11:08:46 +08:00
Dreamacro 3f3db8476e Fix: HTTP inbound leak 2021-05-06 22:34:37 +08:00
Dreamacro 3aefa1d924 Chore: some chores 2021-04-05 13:31:10 +08:00
Dreamacro 7ee49f5171 Fix: HTTP server should close when `Connection` is `close` 2021-03-30 16:33:49 +08:00
wwqgtxx 5da1b2a8aa
Fix: set metadata.AddrType if host is ip string after remove host (#1291) 2021-03-12 17:41:37 +08:00
Dreamacro f7f97ef625 Fix: some HTTP proxy request broken 2021-03-10 16:23:55 +08:00
Dreamacro 5acdd72a1d Fix: remove host if host is ip string 2021-03-10 12:49:30 +08:00
Jason Lyu f53686103d
Chore: reset udp timeout after sending each packet (#1260) 2021-02-26 10:40:55 +08:00
Kr328 cd48f69b1f
Fix: wrap net.Conn to avoid using *net.TCPConn.(ReadFrom) (#1209) 2021-02-01 20:06:45 +08:00
Dreamacro f4de055aa1 Refactor: make inbound request contextual 2021-01-23 14:58:09 +08:00
Keyi Xie 02d029dd2d
Fix: close http Response body on provider (#1154) 2020-12-29 11:28:22 +08:00
Dreamacro 994cbff215 Fix: should not log rule when rule = nil 2020-11-22 23:38:12 +08:00
Dreamacro bea2ee8bf2 Chore: log rule msg on dial error 2020-11-22 19:12:36 +08:00
Dreamacro 34febc4579 Chore: more detailed error when dial failed 2020-11-20 00:27:37 +08:00
Jason Lyu 87e4d94290
Fix: tunnel manager & tracker race condition (#1048) 2020-10-29 17:51:14 +08:00
Dreamacro b98e9ea202 Improve: #1038 and #1041 2020-10-29 00:32:31 +08:00
Jason Lyu 2cd1b890ce
Fix: tunnel UDP race condition (#1043) 2020-10-28 21:26:50 +08:00
Dreamacro 2321e9139d Chore: deprecated eapache/channels 2020-10-20 17:44:39 +08:00
Dreamacro d3bb4c65a8 Fix: missing fake-ip record should return error 2020-10-17 12:52:43 +08:00
Dreamacro 8766287e72 Chore: sync necessary changes from premium 2020-09-21 22:22:07 +08:00
Kr328 558ac6b965
Chore: split enhanced mode instance (#936)
Co-authored-by: Dreamacro <305009791@qq.com>
2020-09-17 10:48:42 +08:00
Kr328 13275b1aa6
Chore: use only one goroutine to handle statistic (#940) 2020-09-03 10:30:18 +08:00
Kr328 7631bcc99e
Improve: use atomic for connection statistic (#938) 2020-09-02 16:34:12 +08:00
Dreamacro 5805334ccd Chore: pass staticcheck 2020-08-25 22:19:59 +08:00
Kr328 6532947e71
Fix: invert should resolve ip (#836) 2020-07-27 13:47:00 +08:00