save as Pcapng files #145#148
Merged
Merged
Conversation
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
� Conflicts: � user/probe_openssl.go
and change short name -w to -l of global flags. Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
longflag: write, ifname. Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Closed
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
add go-bindata to go.sum for Makefile script. Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
chenhengqi
reviewed
Aug 2, 2022
| // make sure data_len is not negative | ||
| event->data_len = data_len; | ||
|
|
||
| bpf_probe_read_kernel(event->data, sizeof(event->data), &data_start); |
Contributor
There was a problem hiding this comment.
You don't need to read skb->data, just specify the skb->len in flags of bpf_perf_event_output.
Contributor
There was a problem hiding this comment.
__u64 len = data_end - data;
flags = (len << 32) | BPF_F_CURRENT_CPU;
bpf_perf_event_output(ctx, &events, flags, &event, sizeof(event));Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
fengjixuchui
referenced
this pull request
in fengjixuchui/ecapture
Aug 6, 2022
Merge pull request ehids#148 from ehids/pcapng-files
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.