I would like to write an Android app that can tunnel all traffic from the phone to a specific host (and that host can strip off the tunnel and send traffic, eventually, to the actual destination host).
I see a lot of forums answers that show how to do this via manual VPN client settings on the phone, but I would like to write my own app.
Any pointers to specific API or tools someone can provide will be greatly appreciated.
Thank you.
Related
I want to understand from security perspective, if it is possible to prevent an end user from finding out HTTP request parameters that are exchanged with the server ? I understand that SSL would prevent someone from sniffing the HTTP POST request parameters, but I believe the browser after decoding ssl will have access to the parameters. I presume it is possible to hack onto an APK and find out the actual http request and spoof it ? So Trying to work a way around it.
Thanks for all the suggestions you could provide!
I got this crazy idea that I don't know is possible or not... what I want to do is set up my phone as wifi access point, then allow people to connect to it, but handle all incoming http traffic myself.
So:
Create a server (with KWS - Android web server)
client can connect to the phone
when client tries to open an http connection to any random server, this has to be intercepted by my app and handled by a local web server
Anyone knows any android app to do this ?
What you are talking about is a captive portal.
I made a simple app for this purpose. If you are a developer, I need your help to improve the app. For downloading the app and source code check this thread https://forum.xda-developers.com/android/general/guide-setup-fake-captive-portal-android-t4011689
I have an issue which I can't even start to solve after hours of researching. I need to use GCM to facilitate peer to peer file transfer (JPEG image of circa 1.5 megabytes in file size to be specific).
Client A opens a socket and uses AirBOP to notify client B that it wants to send a picture and gives B relevant information (IP address + port to use, ephemeral I guess). B then connects to A and downloads the picture. All this behind NAT and via 3G/4G if at all possible. No server involved.
I looked into TTorrent, Snark, Cling, NAT hole punching, PWnat etc. but I still don't know how to achieve the above, and if it is possible at all..
This is a developer question but I'm restricted to General. I'm looking for a road map/guide lines/library/existing tutorials/projects on solving the above problem.
Thank you.
Hello
I have been searching for an app, which allows me to send HTTP requests automatically at a specified time once a day. The android device is always on and used to communicate with a robot through REST API. The operator presses HTTP requests shortcuts on the tablet.
Does anybody know of a way to achieve this simply?
Thanks in advance.
Hi all,
I want to ask if i want remotely to enable my android location from off to on by my php web server. By using API , is there any way to do that function or how to implement that function.
Really thanks for the help