HelloZeroNet / HelloZeroNet/ZeroNet

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

Đang mở
#2,184 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
18.8k
Fork
2.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Reproduce the IPv6 UDP port check with the WireGuard setup and compare the UI result with the log output. Start by tracing the named PeerPortchecker and ConnServer entries, including checkMyaddr, checkPortchecker, and UpnpPunch. Done means the UI consistently reflects whether the IPv6 port is actually open.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
networking
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.