retina icon indicating copy to clipboard operation
retina copied to clipboard

Evaluate security context/caps

Open rbtr opened this issue 1 year ago • 2 comments

Retina has CAP_NET_ADMIN, SYS_ADMIN, and others. Evaluate the caps and make sure we are adding the minimum required permissions

rbtr avatar Mar 20 '24 17:03 rbtr

This issue is stale because it has been open for 7 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Mar 28 '24 00:03 github-actions[bot]

I know that CAP_NET_ADMIN is needed for packetparser, SYS_ADMIN for root access I think is for loading the eBPF program into the kernel since we need root access, but if that's all we are doing with that CAP then I think we could use CAP_BPF instead?IPC_LOCK is used for mmap() calls and not sure about SYS_RESOURCE

nddq avatar May 31 '24 22:05 nddq