Add SSH inbound, log level. Update MTPROXY. Fixes

This commit is contained in:
Shtorm
2026-06-07 07:59:43 +03:00
parent 6f6af8e902
commit 9f5ccf43d4
115 changed files with 2742 additions and 527 deletions

View File

@@ -194,8 +194,6 @@ type bwConnEntry struct {
conn net.Conn
}
type ManagerBandwidthStrategy struct {
strategies map[string]BandwidthStrategy
conns map[string][]*bwConnEntry

View File

@@ -6,8 +6,8 @@ import (
"github.com/sagernet/sing-box/adapter"
"github.com/sagernet/sing-box/adapter/outbound"
C "github.com/sagernet/sing-box/constant"
"github.com/sagernet/sing-box/common/onclose"
C "github.com/sagernet/sing-box/constant"
"github.com/sagernet/sing-box/log"
"github.com/sagernet/sing-box/option"
"github.com/sagernet/sing-box/route"
@@ -173,8 +173,6 @@ func (h *Outbound) GetStrategy() ConnectionStrategy {
return h.strategy
}
func connChecker(ctx context.Context, closeFunc func() error) {
<-ctx.Done()
closeFunc()

View File

@@ -76,8 +76,6 @@ type connEntry struct {
conn net.Conn
}
type ManagerTrafficStrategy struct {
strategies map[string]TrafficStrategy
conns map[string][]*connEntry