IPv6 not Working with TCP Monitor
未关闭
适合新手
bug
- 主要语言
- Go
- 星标
- 1.2k
- 派生
- 69
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Describe the bug**
When trying to Monitor an TCP Port on IPv6, you get the Result: TCP connection failed: dial tcp: address [Monitored-IPv6]:[Monitored-Port]: too many colons in address
**To Reproduce**
Steps to reproduce the behavior:
1. Add an TCP Monitor with an IPv6
2. Get the Error.
**Expected behavior**
A Working Monitoring of an TCP Port over IPv6
**Screenshots**
**Additional context**
Peekaping is Hosted over the Docker Compose Stack with PostgreSQL
贡献指南
这个仓库没有索引到贡献指南
调研方向
查找解析地址的 TCP 监控代码,很可能在网络检查模块中。错误“地址中的冒号过多”表明在拼接地址和端口时 IPv6 处理不当。找到构建连接目标(dial)的位置,确保 IPv6 地址用方括号括起来。检查 TCP 监控的现有测试,以添加 IPv6 测试用例。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, docker-compose, go, postgresql
- 领域
- backend, networking
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 65/100