RPRX
817fa72874
XHTTP client: Add gRPC header to "stream-up" mode by default ( #4042 )
...
""Breaking"": Client uses "stream-up" mode by default when using **TLS H2** or REALITY
24 hours ago
yiguous
55e045d098
Config: Correctly marshal `Address` to JSON ( #4021 )
3 days ago
zonescape
ec1fd008c4
Chore: Refactor infra/conf.TestToCidrList() ( #4017 )
1 week ago
zonescape
83ae38497b
Chore: Drop dead code in test ( #4012 )
1 week ago
风扇滑翔翼
571777483b
TLS: Add CurvePreferences (to enable kyber768) ( #3991 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2 weeks ago
RPRX
bd0841a75b
XHTTP config: Add "extra" for sharing extra fields ( #4000 )
2 weeks ago
zonescape
83bab5dd90
Chore: Run gofmt ( #3990 )
2 weeks ago
RPRX
bc4bf3d38f
XHTTP: Add "stream-up" mode for client & server ( #3994 )
2 weeks ago
zonescape
71cfea8aae
Chore: Fix some spelling errors ( #3976 )
2 weeks ago
Hossin Asaadi
2c72864935
API: Add user online stats ( #3637 )
...
* add statsUserOnline bool to policy
* add OnlineMap struct to stats
* apply UserOnline functionality to dispatcher
* add statsonline api command
* fix comments
* Update app/stats/online_map.go
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
* improve AddIP
* regenerate pb
---------
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
3 weeks ago
yuhan6665
85a1c33709
API: Add new Get Inbound User ( #3644 )
...
* Add GetInboundUser in proto
* Add get user logic for all existing inbounds
* Add inbounduser command
* Add option to get all users
* Fix shadowsocks2022 config
* Fix init users in shadowsocks2022
* Fix copy
* Add inbound user count command
This api costs much less than get inbound user, could be useful in some case
* Update from latest main
3 weeks ago
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
3 weeks ago
mmmray
e733148c0b
REALITY: Unblock SplitHTTP transport ( #3816 )
...
https://github.com/XTLS/Xray-core/pull/3816#issuecomment-2445694775
3 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
2 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 )
3 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