HelloZeroNet / HelloZeroNet/ZeroNet

ZeroNet reports IPv6 UDP Port open in UI, but log repors ipv6: False, other tools says it is closed

未关闭
#2,184 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
18.8k
派生
2.3k
PR 合并指标
30 天内没有已合并 PR

描述

### Step 1: Please describe your environment

* ZeroNet version:
![image](https://user-images.githubusercontent.com/204121/64340895-cfd9e900-cfac-11e9-8b49-4c10999fbe7d.png)

* Operating system: Debian GNU/Linux 9 (stretch)
* Web browser: all
* Tor status: always disabled
* Opened port: no
* Special configuration: Active wireguard VPN connection with IPv6 support via http://mullvad.net

### Step 2: Describe the problem:
ZeroNet reports IPv6 UDP Port open but nmap says it is closed
![image](https://user-images.githubusercontent.com/204121/64340771-8ee1d480-cfac-11e9-92ca-86ce161f90c2.png)

Recheck is consistent..

ZeroNet's log reports it could not open the port:
```bash
[12:12:21] PeerPortchecker Checking port 26552 (ipv6) using checkMyaddr result: {'ip': 'xxx.xx.xxx.xxx', 'opened': False} in 1.198s
[12:12:21] PeerPortchecker Checking port 26552 (ipv4) using checkPortchecker result: {'ip': 'xxx.xx.xxx.xxx', 'opened': False} in 1.615s
[12:12:21] PeerPortchecker Trying to open port using UpnpPunch...
[12:12:31] ConnServer Server port opened ipv4: False, ipv6: False
```

Note: I ran `nmap` from the same host running with the active wireguard vpn and zeronet client. Various IPv6 port scan external web sites did not find the open port, although I'm not sure they checked UDP and IPv6 so if you can recommend a site to try let me know.

#### Steps to reproduce:

1. start wireguard vpn with ipv6 support via http://mullvad.net
2. start zeronet
3. run nmap to check port

#### Observed Results:

```bash
$ sudo nmap -sU -6 -p 26552 xxxx:xxxx:x:xxxx::xxxx

Starting Nmap 7.40 ( https://nmap.org ) at 2019-09-05 06:50 CDT
Nmap scan report for xxxx:xxxx:x:xxxx::xxxx
Host is up (0.12s latency).
PORT STATE SERVICE
26552/udp closed unknown
```

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用 WireGuard 设置重现 IPv6 UDP 端口检查,并将 UI 结果与日志输出进行比较。首先跟踪名为 PeerPortchecker 和 ConnServer 的条目,包括 checkMyaddr、checkPortchecker 和 UpnpPunch。完成的标准是 UI 能够始终准确反映 IPv6 端口是否确实开放。

由索引模型根据 Issue 内容生成。

评估

领域
networking
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。