checker: enforce prober-as-observation, move all analysis to rules layer
This commit is contained in:
parent
1e6254c289
commit
f77895dcab
12 changed files with 174 additions and 171 deletions
|
|
@ -103,7 +103,7 @@ func (p *sshProvider) Collect(ctx context.Context, opts sdk.CheckerOptions) (any
|
|||
go func(ip string, port uint16) {
|
||||
defer wg.Done()
|
||||
defer func() { <-sem }()
|
||||
probe := probeEndpoint(ctx, host, ip, port, timeout, includeAuthProbe, sshfp)
|
||||
probe := probeEndpoint(ctx, host, ip, port, timeout, includeAuthProbe)
|
||||
log.Printf("checker-ssh: %s:%d banner=%q kex=%d hostkeys=%d stage=%s",
|
||||
ip, port, probe.Banner, len(probe.KEX), len(probe.HostKeys), probe.Stage)
|
||||
mu.Lock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue