{
"enabled": true,
"padding": false,
"brutal": {}
}
{
"enabled": true,
"protocol": "smux",
"max_connections": 4,
"min_streams": 4,
"max_streams": 0,
"padding": false,
"brutal": {}
}
Enable multiplex support.
If enabled, non-padded connections will be rejected.
See TCP Brutal for details.
Enable multiplex.
Multiplex protocol.
Protocol | Description |
---|---|
smux | https://github.com/xtaci/smux |
yamux | https://github.com/hashicorp/yamux |
h2mux | https://golang.org/x/net/http2 |
h2mux is used by default.
Maximum connections.
Conflict with max_streams
.
Minimum multiplexed streams in a connection before opening a new connection.
Conflict with max_streams
.
Maximum multiplexed streams in a connection before opening a new connection.
Conflict with max_connections
and min_streams
.
!!! info
Requires sing-box server version 1.3-beta9 or later.
Enable padding.
See TCP Brutal for details.