Open lcarea opened 4 months ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
networkingMode=mirrored
doesn't apply to wsl2 (#11228), similarity score: 0.73Note: You can give me feedback by thumbs upping or thumbs downing this comment.
/question
预期:正常的WSL2 mirrored Nmap Open
非预期:不正常的WSL2 mirrored Nmap filtered
相同配置
nmap -sV -v -p 80 203.130.44.44
PORT STATE SERVICE VERSION
80/tcp filtered http Microsoft IIS httpd 10.0
PS:防火墙关闭状态!
我该怎么做才能在WSL2使用镜像模式,nmap不会filtered
question
/question
Windows Version
Windows11 23H2 22631.3810 X64
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
kali linux
Other Software
1、wsl2 use mirrored nmap port filtered eg: nmap -sV -v -p 80 192.168.0.1 PORT STATE SERVICE VERSION 80/tcp filtered http Microsoft IIS httpd 10.0 Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows
2、wsl2 no use mirrored nmap port open eg: nmap -sV -v -p 80 192.168.0.1 PORT STATE SERVICE VERSION 80/tcp open http Microsoft IIS httpd 10.0 Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows
Repro Steps
.wslconfig
Expected Behavior
wsl2 use mirrored nmap port open eg: nmap -sV -v -p 80 192.168.0.1 PORT STATE SERVICE VERSION 80/tcp open http Microsoft IIS httpd 10.0 Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows
Actual Behavior
wsl2 use mirrored nmap port filtered eg: nmap -sV -v -p 80 192.168.0.1 PORT STATE SERVICE VERSION 80/tcp filtered http Microsoft IIS httpd 10.0 Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows
Diagnostic Logs
No response