Feat: add PacketAddr support to Trojan
Codecov Report
Merging #1919 (ca0afcf) into master (8b7d283) will decrease coverage by
0.03%. The diff coverage is0.00%.
@@ Coverage Diff @@
## master #1919 +/- ##
==========================================
- Coverage 38.80% 38.77% -0.04%
==========================================
Files 616 616
Lines 36346 36412 +66
==========================================
+ Hits 14104 14117 +13
- Misses 20662 20717 +55
+ Partials 1580 1578 -2
| Impacted Files | Coverage Δ | |
|---|---|---|
| proxy/trojan/client.go | 1.02% <0.00%> (-0.35%) |
:arrow_down: |
| proxy/trojan/config.pb.go | 12.50% <0.00%> (-0.28%) |
:arrow_down: |
| proxy/trojan/protocol.go | 45.45% <0.00%> (-4.55%) |
:arrow_down: |
| proxy/trojan/server.go | 0.37% <0.00%> (-0.02%) |
:arrow_down: |
| proxy/trojan/simplified/config.go | 3.84% <ø> (ø) |
|
| proxy/trojan/simplified/config.pb.go | 18.86% <0.00%> (-0.74%) |
:arrow_down: |
| transport/internet/kcp/connection.go | 72.92% <0.00%> (+1.10%) |
:arrow_up: |
| common/protocol/headers.go | 62.50% <0.00%> (+7.50%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
It has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
Are there suggestions for why this PR is closed? I may refer to this PR for PacketAddr support to dokodemo inbound.
Are there suggestions for why this PR is closed? I may refer to this PR for PacketAddr support to dokodemo inbound.
This PR is still not complete. Trojan allows UDP packets up to 4096 bytes, but V2Ray only allows UDP packets up to 2048 bytes, I don't have any opinions about how to deal this problem. I'd be glad if you add PacketAddr support for dekodemo.