Wednesday, May 16, 2012

[android-developers] Re: VpnService and simple packet capture mechanism?

Hi, I'm also interested in using the VpnService to intercept packets
(not for capture but for other purposes). In this case I still want
to use a tunnel but need to understand how to connect the other end
of the tunnel to the device network stack so it funnels selected
traffic
through tunnel to the my service. My goal is to avoid rooting the
device.
I am pretty familiar with ToyVpn and the remote server program but its
not
obvious how to make the VPN tunnel local to the device.

Any help appreciated. Thanks.

John Hansen

On Mar 28, 11:31 pm, Gaku <taosoftware.g...@gmail.com> wrote:
> Offcourse you can made non-root packet capture!
>
> see folowing url.https://play.google.com/store/apps/details?id=jp.co.taosoftware.andro...
>
> --
> Gaku
>
>
>
>
>
>
>
> On Tuesday, February 7, 2012 7:45:24 AM UTC+9, mellery451 wrote:
>
> > I'm considering the possibility of using the new android (4.0)
> > VpnService interface to implement a non-root-required packet capture
> > utility.
>
> > Would it be possible to implement a VpnService such that each packet
> > it received from the device could be written to a file for subsequent
> > analysis and then simply sent on to the active network device for
> > proper delivery?
>
> > A normal VPN implementation would have a finite number of connections
> > to a vpn server to which all packets should be written. In my case,
> > I'd just want to send the packets along without the server to talk to.
> > Is this feasible or would OS permissions prevent writing the packet to
> > the active network? If it is possible, what APIs could I use to write
> > to the network device(s)?
>
> > Advice appreciated.
>
> > -Mike Ellery

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate