Solved

traceroute mtr ping on android

Posted on 2014-09-29
8
1,094 Views
Last Modified: 2014-10-06
Someone asked me if we could build an app which uses the above tools on our office mobile devices but when looking around, the only solutions I found were for rooted devices.

I cannot seem to find these tools which could be used in an app instead of a rooted device.
0
Comment
Question by:projects
  • 4
  • 4
8 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40362022
You cannot intall and run suid executables with your APK. In <=4.3 they will run with user of application(thanks mount -o nosuid), with 4.4 they will not run at all thanks selinux.
0
 

Author Comment

by:projects
ID: 40364327
Some seem to be doing this, offering visual traceroute, ping and other things. How are they doing it?
0
 
LVL 62

Expert Comment

by:gheist
ID: 40364454
I think ping is included with system and you can call it.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:projects
ID: 40364526
Ok, but there are still many visual traceroute apps. Doesn't that mean there is a way of accessing some of those command line tools from an app?

I know one can install busybox but that is only on a rooted device.
0
 
LVL 62

Expert Comment

by:gheist
ID: 40364594
Traceroute uses UDP, ping uses raw sockets which need root
0
 

Author Comment

by:projects
ID: 40364651
Really? So this is impossible? To convert a small Linux script which uses ping, traceroute and mtr to android? There is no way what so ever to do this?
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40364745
You can execute ping, you can send UDP packets with increasing TTL, well mtr is a no-go completely.
0
 

Author Comment

by:projects
ID: 40364892
I would have though mobiles are the future and would have ways to do practically anything.

I'm surprised but thanks for your input.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
avi rca in to vga out 4 35
canon pixma mg2922 printer scan 10 48
USB management software on a network of computers 4 32
IR 1023 Scanning 4 29
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question