[Q] packet capture - Java for Android App Development

Anybody got any leads on how to create vpnservice to capture packets on android like tpacketcapture does?

You can search "Android VPN Service Explained with Packet Bypass Example Program" and can get a tutorial about android vpn service.
gandharv09 said:
Anybody got any leads on how to create vpnservice to capture packets on android like tpacketcapture does?
Click to expand...
Click to collapse

Related

Sending HTTP Header in C++

Hello,
I'm developing an application for Window Mobile 2003 that will upload GPS positional data to a server which can then be displayed to an end user.
I've managed to establish a connection to the internet using the connection manager Api. I now need to send a HTTP POST header to my server in order to upload the information, could anyone give me any guidance on the best way of doing this? I've tried the HTTPRequest.... functions but the function fails, is there an alternative to this method?
Thakn you in advance

firewall filtering by application

I would like to control which application may access the Internet and which may not.
Thus, not in the IP/Protocol/Port level, but by application name instead.
I tried "Airscanner Mobile" and "ProtectStar Mobile Firewall", but it is not possible to create filtering rules based on application name. It is difficult to know which Protocol/Port/Service is used by any application.
I don't have a fixed monthly data line rate, and I want to let access to the Net for some application, and block it for other ones.
Who can guide me to an existing firewall application that implements this
behavior?
Thanks in advance.
http://www.proxycap.com
thx you

[Q] Custome server settings backitude

I want to do connection between tomcat server and backitude application of android app in java.
i do not know which ip address i should provide in custom server settings of backitude.
can you please send me some link or tutorial on this?
thanks
ppg
taruppg said:
I want to do connection between tomcat server and backitude application of android app in java.
i do not know which ip address i should provide in custom server settings of backitude.
can you please send me some link or tutorial on this?
thanks
ppg
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2502939

[Q] Sideloading OpenVPN - can't add certificate or import a configuration

I am a PIA (Private Internet Access) subscriber and I'm trying to configure OpenVPN for Android on my Nexus Player. I had no problems configuring it on my Nexus 5 but when I open the app on the player and go through creating a profile, when I try to click the button to "select" a certificate OR if I try to import an OpenVPN configuration I get a brief message from android that it doesn't have an app to do that.
My guess is that something is lacking on my device - particularly the "open from" dialog that appears when you're trying to add/select a file from your sdcard or cloud drive.
Has anyone else seen this and have a solution? I'm so close to getting this nailed down and I don't want to use the PIA app since I can't access my local network resources when it's connected.
rewiredsoftware said:
I am a PIA (Private Internet Access) subscriber and I'm trying to configure OpenVPN for Android on my Nexus Player. I had no problems configuring it on my Nexus 5 but when I open the app on the player and go through creating a profile, when I try to click the button to "select" a certificate OR if I try to import an OpenVPN configuration I get a brief message from android that it doesn't have an app to do that.
My guess is that something is lacking on my device - particularly the "open from" dialog that appears when you're trying to add/select a file from your sdcard or cloud drive.
Has anyone else seen this and have a solution? I'm so close to getting this nailed down and I don't want to use the PIA app since I can't access my local network resources when it's connected.
Click to expand...
Click to collapse
**no root required, im on 5.1.1**
I got it working but it doesnt rotate but it works and all you need to do is input your info and hit connect.
Here is a VPN client that PIA made for there servers:
HTML:
http://download.apks.org/?server=11&apkid=com.privateinternetaccess.android&ver=1.1.7
install that like this:
adb install /path/to/com.privateinternetaccess.android&ver=1.1.7
Open up SideLoad Launcher and Launch VPN, fill out your info and tick save and hit connect. I confirmed working with Chrome at whatsmyip
Cheers,
DFL
Unfortunately it's not working on mine. When I click on "connect" I get a system dialog asking me if I want to enable VPN access - whatever you push after it doesent connet to the VPN.
Has anyone gotten this working 'better'? I've talked with PIA support and asked them why their app is considered "incompatible" and to please change that status in Google Play if there is indeed no issue. DroidVPN, VyperVPN, etc are in there so it's obviously possible I assume
Barkle said:
Has anyone gotten this working 'better'? I've talked with PIA support and asked them why their app is considered "incompatible" and to please change that status in Google Play if there is indeed no issue. DroidVPN, VyperVPN, etc are in there so it's obviously possible I assume
Click to expand...
Click to collapse
I'm wondering if I side load the android app will it work. Did you get it to work?
Sent from my SM-N910T3 using Tapatalk

[Q] UDP traffic

Hey there community, i hope you're having a great day...
I'm looking for some help advices regarding UDP traffic on android device ( for my case it's Xperia z1 c6903 ) running 5.1.1 firmware.
I spent a lot of time in google'ing and researching, but still cant get fundamental understanding...and i hope i'll find it in this topic.
So my goal is to secure ALL traffic which is outgoing from device. As i know there are 2 kind of traffic --> TCP and UDP.
I'm using Proxy software on my PC ( under Windows 10 ), which is connected to the same WiFi as android device.
So to secure TCP traffic, i use IPTABLES ( on android ), and just forward ports 80 and 443 to PC_local_IP . This method works for me as intended, but ( as i know ) it DIDNT WORK for UDP traffic.
All i understand about UDP traffic, that DNS is the part of it and working on 53 port...i didnt find any other practice examples of UDP traffic on android, so my questions are:
1. What are the examples of UDP traffic on android device, what % of all traffic goes to UDP ?
2. Is it possible to forward ALL UDP traffic, like i forwarded the TCP one ?
3. Is it possible to check if i'm missing ( leaking ) UDP traffic ? ---> any application or even website, which can check if UDP traffic is secured
Hope for your help, community
Cheers
Still noone?
So my goal is to secure ALL traffic which is outgoing from device. As i know there are 2 kind of traffic --> TCP and UDP.
Click to expand...
Click to collapse
What do you mean by "securing all traffic"?
All i understand about UDP traffic, that DNS is the part of it and working on 53 port...i didnt find any other practice examples of UDP traffic on android, so my questions are:[/I]
Click to expand...
Click to collapse
No, DNS is a protocol that is using the UDP protocol to communicate with a target system.
1. What are the examples of UDP traffic on android device, what % of all traffic goes to UDP ?
Click to expand...
Click to collapse
As you already mentioned DNS, but also online games, media broadcasting...
2. Is it possible to forward ALL UDP traffic, like i forwarded the TCP one ?
Click to expand...
Click to collapse
What ever you mean by "securing all data", I think the solution you're looking for is called VPN.
3. Is it possible to check if i'm missing ( leaking ) UDP traffic ? ---> any application or even website, which can check if UDP traffic is secured
Click to expand...
Click to collapse
If you're using a probably configured VPN connection you don't need to care about connections that aren't forwarded to you're
desired target.
0ptr said:
What do you mean by "securing all traffic"?
No, DNS is a protocol that is using the UDP protocol to communicate with a target system.
As you already mentioned DNS, but also online games, media broadcasting...
What ever you mean by "securing all data", I think the solution you're looking for is called VPN.
If you're using a probably configured VPN connection you don't need to care about connections that aren't forwarded to you're
desired target.
Click to expand...
Click to collapse
Thanks for your reply.
VPN is not what I looking for, cause I dont want to use any software which could still log my traffic and connections.
Right now I'm using SSH tunnel app, but it doesnt work with UDP, as a result - no dns forwarding.
Do you exp in this case?
Sent from my E6883 using XDA-Developers mobile app

Categories

Resources