update cores

This commit is contained in:
wyx2685
2025-06-10 01:42:31 +09:00
parent fc284b3b9f
commit d9b3d24465
4 changed files with 59 additions and 68 deletions

View File

@@ -51,7 +51,7 @@ func (h *HookServer) RoutedConnection(_ context.Context, conn net.Conn, m adapte
}
if l != nil {
destStr := m.Destination.AddrString()
protocol := m.Destination.Network()
protocol := m.Protocol
if l.CheckDomainRule(destStr) {
log.Error(fmt.Sprintf(
"User %s access domain %s reject by rule",