Skip to content

release: v2.2.1 - #604

Merged
ZacharyZcR merged 8 commits into
mainfrom
dev
Aug 25, 2026
Merged

release: v2.2.1#604
ZacharyZcR merged 8 commits into
mainfrom
dev

Conversation

@ZacharyZcR

Copy link
Copy Markdown
Collaborator

发布 v2.2.1,包含大规模扫描稳定性、服务识别与协议插件修复,并新增 100 个内网常见产品 POC。

已通过 go test ./...、GitHub Actions 测试构建和 GoReleaser 全平台 snapshot 构建。

fyihang and others added 8 commits July 16, 2026 01:07
* fix: 修复高并发下自适应超时过低导致开放端口漏扫 (#503)

扫描本机/低 RTT 目标时,AdaptiveTimeout 在 10 次采样后迅速收敛到 100ms 下限。高并发(600+ 线程)下 TCP 握手尾延迟可能超过 100ms,加上超时错误不会重试,导致开放端口被误判为关闭。

- AdaptiveTimeout 下限从 100ms 提升至 max(500ms, maxTimeout/5)
- connectWithRetry 对超时错误用完整超时重试一次
- slidingWindowSchedule 任务丢弃时记录日志,便于排查漏扫

* refactor: 按 review 意见移除无条件超时重试,补充 minTO 下限测试

根据 #598 review 反馈:

1. 移除 connectWithRetry 中 timeout->full maxTO 无条件重试
   - filtered/无响应端口占超时大头,盲目重试只烧时间
   - #503 主场景靠 minTO 抬升已足够覆盖
2. 移除不再使用的 MaxTimeout() 方法和 port_scan_timeout_retry i18n 条目
3. AdaptiveTimeout 收敛测试补充 minTO 下限断言(3s->600ms)
@ZacharyZcR
ZacharyZcR merged commit 95cc12e into main Aug 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants