Shelikhoo
1fcaca7145
enable restricted mode load for some settings
2023-11-26 10:55:27 +00:00
Xiaokang Wang (Shelikhoo)
b6da3e86a5
Shadowsocks2022 Client Implementation Improvements ( #2770 )
...
* Shadowsocks2022 Client Implementation Improvements
1. Added UDP Replay Detection
2. Added UDP Processor State Cache
3. Added More Detailed Output for Time Difference Error
4. Replaced Mutex with RWMutex for reduced lock contention
5. Added per server session tracking of decryption cache and anti-replay window
6. Adjust server session track time
7. Increase per session buffer to 128
8. Fix client crash when EIH is not enabled
9. Fix client log contains non-human-friendly content
10.Remove mark and remove for trackedSessions
11. Fixed packet size uint16 overflow issue
2023-11-24 00:40:07 +00:00
Shelikhoo
39851b3732
fix proxy ss2022 client lints
2023-11-19 13:16:28 +00:00
Shelikhoo
8a1777ce62
implement ss2022 client timestamp check as per spec
2023-11-19 13:16:28 +00:00
Shelikhoo
d8e32f17bd
add shadowsocks2022 udp client support
2023-11-19 13:16:28 +00:00
Shelikhoo
e575a525bb
add shadowsocks2022 tcp client support
2023-11-19 13:16:28 +00:00
Shelikhoo
cb84b28de4
Update generated protobuf files to v1.31.0
2023-10-24 19:50:30 +01:00
dyhkwong
8de2f27043
fix protocol matching in routing ( #2540 )
...
* remove invalid http2 sniffer
* do not set metadata protocol for http inbound
http inbound may have transport settings
* fix doh metadata protocol
2023-09-14 08:27:36 +08:00
秋のかえで
d58649764e
fix: parse for the CipherType of Shadowsocks in simplified config ( #2510 )
2023-07-25 16:27:53 +08:00
Shelikhoo
5a68536530
Add h1SkipWaitForReply Option to http proxy protocol: auto generated
2023-05-29 00:07:26 +01:00
Shelikhoo
cfc6bd465b
Add h1SkipWaitForReply Option to http proxy protocol
2023-05-29 00:07:26 +01:00
dyhkwong
8433420654
make use of buf.NewWithSize() in Trojan's PacketReader and PacketWriter
...
also fix a domain length check bug
2023-05-24 00:18:19 +01:00
dyhkwong
923d49464d
proxy/trojan: fix writing UDP packet
...
close v2fly#2440, close v2fly#1795
2023-05-24 00:18:19 +01:00
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
Vigilans
882a363b85
DomainStrategy support for all outbounds
2023-02-19 13:34:15 +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
Vigilans
f8ac919d66
[app/dns] Support per-client configuration for fakedns ( #2212 )
...
* Move `filterIP` from `hosts.go` to `dnscommon.go`
* Implement adding pools for fakedns.HolderMulti
* Implement per-client fakedns for DNS app
* Remove `dns.ClientWithIPOption` and replace with new programming model
* Implement JSON config support for new fakedns config
* Fix lint and tests
* Fix some codacy analysis
2022-12-15 10:38:28 +08:00
Vigilans
ac0d9480bd
[app/dispatcher] [proxy/dns] Support domain string validation ( #2188 )
2022-12-10 17:07:59 +08:00
dyhkwong
d467eb7511
fix: socks4/4a client handshake ( #1971 )
2022-10-08 10:59:28 +08:00
Huang-Huang Bao
ddc6312c5d
Fix: guard against nil pointer dereference of (*NetworkList)
2022-09-07 10:50:17 +01:00
Shelikhoo
137cd7093c
chore: regenerate protobuf file
2022-09-06 20:36:27 +01:00
秋のかえで
8b7d283bf8
Feat: rename network to networks for JsonV5
2022-08-19 22:28:20 +08:00
秋のかえで
adb7871f82
Feat: refine cipher and network config ( #1436 )
2022-08-19 20:41:18 +08:00
秋のかえで
8f883040ab
Lint: add nolint flags to avoid SA1029
2022-08-19 20:09:39 +08:00
秋のかえで
a788be738e
Lint: add nolint flags to avoid lint
2022-08-19 20:05:50 +08:00
世界
fc6ae4d4e7
Fix lint
2022-06-28 21:36:12 +08:00
yuhan6665
9484390b18
Fix TestUserValidator
2022-06-25 19:39:21 +01:00
lrh2000
396ee770b7
proxy: Unify timeouts of different protocols for reading the first payload
2022-06-25 19:34:32 +01:00
lrh2000
17d85263e2
proxy/http: Avoid getting stuck when using server-first protocols
...
PR #99 reduces an extra RTT when setting up the CONNECT tunnel
via http proxy, however, server-first protocols (such as MySQL)
will be unusable as v2ray keeps to wait for the client request.
This commit solves the problem by limiting the maximum waiting
time to 50 ms.
2022-06-25 19:26:33 +01:00
Shelikhoo
5eff77c48a
Fix DoS attack vulnerability in VMess Option Processing
2022-06-12 23:29:09 +01:00
dyhkwong
703b2da5a7
Fix "disable quit on connection interrupt"
2022-05-02 15:50:35 +01:00
Shelikhoo
f4b0241b4f
disable quit on connection interrupt
2022-05-01 16:05:00 +01:00
Loyalsoldier
d9125f91af
Fix: gci command for formatting code ( #1757 )
...
* Fix: gci command for formatting code
* Chore: format code
2022-05-01 00:47:14 +08:00
Shelikhoo
d7ad10ff14
fix coding style issue
2022-04-29 21:36:26 +01:00
Shelikhoo
8a3e90c11f
Fix bug incorrect config parse in VLite inbound
2022-04-28 19:32:55 +01:00
Shelikhoo
87090bf408
Add VLite inbound auto generated files
2022-04-28 19:32:55 +01:00
Shelikhoo
e6e5aa6ffc
Add Support for VLite UDP Server: auto generated
2022-04-28 19:32:55 +01:00
Shelikhoo
4c79629c69
Add Support for VLite UDP Server
2022-04-28 19:32:55 +01:00
Shelikhoo
7b1203ca96
Add Packet Scramble Support for VLite UDP Client
2022-04-28 19:32:55 +01:00
Shelikhoo
4016e0e961
Add VLite Server Support Definition: auto generated
2022-04-28 19:32:55 +01:00
Shelikhoo
c009faa7c7
Add VLite Server Support Definition
2022-04-28 19:32:55 +01:00
Shelikhoo
11362acc79
Add VLite Client Support for Packet Armor: auto generated
2022-04-28 19:32:55 +01:00