microsoft / microsoft/ebpf-for-windows
netebpfext - user mode mock for wfp - Sublayer doesn't need to track state
Open
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
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