feat: add bpf_link_info & TC BPF filter attach info#196
feat: add bpf_link_info & TC BPF filter attach info#196ver-nyan wants to merge 1 commit intoNetflix:mainfrom
bpf_link_info & TC BPF filter attach info#196Conversation
f5d08d4 to
22280c3
Compare
|
@ver-nyan heya, any update on this? I'm going to cut 0.8.0 next week. If it needs more time, that's fine. |
|
Srry for late update, i was waiting for a release on my TC bpf filter in netlink-packet-route and didn't realize 0.29.0 was out already (interestingly github only says 0.28.0 is still the latest for some reason). But the implementation is basically finished, it's just a display design decision now. just a quick update, this is what it currently looks like: but im changing the look again, which should be ready or at least previewable by tomorrow 👍 |
|
oh my god hyper-v just nuked all my work today... edit: well most of the time spent was just design decisions and relearning and getting up to date with ratatui lol. i can still get it done by tomorrow |
Add attach info in the "Program Information" window: - bpf_link_info up to libbpf-rs v0.24.4 which only includes: - raw_tracepoint - tracing - iter (specific metadata not in the version yet) - net_ns - TC filters attached to clsact qdiscs via netlink The other link_info variants can be added once libbpf-rs is bumped. Variants not key implemented will show up as type "Unknown". Closes: Netflix#190
22280c3 to
1647c6a
Compare
|
Here's what it looks like: it adds some new dependencies specifically for collecting TC BPF filters attached to clsact qdisc. Support for BPF links for TC was only added in v6.6. beyond the new bpf attachment stuff, I made some changes to convert type to also |
bpf_link_info & TC BPF filter attach infobpf_link_info & TC BPF filter attach info
|
Thanks for the update! The UI is looking great. Regarding libbpf-rs, Fedora currently only has 0.25.0 packaged. Can you confirm that 0.25.0 would be sufficient to get the additional Also, I try to keep the Fedora package in sync with upstream, so any new dependencies need to be available in Fedora at the required versions. Could you check https://packages.fedoraproject.org and confirm that the following are packaged at the versions you need?
If they're not published yet, I could maintain those packages. Just want to know what we're looking at before merging. Once we have a clear picture on the packaging situation, I'll take a close look at the code. |
|
libbpf-rs v0.25.0 is good, it actually looks like it has all the possible
|

currently WIP, I'm currently working to get an API upstream for TC BPF filters in https://github.com/rust-netlink/netlink-packet-route
Add attach info in the "Program Information" window: