rustnet: add package - #1962
Conversation
|
Hello, i had a question |
|
All changes must go master branch first, then do backport. |
|
got it, thanks. |
3c6435d to
e1c37e3
Compare
Add Makefile for rustnet package with build instructions. Signed-off-by: Jonir Rings <i@jonirrings.com>
e1c37e3 to
722fe0d
Compare
|
hello, can you approve for github action running? |
| TITLE:=Per-process network monitor with DPI | ||
| URL:=https://github.com/domcyrus/rustnet | ||
| # You need enable KERNEL_DEBUG_INFO_BTF and KERNEL_BPF_EVENTS | ||
| DEPENDS:=@(aarch64||x86_64||riscv64) $(BPF_DEPENDS) +libpcap +libcap +libelf |
There was a problem hiding this comment.
how is this arch list built? based on history tests this program builds on arm as well.
any tests on loongarch64/mips64?
I'd prefer using $(RUST_ARCH_DEPENDS) with @!(i386||mips||mipsel||powerpc)
There was a problem hiding this comment.
I'm working on openwrt PR at the same time. from feedback on that side, this package is better to be limited to aarch64/x86_64.
I've tested on my riscv64 dev board, VisionFive2 with ubuntu 26.04, it works, but not well, ebpf CO-RE load failed.
from the rustnet release, only armhf/aarch64/amd64 linux are supported,
so, I'd like to limit arch to arch64/arm/x86_64 for the time being,
what is your suggestion?
There was a problem hiding this comment.
so, I'd like to limit arch to arch64/arm/x86_64 for the time being
Sounds make sense
Add Makefile for rustnet package with build instructions.
📦 Package Details
Description: a network moniter utility which enhanced by ebpf
🧪 Run Testing Details
✅ Formalities
If your PR contains a patch:
git am(e.g., subject line, commit description, etc.)
We must try to upstream patches to reduce maintenance burden.