Shelikhoo
680d5bb2ac
refactor trojan WriteHeader function.
2023-05-24 00:10:44 +01:00
AkinoKaede
72475c2924
fix: always send Trojan header
2023-05-23 14:05:10 +08:00
Shelikhoo
9308de4e74
Fix incorrect UDP length in Torjan packet addr
2023-03-19 23:23:02 +00:00
秋のかえで
67c19f7054
feat: refine PacketConnectionReader
2023-02-18 21:44:30 +00:00
秋のかえで
ca185b3310
chore: format code
2023-02-18 21:44:30 +00:00
秋のかえで
1bd1de5f52
fix: read logic of PacketConnectionReader
2023-02-18 21:44:29 +00:00
秋のかえで
c10e16cb5e
Style: format imports
2023-02-18 21:44:29 +00:00
秋のかえで
147641e981
Style: refine code style
2023-02-18 21:44:29 +00:00
秋のかえで
01a2686568
Feat: add PacketAddr support to Trojan client
2023-02-18 21:44:29 +00:00
秋のかえで
f2ae2777fe
Feat: add PacketAddr support to Trojan server
2023-02-18 21:44:25 +00:00
Shelikhoo
137cd7093c
chore: regenerate protobuf file
2022-09-06 20:36:27 +01:00
lrh2000
396ee770b7
proxy: Unify timeouts of different protocols for reading the first payload
2022-06-25 19:34:32 +01:00
秋のかえで
552936674c
Style: formart code by gofumpt
2022-04-07 00:06:46 +08:00
yuhan6665
7bcb3c901b
Fix client dialer log ( #1568 )
...
* Fix client dialer log
Log such as:
tunneling request to tcp:www.google.com:80 via tcp:x.x.x.x:443
the second "tcp" is misleading when using mKcp or quic transport
Remove the second "tcp" and add the correct logging for transport dialer:
- transport/internet/tcp: dialing TCP to tcp:x.x.x.x:443
- transport/internet/quic: dialing quic to udp:x.x.x.x:443
* Update transport/internet/quic/dialer.go
Co-authored-by: 秋のかえで <autmaple@protonmail.com>
Co-authored-by: 秋のかえで <autmaple@protonmail.com>
Co-authored-by: Kslr <kslrwang@gmail.com>
2022-04-06 13:24:43 +08:00
Shelikhoo
ac65036808
refactor UDP dispatcher to support fullcone dispatcher
2022-01-03 15:55:18 +00:00
Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path
2022-01-02 15:16:23 +00:00
Bo He
b057a37fd6
fix some typo ( #1482 )
2021-12-27 12:33:08 +08:00
Loyalsoldier
43447aa2e4
Chore: format code to fix lint ( #1426 )
2021-11-27 14:32:07 +08:00
秋のかえで
908408dd45
Fix: Trojan fallback ( #1286 )
2021-09-27 22:13:25 +01:00
秋のかえで
954dab8eaf
feat: refine Trojan simplified config
2021-09-07 13:50:20 +01:00
秋のかえで
dca7497978
feat: add Trojan simplified config
2021-09-05 16:40:40 +01:00
Shelikhoo
e0700ccc4b
regenerate protobuf file
2021-09-04 11:26:13 +01:00
Shelikhoo
1531cb0ca4
update protobuf version
2021-09-04 11:13:51 +01:00
Jebbs
b05a469488
v5: Remove v2ctl & wv2ray (rebased from 7c1ab06206
)
2021-09-04 11:09:55 +01:00
database64128
c78ee5aac7
🏡 Housekeeping: Update to Go 1.17 ( #1215 )
...
* ⬆ Update to Go 1.17
* 🏗 Update workflows and add windows-arm64
* 💾 Update generated files
* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
Shelikhoo
1409be04c2
regenerate protobuf files
2021-07-01 18:58:48 +01:00
Loyalsoldier
6f8979d017
Style: format code by gofumpt ( #1022 )
2021-05-20 05:28:52 +08:00
Loyalsoldier
9e9173acb4
Chore: update protobuf & dependencies ( #793 )
...
* Chore: update protobuf
* Chore: regenerate mock files
* Chore: update dependencies
* Chore: use Go v1.16.2 and later
2021-03-18 12:17:26 +08:00
Loyalsoldier
e03947e6b0
Chore: update protobuf & dependencies ( #748 )
2021-03-08 05:12:27 +08:00
Loyalsoldier
49cf614346
Chore: update dependencies & protobuf ( #728 )
2021-03-03 17:31:53 +08:00
Loyalsoldier
f94dd11a8c
Chore: change module name ( #677 )
2021-02-17 04:31:50 +08:00
Loyalsoldier
f98944c9e0
Chore: update protobuf ( #670 )
2021-02-11 14:57:20 +08:00
maskedeken
9f8cb8bc8b
Fix: trojan: do not panic when UDP dispatcher fails to write response ( #599 )
2021-01-11 17:13:59 +08:00
Loyalsoldier
b68f943c78
Fix lint according to golangci-lint ( #439 )
2020-11-22 05:05:01 +08:00
Kslr
623cb24644
Remove XTLS ( #431 )
...
* remove xtls
* generate pb
* Update protoc
* Clean up go.mod & go.sum
* format code
* restore vless flow
* fix codacy
* do NOT interfere with pb.go files
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-11-20 15:53:10 +08:00
Arthur Morgan
e2392491d6
Add V2RAY_TROJAN_XTLS_SHOW ( #391 )
...
When using trojan, you can set the environment variable V2RAY_TROJAN_XTLS_SHOW=true to display the output of XTLS
2020-11-07 14:32:42 +00:00
lucifer
770b994337
Refine unix domain socket ( #367 )
2020-10-29 07:30:38 +00:00
RPRX
3e87b187c4
Adjust VLESS & Trojan Validator
2020-10-22 04:53:27 +00:00
maskedeken
24f688cc20
Trojan Protocol Handler implements UserManager ( #344 )
...
* Trojan Protocol Handler implements UserManager
* Update validator.go
Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
2020-10-22 04:01:26 +00:00
RPRX
c325faef38
Adjust Trojan over XTLS
2020-10-21 09:32:16 +00:00
RPRX
13ae4c25ac
Add flow to Trojan config.proto
2020-10-21 03:12:44 +00:00
ekenchan
3fc985dd0e
Add trojan over xtls support ( #334 )
...
* Add trojan over xtls support
* Add comments
* improve PR quality
* improve PR quality
* add xtls-rprx-origin-udp443 and xtls-rprx-direct-udp443
Co-authored-by: Eken Chan <maskedeken@yahoo.com>
2020-10-20 10:44:31 +00:00
loyalsoldier
784775f689
Refine code according to golangci-lint results
2020-10-11 19:22:46 +08:00
RPRX
36f0b7d6e4
Fix Trojan inbound access log ( #255 )
2020-10-03 15:24:04 +00:00
RPRX
271532fc84
Add full VLESS fallbacks support to Trojan ( #254 )
...
* Add full VLESS fallbacks support to Trojan
* Adjustments according to linter
* Use common.Must2() for pro.Write()
2020-10-03 13:12:35 +00:00
maskedeken
e445d21f4b
Add trojan protocol support ( #181 )
...
* Add trojan protocol support
Co-authored-by: Eken Chan <ekenchan@msn.com>
Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
2020-09-26 23:31:24 +08:00