mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
25 lines
575 B
JSON
25 lines
575 B
JSON
{
|
|
"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" ]
|
|
}
|
|
}
|
|
}
|
|
}
|