DNS fails for the external calls in native and docker when the services are down
Closes: #[issue number that will be closed through this PR]
Describe the changes you've made
the eBPF code is dependent on the mode of keploy which is recieved from the user space code. But after the re-factor there were changes regarding the deprecation of the global mode state. Due to which the user space code is not sending the mode to eBPF code.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Please let us know if any test cases are added
Please describe the tests(if any). Provide instructions how its affecting the coverage.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Checklist:
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
Related Issue
Closes: #[issue number that will be closed through this PR]
Describe the changes you've made
the eBPF code is dependent on the mode of keploy which is recieved from the user space code. But after the re-factor there were changes regarding the deprecation of the global mode state. Due to which the user space code is not sending the mode to eBPF code.
Type of change
Please let us know if any test cases are added
Please describe the tests(if any). Provide instructions how its affecting the coverage.
Describe if there is any unusual behaviour of your code(Write
NA
if there isn't)A clear and concise description of it.
Checklist: