{ "luci-app-packet-capture": { "description": "Grant access to tcpdump ubus object", "read": { "cgi-io": [ "download", "exec" ], "ubus": { "tcpdump": [ "*" ], "luci": [ "getProcessList" ] }, "uci": [ "packet_capture", "system" ], "file": { "/tmp/capture.pcap": [ "read" ] } }, "write": { "uci": [ "packet_capture" ], "file": { "/usr/libexec/packet_capture_start": [ "exec" ], "/usr/libexec/packet_capture_stop": [ "exec" ], "/usr/libexec/packet_capture": [ "exec" ], "/tmp/capture.pcap": [ "write" ] } } } }