microsoft / microsoft/ebpf-for-windows

netebpfext - user mode mock for wfp - Sublayer doesn't need to track state

Open
#1,473 0 comments 0 reactions 0 assignees View on GitHub
cleanup help wanted triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

Currently the netebpfext's WFP mock tracks state for FWPM_SUBLAYERs, but this is not actually needed. All that is needed is to increment the sub-layer id.

Contributor guide

Open the contributing guide

Research direction

Locate the netebpfext user-mode WFP mock and trace how FWPM_SUBLAYER state is stored and how sub-layer IDs are assigned. Check the existing mock tests or callers before changing the behavior. Done means sub-layer creation increments the ID without tracking unnecessary state and the relevant tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking, testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.