Skip to content

Microsoft Azure VFP Switch Filter Extension dropping packets from the external device (not the host) #41345

Description

Windows Version

Microsoft Windows 11 26200.8893

WSL Version

2.7.11.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.18.33.2-2

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

Here is my WSLConfig file.
[wsl2]
memory=8GB
processors=4
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true

[experimental]
hostAddressLoopback=true
sparseVhd=true

I am running Sql Server linux container inside wsl to host DB. Connection from the host to container on port 1433 works fine because of the hostAddressLoopback set to true to WSLConfig but when external machine tries to connect to same container using host ip it fails to connect. I have set True to DefaultInboundAction/DefaultOutboundAction for NetFirewallHyperVVMSetting. After analyzing the packets captured using pktmon I found that FSE switch adapter was dropping the packet with error code Invalid Packet. So I after few trials I found that when I disable Microsoft Azure VFP Switch Filter Extension everything works fine and it is turned on same error occurs.

Expected Behavior

Since Microsoft Azure VFP Switch Filter Extension gets enabled by default mirrored mode networking to WSL should work fine with this filter extension on.

Actual Behavior

When the Microsoft Azure VFP Switch Filter Extension is enabled on FSE Switch external connection to WSL does not work in mirrored mode.

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions