RPRX
b30e05d1bc
XHTTP: The real upload / download splitting ( #3955 )
...
* SplitHTTP client: Add real upload / download splitting
* Transport: Add XHTTP as an alias of SplitHTTP
* XHTTP config: Use `downloadSettings` instead
4 weeks ago
mmmray
e733148c0b
REALITY: Unblock SplitHTTP transport ( #3816 )
...
https://github.com/XTLS/Xray-core/pull/3816#issuecomment-2445694775
4 weeks ago
RPRX
e4939dc1db
Config: Prefer newer alias (REALITY `target`, RAW)
1 month ago
RPRX
8809cbda81
Transport: Remove GUN (an alias of gRPC)
1 month ago
RPRX
9bdf72d658
WireGuard config: Replace `kernelMode` with `noKernelTun`
...
https://github.com/XTLS/Xray-core/pull/3871#issuecomment-2420770309
1 month ago
RPRX
897521defd
XMUX: Change to non-infinity-reuse default values ( #3919 )
1 month ago
风扇滑翔翼
82bd5f3046
Refactor: Use struct `Int32Range` widely ( #3867 )
...
https://github.com/XTLS/Xray-core/pull/3867#issuecomment-2412847316
1 month ago
チセ
19f3f709b2
WireGuard kernelTun: Check Capabilities instead of checking UID ( #3871 )
...
https://github.com/XTLS/Xray-core/pull/3871#issuecomment-2412820323
---------
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
1 month ago
RPRX
75729ce779
REALITY config: Add `target` as an alias of `dest`
...
https://t.me/projectXtls/364
2 months ago
风扇滑翔翼
697156f6f6
SplitHTTP Config: Add capability to parse int in string format ( #3855 )
...
“100” → 100
“-1” → -1
“” → 0
2 months ago
RPRX
d8485bd5af
Transport: Add RAW as an alias of TCP ( #3852 )
2 months ago
yuhan6665
3632e83faa
Transport: Add HTTP3 to HTTP ( #3819 )
2 months ago
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
mmmray
93cff1a576
Xmux: Value of 0 is treated the same as no value ( #3835 )
...
It turns out that some panels like to set `"xmux": {"maxConnections": 0,
"maxConcurrency": 0}`, and of course that fails now. To make their job
easier, let's treat `0` the same as not setting the parameter.
Again, I don't like that xray's defaults are hardcoded all over the
place. I would have liked a different default value for Xmux in a future
version, but it actually can't be done in practice because everybody
just copypastes the defaults from the docs into their own sourcecode
(and sometimes changes them silently to their own idea of a good
default)
2 months ago
Kobe Arthur Scofield
57a41f3b4b
Config: Remove more legacy fields ( #3817 )
2 months ago
mmmray
f406b2dee0
SplitHTTP client: Fix xmux config deserialization ( #3827 )
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
ll11l1lIllIl1lll
b1c6471eeb
SplitHTTP client: Add xmux (multiplex controller) for H3 & H2 ( #3613 )
...
https://github.com/XTLS/Xray-core/pull/3613#issuecomment-2351954957
Closes https://github.com/XTLS/Xray-core/issues/3560#issuecomment-2247495778
---------
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
2 months ago
Kobe Arthur Scofield
5f0642a671
Errors: Add PrintRemovedFeatureError & PrintDeprecatedFeatureWarning ( #3804 )
2 months ago
风扇滑翔翼
3fed0c773f
DNS outbound: Add blockTypes ( #3812 )
2 months ago
风扇滑翔翼
a247997e38
Log: Add MaskAddress option to hide IP addresses ( #3783 )
...
* Log: Add maskAddress option
* Correct IPv6 subnet
2 months ago
Kobe Arthur Scofield
6b1bf312d7
Config: Remove legacy config fields again ( #3782 )
...
* Remove more lecacy fields
* Patch missing bracket
* Fix tests
* Fix missing comma
* Fix buried test bomb
* Cleanup test after removed legacy test content
2 months ago
Kobe Arthur Scofield
f04cb0b288
Config: Remove some legacy fields from V2Ray 3.x era ( #3776 )
...
https://github.com/XTLS/Xray-core/pull/3776#issue-2512316726
3 months ago
mmmray
6838a0ae55
Config: Remove legacy `inbound/outbound/detours` ( #3769 )
...
https://github.com/XTLS/Xray-core/pull/3769#issuecomment-2334915139
3 months ago
mmmray
f357245f93
Config: Remove global `transport` ( #3751 )
...
https://github.com/XTLS/Xray-core/pull/3751#issuecomment-2329564039
---------
Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com>
3 months ago
mmmray
c0a98f74fc
Transport: Remove DomainSocket ( #3757 )
...
https://github.com/XTLS/Xray-core/pull/3755#issuecomment-2325533003
3 months ago
mmmray
9a953c070f
Transport: Remove QUIC ( #3754 )
...
https://github.com/XTLS/Xray-core/pull/3554#issuecomment-2236171077
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
HunterQ
1562e1ffb9
Config: Combine filename and format into a new struct ( #3687 )
3 months ago
mmmray
a3b306aaa4
SplitHTTP: Replace responseOkPadding with xPaddingBytes ( #3643 )
4 months ago
nobody
ac628a9427
API: Improve MarshalToJson() in common/reflect/marshal.go ( #3655 )
...
* Serialize enum to string in MarshalToJson().
* MarshalToJson() respect json tags.
* Add insertTypeInfo parameter to MarshalToJson().
* Omit empty string in MarshalToJson().
* Serialize PortList to string in MarshalToJson().
---------
Co-authored-by: nobody <nobody@nowhere.mars>
4 months ago
mmmray
4b7947cca9
SplitHTTP server: add ok padding ( #3614 )
4 months ago
mmmray
30af792777
SplitHTTP: Rename three options & Reduce server defaults ( #3611 )
...
* maxUploadSize -> scMaxEachPostBytes, default is 1MB on both sides (was 2MB on the server)
* minUploadIntervalMs -> scMinPostsIntervalMs, default is 30ms on the client (no server support for now)
* maxConcurrentUploads -> scMaxConcurrentPosts, default is 100 on both sides (was 200 on the server)
4 months ago
lelemka0
4531a7e228
CertificateObject: Enable auto-reload for cacert & Add buildChain & Fixes ( #3607 )
4 months ago
RPRX
60553a6c26
SplitHTTP server: Add noSSEHeader
...
https://github.com/XTLS/Xray-core/pull/3603#issuecomment-2254968219
4 months ago
mmmray
59f6685774
SplitHTTP: More range options, change defaults, enforce maxUploadSize, fix querystring behavior ( #3603 )
...
* maxUploadSize and maxConcurrentUploads can now be ranges on the client
* maxUploadSize is now enforced on the server
* the default of maxUploadSize is 2MB on the server, and 1MB on the client
* the default of maxConcurrentUploads is 200 on the server, and 100 on the client
* ranges on the server are treated as a single number. if server is configured as `"1-2"`, server will enforce `2`
* querystrings in `path` are now handled correctly
4 months ago
mmmray
8a4217fdf5
SplitHTTP client: Add minUploadInterval ( #3592 )
4 months ago
风扇滑翔翼
308f0c64c3
Add custom Sockopt support ( #3517 )
...
* Add custom sockopt
* Add custom level
* Change field
* Sth left
5 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
mmmray
c10bd28731
Add SplitHTTP Transport ( #3412 )
5 months ago
风扇滑翔翼
3654c0d710
HTTPUpgrade send headers with specified capitalization ( #3430 )
...
* Fix HTTPUpgrade header capitalization
* Chore
* Remove excess host headers
Chore : change httpupgrade header "upgrade" to "Upgrade" #3435
6 months ago
yuhan6665
075051a693
Add wireguard test
6 months ago
RPRX
ca07a705dc
Generate *.pb.go files with protoc v5.27.0
...
Download https://github.com/protocolbuffers/protobuf/releases/tag/v27.0
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.1
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
(Xray-core/) go run ./infra/vprotogen
6 months ago
yuhan6665
84eeb56ae4
Select alive only node when fallbackTag is given
...
- Apply to random and roundrobin strategy
- Require observatory config
Co-authored-by: Mark Ma <38940419+mkmark@users.noreply.github.com>
7 months ago
nobody
447a49d16a
Add configuration item api->listen. ( #3317 )
...
* add api.listen configuration item
* add unit tests
* typo
---------
Co-authored-by: nobody <nobody@nowhere.mars>
7 months ago
writegr
dd16dcec03
chore: fix some typos in comments
...
Signed-off-by: writegr <wellweek@outlook.com>
7 months ago
Allo
fbc56b88da
chore: remove the usage of some deprecated tls properties
7 months ago
RPRX
685e66e96b
Fix TestXrayConfig in xray_test.go
8 months ago
yuhan6665
7e3a8d3a04
Add separate host config for websocket
8 months ago
yuhan6665
e2302b421c
Update proto file for websocket and httpupgrade (breaking)
8 months ago