Hello!

I am trying to develop a packet sniffer for Android. From what I have 
searched around the best approach seems to be porting the libpcap library 
to Android and use it with JNI. However, libpcap (or every other sniffing 
library for that matter) requires root access to sniff the packets. Now I 
know that sniffing packets is a privileged operation in Linux kernel and 
can't be bypassed.

My questions are following:
a) Is there some technique to provide temporary root access to our 
application in Android as it is possible in Linux?

b) Is there some library apart from libcap which would allow me to capture 
packets without requiring root access?

c) Is there some other method in Android to capture packets?

Regards,
Ishan Sharma


-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to