On Thu, Jul 22, 2010 at 9:28 AM, potassium
<symbianprofessio...@hotmail.com> wrote:
> Hi
>
> I have a requirement to write a component that is capable of
> intercepting inbound/outbound TCP/UDP traffic from a device, which/
> what is the best mechanism to accomplish this?

A netfilter rule and/or a netfilter kernel module will do this for you.

> A side question - is there a mechanism available for my code to be
> capable of detecting the application's from which the network traffic
> originates?

If you use the SELinux network stack, yes.  That too is available to you if
you wish to enable it in your kernel.

good luck,

greg k-h

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to