-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UDP probes in anticipation of DNS monitoring (#206)
* add upd send/recv msg probes * format * first pass at DNS packet fetching * use skb functions * Revert "use skb functions" This reverts commit fbf1608. * try to make recvmsg portable * only use kprobes for udp methods, pray this works * verifier logic has changed? * testing skb methods * clean up skb code * format * still testing * typo * still cleaning up test code * cleanup * rename enums * format * cleanup, use proper skbuff offsets * use varlen for packet body * use json for output * further cleanup * cleanup * skip peeked calls in kprobe * change DNS max packet size * add counter for headlen==0 events * cleanup, error handling * add new counter for sk_buff failures * format.. * update name * update docs, var name * tiny rewording * add tests, clean up json * use host command * use path.. * use arg array * use bash for test * use bash for test * use sh * test with a special binary... * format * clean up * format... * set correct read len for outgoing packets * revert changes to utils * use better udp send * format * clean up --------- Co-authored-by: Christiano Haesbaert <[email protected]>
- Loading branch information
1 parent
86558ea
commit 1ab0912
Showing
8 changed files
with
314 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.