Kobe Arthur Scofield
7086d286be
Remove legacy code ( #3838 )
...
* Add feature migration notice
* Remove legacy code of transport processing
* Clear legacy proto field
* Fix missing
* Unify protocolname
* Test remove
* Supressor
* Weird code
* Remove errorgen related comments
2 months ago
Kobe Arthur Scofield
57a41f3b4b
Config: Remove more legacy fields ( #3817 )
2 months ago
dragonbreath2000
363e86c585
UDP noises: Add base64 and multi-packet support ( #3794 )
...
https://github.com/XTLS/Xray-core/pull/3794#issuecomment-2351329251
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com>
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
2 months ago
mmmray
f1c439c2aa
Revert "Fix freedom PacketReader/PacketWriter type assertion ( #3734 )"
...
This reverts commit 815a959c96
.
3 months ago
dragonbreath2000
002d08bf83
UDP noise ( #3711 )
...
* added udp noise
* adding protobuf settings
* freedom json parser and clean up
* resolve confict
* fix and clean up
* use net.conn instead of packetconnwrapper
* avoid constructing SequentialWriter directly
---------
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
3 months ago
dyhkwong
815a959c96
Fix freedom PacketReader/PacketWriter type assertion ( #3734 )
3 months ago
风扇滑翔翼
9e93c19161
Freedom: Combine fragmented tlshello if interval is 0 ( #3663 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
Co-authored-by: Ahmadreza Dorkhah <djahmadfire@gmail.com>
3 months ago
yuhan6665
4cb2a128db
Don't do raw/splice copy in case of MITM
4 months ago
yuhan6665
079d0bd8a9
Refactor log ( #3446 )
...
* Refactor log
* Add new log methods
* Fix logger test
* Change all logging code
* Clean up pathObj
* Rebase to latest main
* Remove invoking method name after the dot
5 months ago
yuhan6665
121eb7b4fc
Splice update timer to 8 hours for inbound timer
6 months ago
yuhan6665
017f53b5fc
Add session context outbounds as slice ( #3356 )
...
* Add session context outbounds as slice
slice is needed for dialer proxy where two outbounds work on top of each other
There are two sets of target addr for example
It also enable Xtls to correctly do splice copy by checking both outbounds are ready to do direct copy
* Fill outbound tag info
* Splice now checks capalibility from all outbounds
* Fix unit tests
6 months ago
yuhan6665
548646fb06
Fix an edge case with tls hello fragment
8 months ago
Iain Lau
3a99520370
Add PROXY Protocol support for freedom outbound
10 months ago
yuhan6665
d9fd3f8eb1
Freedom xdomain strategy ( #2719 )
...
* 统一 `domainStrategy` 行为.
* aliases NG.
* 化简.
* 调整.
* Let it crash.
* Update proto
---------
Co-authored-by: rui0572 <125641819+rui0572@users.noreply.github.com>
1 year ago
yuhan6665
999bdc58d3
Turn on freedom splice by default
1 year ago
yuhan6665
4f05e0ac2b
Unify environment var readers
1 year ago
yuhan6665
efd32b0fb2
Enable splice for freedom outbound (downlink only)
...
- Add outbound name
- Add outbound conn in ctx
- Refactor splice: it can be turn on from all inbounds and outbounds
- Refactor splice: Add splice copy to vless inbound
- Fix http error test
- Add freedom splice toggle via env var
- Populate outbound obj in context
- Use CanSpliceCopy to mark a connection
- Turn off splice by default
1 year ago
RPRX
f0f3b417f7
Refactor: Fragmentation
...
5f5ae37571
9122d0f056
1 year ago
rrouzbeh
9122d0f056
Add TLS Hello Fragmentation for freedom outbound ( #2131 )
...
* Replace TCP Segmentation with TLS Hello Fragmentation
* Update infra/conf/freedom.go
* Refine proxy/freedom/freedom.go
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
1 year ago
sambali9
5f5ae37571
Added tcp fragmentation for freedom outbound ( #2021 )
...
* Added tcp fragmentation for freedom outbound
* Added TCP_NODELAY to outbound sockopt
* Changed fragment parameters to accept ranges and changed strategy to use length
* Changed packetNumber to packets, supporting range.
* Refactored the freedom fragment logic
* Refine Write()
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2 years ago
yuhan6665
05d24d6827
Amend XUDP related logs
...
- Useful for debug XUDP improvements
- Move XUDP log in core log
- Freedom connection log show local port
2 years ago
RPRX
be23d5d3b7
XUDP protocol: Add Global ID & UoT Migration
...
The first UoT protocol that supports UoT Migration
Thank @yuhan6665 for testing
2 years ago
yuhan6665
e93da4bd02
Fix some tests and format code ( #830 )
...
* Increase some tls test timeout
* Fix TestUserValidator
* Change all tests to VMessAEAD
Old VMess MD5 tests will be rejected and fail in 2022
* Chore: auto format code
3 years ago
Arthur Morgan
24b637cd5e
Fix: CounterConnection with ReadV/WriteV ( #720 )
...
Co-authored-by: JimhHan <50871214+JimhHan@users.noreply.github.com>
3 years ago
yuhan6665
f50eff5ebb
Add Fake DNS support ( #309 )
...
Co-authored-by: Xiaokang Wang <xiaokangwang@outlook.com>
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
Co-authored-by: kslr <kslrwang@gmail.com>
4 years ago
RPRX
e1a5392beb
Use buf.PacketReader when UDPOverride is available
4 years ago
RPRX
055fb51ed9
Apply UDPOverride to Freedom Outbound PacketReader
4 years ago
RPRX
fed8610d3f
Fix Freedom Outbound UDP redirect
...
已检查 b.UDP 各源头:Mux(VLESS、VMess)、Trojan、Shadowsocks、Socks、TPROXY(Dokodemo-door)
4 years ago
RPRX
13ad3fddf6
Refactor: *net.UDPAddr -> *net.Destination
...
https://t.me/projectXray/111998
4 years ago
RPRX
8f8f7dd66f
Refactor: Shadowsocks & Trojan UDP FullCone NAT
...
https://t.me/projectXray/95704
4 years ago
RPRX
f8faf3c8b8
Removal: confonly
4 years ago
RPRX
16544c18ab
v1.1.0
4 years ago
RPRX
c7f7c08ead
v1.0.0
4 years ago