mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-12-02 20:01:51 +08:00
fix(traffic,server,sandbox): fix TCP/53 false positives, add error-traffic storage toggle, and fix spawn_task/sandbox polling
- Route external TCP/53 through netstack deferred handshake and real-target DNS inspection (RFC 7766 single-write framing) instead of hijacking to host DNS. - Preserve explicit targetServer in ProcessDNSQueryToTarget under upstream proxy so external UDP/53 probes never fall back to host DNSUpstream. - Default error traffic storage (net_flows/dns_queries action=error) to off with hot-toggle controls synced across gateway, Proxy & Egress, and Traffic pages. - Restore json.Unmarshal in spawn_task orchestration tool and poll live sandbox container state in chat/task controls.
This commit is contained in:
1 parent
07309e4530
commit
d5926d6420
22 files changed
+1189
-101
No files matched your search
@@ -56,6 +56,7 @@ func (s *Server) getGatewayPolicy(w http.ResponseWriter, r *http.Request) {
|
||||
ContainerRoutes: make(map[string]traffic.GatewayContainerRoute, len(routesCopy)),
|
||||
UDPPolicy: traffic.NormalizeUDPPolicy(gs.UDPPolicy),
|
||||
DNSUpstream: gs.DNSUpstream,
|
||||
StoreErrorTraffic: gs.StoreErrorTraffic,
|
||||
}
|
||||
|
||||
if s.m.traffic != nil {
|
||||
|
||||
Reference in new issue
Block a user