Skip to content
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

Handle CTRL+C and cleanup privileged sniffer pods #147

Merged
merged 3 commits into from
Jul 29, 2022

Conversation

bostrt
Copy link
Collaborator

@bostrt bostrt commented Jul 15, 2022

This is partially addressing a few other issues:

Cleanup of the static-tcpdump process is going to need to be handled in another PR. I believe the only way to kill that process is to send a ctrl+c via the remotecommand/SPDY connection which is tricky (source) which is the workaround until this is resolved.

I'll also submit another PR for properly closing Wireshark upon a CTRL+C along with an option like --keep-wireshark to keep wireshark open after closing ksniff.

@bostrt
Copy link
Collaborator Author

bostrt commented Jul 15, 2022

@MichaelWasher would you mind reviewing this?

@bostrt bostrt assigned bostrt and unassigned bostrt Jul 15, 2022
@bostrt bostrt merged commit c59415d into eldadru:master Jul 29, 2022
@bostrt bostrt deleted the graceful-shutdown branch July 29, 2022 15:26
@bostrt bostrt self-assigned this Jul 29, 2022
@Noksa
Copy link

Noksa commented Mar 9, 2023

@bostrt will it be released? It is not in 1.6.2 as I can see

@Noksa Noksa mentioned this pull request Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants