-
Notifications
You must be signed in to change notification settings - Fork 102
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
Filter for packetcapture service #273
Conversation
Riccardo, very good work. |
60166e9
to
ac2e73c
Compare
@DavideAG Feel free to add your review. |
I've done some fix according to the comments, are still missing:
|
621bacf
to
fe659ad
Compare
Thank you, I'm doing it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job Riccardo!
I really like what you did to improve this cube but I have some questions about it:
-
how do you acquire the packet capture timestamp
-
how do you manage the operation of ebpf programs so that you can create different capture configurations (ingress only, egress only, both or none)
fe659ad
to
22a94ca
Compare
I've updated the code with new fixes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some mistakes, you have to correct them before you go on.
Why did you edit 94 files in this PR?
Maybe you didn't rebase your branch correctly
Riccardo, please rebase your code with master. It looks there are a lot of files that look modified, but that you didn't touch at all. This makes the review (and not only the review) really hard. |
Documentation/services/pcn-packetcapture/packetcapture-filter.rst
Outdated
Show resolved
Hide resolved
Documentation/services/pcn-packetcapture/packetcapture-filter.rst
Outdated
Show resolved
Hide resolved
6f81c12
to
e1a6a1b
Compare
e1a6a1b
to
099d978
Compare
382cd55
to
dd97949
Compare
6c12c41
to
fd0518d
Compare
ed4e877
to
864b5aa
Compare
6ad9102
to
d2c73d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks, Riccardo!
d2c73d3
to
f96b38d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
056d34c
to
f96b38d
Compare
f96b38d
to
477a662
Compare
the filter is tcp dump like (especially the syntax to insert it). In particular from the string of the filter inserted by the user, it will generate the eBPF code which will then be translated into C code to be injected into the dp file