-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulate FWP OS API failures in fwp_um.cpp #2405
Comments
Adding FI to FwpmTransactionCommit0 gives memory leak, and crash. Call Stack for crash and leak: In sock_addr, xdp
Analysis:
|
RCA:
Analysis:
Reason:
|
Do not simulate failure on APIs that can only fail on incorrect parameters - or any API that is used to free resources. Rest are OK to simulate failure, on a case by case basis. |
Describe the feature you'd like supported
Please refer to #2101. Creating this issue for the pending enhancement request to handle in 0.9.x
This issue is to add tests for the following, and fix the bugs coming out of it:
Add tests to simulate systematic failure of OS API failures for both ebpfcore and netebpfext.
This can use the same framework currently used for low-memory simulation in user mode.
OS APIs defined in fwp_um.cpp:
Proposed solution
Add fault injection in each of the FWP (Windows Filtering Platform) APIs defined in fwp_um.cpp.
The goal is to ensure:
Additional context
No response
The text was updated successfully, but these errors were encountered: