Android kills a tcpdump process

2

I have an app in Java that runs on Android. This app starts a Tcpdump Process process = Runtime.getRuntime().exec("su -c tcpdump -s 0 -v -w /sdcard/capture.pcap . This works and generates the file, capturing the passing packets on the device's 3G network.

It happens that abruptly, the tcpdump process is deleted (I've been monitoring the active processes list) after a while.

Would anyone have any idea why this happens? And some possible solution?

    
asked by anonymous 27.07.2016 / 20:26

0 answers