Skip to content

The current user does not have CAP_BPF to load bpf programs #706

@Shapa7276

Description

@Shapa7276

Describe the bug
I am getting below error while trying the capture the TLS

1|panther:/data/local/tmp # uname -a                                                                                                                                            
Linux localhost 5.10.198-android13-4-00050-g12f3388846c3-ab11920634 #1 SMP PREEMPT Mon Jun 3 20:51:42 UTC 2024 aarch64 Toybox
panther:/data/local/tmp # whoami                                                                                                                                                
root
panther:/data/local/tmp # ./ecapture --version                                                                                                                                  
eCapture version:	androidgki_arm64:v0.9.1:6.5.0-1025-azure
panther:/data/local/tmp # ./ecapture tls                                                                                                                                        
Error: the current user does not have CAP_BPF to load bpf programs. Please run as root or use sudo or add the --privileged=true flag for Docker.
NAME:
	tls - Used to capture TLS/SSL text content without the need for a CA certificate. (Supports OpenSSL 1.0.x/1.1.x/3.x or newer).

**Android **

  • Device: [Pixel 7]
  • Env: [run ecapture -v to get the eCapture version, or run the make env command for complete information]
  • OS: Android13
  • Arch: Linux localhost 5.10.198-android13-4-00050-g12f3388846c3-ab11920634 5.10.101 not support #1 SMP PREEMPT Mon Jun 3 20:51:42 UTC 2024 aarch64 Toybox
  • Kernel Version: 5.10.198

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed🐞 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions