Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

traceroute mtr ping on android

Posted on 2014-09-29
8
Medium Priority
?
1,327 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
Enhanced Intelligibility Without Cable Clutter

Challenge: The ESA office in Brussels wanted a reliable audio conference system for video conferences. Their requirement - No participant must be left out from the conference and the audio quality must not be compromised.

 

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 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

885 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