[Q] My Routers Pro - for android? - Android Software Development

Hi All,
I was wondering if anyone has seen an app similar to the ipdas "MyRoutersPro"
it was really nice for anyone that has to deal with network devices. Almost makes me want to buy an ipad.... mmm Nahhh.
Features of the app....
•SSH-2 and TELNET access to remote hosts or routers
•PING, TRACEROUTE and integrated BROWSER
•allows access to non-standard ports other... Read More than 22 and 23
•supports SSH authentication by passwords or public key
•allows import of public and private key pair
•stores router credentials with strong encryption
•one-touch login
•configurable to ask for password before login if user prefers
•master password to prohibit invalid access to the app and login data
•supports up to five concurrent login sessions
•provides three command sets which can be edited as normal text files by users (effectively supports unlimited number of macros)
•customized commands can be imported to the command sets by copy-and-paste from other apps, e.g. Mail
•well-designed user interface to minimize typing when accessing to routers' CLI
•logs can be saved for subsequent review or sent out through in-app mail function
•user-selectable font types (totally 6, 3 are monospaced), font sizes and themes
•supports portrait and landscape modes
•Ping and Traceroute are implemented (to run from the iPad) as supplementary tools for troubleshooting
•supports simultaneous pings to multiple targets
•supports reverse DNS lookup in Traceroute
•includes integrated browser for viewing manuals on the Cisco & Juniper web sites (also serves as a "private browser" for web surfing

Related

Advanced Geeky Programs (Windows Mobile)

Hello friends,
Like many of the people here at XDA, I try to get as much advanced use out of my Windows Mobile phone as I can. I am a ‘computer geek’ trying to make my Windows Mobile phone as close to a complete ‘computer experience’ as possible. I would like to ask what ‘advanced’ tools you guys use. We will start off with the list below, all of which run under Windows Mobile 6.1.
1. Command Prompt (DOS Prompt, CLI) http://forum.xda-developers.com/showthread.php?t=606393
2. NetCat running under Command Prompt listed above (http://prt.fernuni-hagen.de/~bischoff/wince/), Swiss Army Knife of Networking, the possibilities of this tool are nearly endless!
3. HTC Band Switch (turn off 3G, allow EDGE only, toggle settings, built into HTC’s Windows Mobile 6.1 image)
4. DynDNS Pocket 1.0 (Enable use of the DynDNS dynamic IP service, especially useful if your mobile operator provides you a public dynamic IP address and you want a static URL tied to your phone. Create an account at www.dyndns.com, but note that your username and password are sent cleartext over the network connection).
5. HTC Field Test Tool (Get mobile provider statistics, signal strength in dbm, RSSI, selection parameters, etc).
6. Mobile Firewall 3.5 (AirScanner Corp, does not work perfectly on Rhodium but I can view what IP addresses are pinging or attacking me, including source and destination IPs, and also view local listening connections to see which network services I’m making available)
7. FTP Orneta Client 1.03 (provides an FTP client)
8. FTP Server Mocha 1.0 (run an FTP server from your phone, see log of IPs that connect to you, traffic send and received)
9. Pocket Hosts by Zimmermann 1.5 (Edit your local hosts file, for ultra geeks)
10. vxIPConfig 0.9.5 – IP Config, Get Your IP, subnet mask, DHCP server, lease times, TTL statistics, datagram information, etc,)
11. Pocket IRC 1.2.5 by Code North Software (Internet Relay Chat client)
12. wmIRC 2.3 (Another Internet Relay Chat client)
13. NbtstatCE 0.05 (Scan remote machines on network, check NetBios, ping, set NetBios scan delay in milliseconds, set packet size, and timeout limits)
14. Microsoft Network Analyzer 1.0 (Get IPConfig info, ping localhost, ping HTTP server, get net stats, all output goes to a well-parsed text log file).
15. Network Monitor (PPC InterfaceMonitor 0.23.3615) by Florian Drews (View a bar graphic chart of network connections, megabytes sent and received per session, traffic utilization, works on both cellular and WiFi).
16. 3GTest (eecs.umich.edu/3GTest) (Provides detailed network link throughput information, DNS lookup latency information, information on common ports your mobile provider is blocking, etc. However, be aware that your connection test information does get sent to the application developer, as this is part of someone’s university project).
17. vxUtil 1.6.7 (DNS Audit, port scanner, trace route, ping sweep, whois, etc, a complete suite of network testing tools).
18. PocketPing (Ping and view return ping times)
19. PocketPutty build Feb 28th, 2007 Development Version (SSH Client, supports reverse tunneling and most of the features of the regular desktop Putty, reverse proxy service, xterm emulation, IPv4 and IPv6 support. However, it does not have SOCKS support).
20. zaDesktop 0.9.7 – Remote Desktop Client (Terminal Services), similar to the built-in Windows Mobile client but additionally provides support for adjusting screen size, service port (allow use of not only 3389 but any port you want). Supports loop-back (127.0.0.1) connections with no problem (when used with a reverse SSH proxy or such)
21. WiFi Remote 1.0 by Julien Manici (Allow access to your device via a web page using your WiFi connection). Will normally only work on WiFi LAN unless you are running a reverse tunnel, in which case it will work over cellular data (EDGE or 3G). Could be a security hole if you leave this on and forget about it, could expose your device to your local LAN, and possibly WAN if your mobile provider allows hosting from your cell phone IP address.
22. Microsoft Remote Desktop – The client which is built into Windows Mobile, works great but cannot zoom.
23. Mobilier (view and control your phone from a USB connected computer)
24. Remote Tracker 0.10i by Joubert Vasconcelos (Can send GPS or other data if phone is misplaced, SIM IMSI is logged, however I have not tested this program at all).
25. Mobile Sniffer 2.21 by AirScanner (Supposed to function as a mobile ethernet network sniffer, similar to WireShark, complete with promiscuous mode, but I cannot get it running on the Tmobile Rhodium because the GUI controls are not operatable using my phone, I am unsure what the problem is. Neither hardware keyboard nor the touchscreen respond properly to this application, it would be great to get it working though, can anyone assist?).
26. Handy Sniffer 1.6 (Functions as a mobile ethernet network sniffer, similar to WireShark, and it does work but I can only get it to sniff from a the WiFi adapter on the wireless LAN, I cannot get it to sniff from an EDGE or 3G connection. Provides details such as ARP table information, protocol information, sending raw packets from file, provides detailed statistic information based on protocol, etc. You can also export your sniffed log file, which you can probably open with WireShark).
27. SocksProxy Moblware 1.0 (Run a Socks Proxy on your device, provides KBps in and out, I have not tested this application personally).
28. Pocket Speed Test 1.0 by Smartivia (Very nice mobile speed test application, provides your average speed in kbit/s by downloading a small file which is then discarded.)
29. SSH Client mToken 4.3.0 by Choung.net (The best Windows Mobile SSH client I have seen, allows port forwarding, reverse SSH tunnels, SSH Known Hosts, telnet, a complete address book, direct COM port connection (untested), modem TAPI (untested), and a very comprehensive Ping/Trace Route function). Works better and much more stable than PocketPutty, but is a commercial product (Pocketputty is freeware)
30. Penetration Testing Tools TigerSuite 3.0 (Hex Editor ‘File Hack’, IP Subnetter, Remote Trojan Scanner, Host Collaboration, Stealth Scanning, Port FIN Scanner, Session Sniffers, Service Recognition and Verification, TigerSim Virtual Server Simulators, WLAN Scanning with RC Site Query, this last WLAN functionality has not shown to work on the Tmobile Rhodium).
31. wmTorrent Torrent Client (supports DHT (trackerless torrent); PEX (Peer Exchange); plain text and RC4 Protocol Encryption; HTTP Seeding; torrent extensions). This application has not been tested.
32. TxRx Test by Moshe Valenci (Test your network throughput by installing this application on two phones, or a phone and Windows computer, this program will run under MS Windows XP as well.
33. VNC Viewer Enterprise build Oct 5th 2007 (VNC viewer will all options, desktop resizing, etc).
34. VNC Server 1.4.0.0 for Mobiles (Pocketvnc.com, runs as a VNC server on your phone on any port you choose. I do not know of any other remote login utilize for Windows Mobile, but this one is tested and works great! Do you know another remote login utility for Windows Mobile?)
35. zoomVNC 1.00 (Another VNC viewer with advanced zoom functionality).
36. VNC Viewer .NET 1.0.1.17, (Build April 24 2007 by Rocky Lo, yet another VNC viewer).
37. Mobile Web Server (Another mobile web server which will serve on any port, also has a DynDNS client built in, not tested extensively).
38. tinyCAM 0.9.1 by S. Niquille (This will make your phone into a remote webcam, accessible over WiFi or even cellular if you run a reverse tunnel (or if your mobile provider allows direct hosting of services from your phone. It can also upload your shots to an FTP server at predetermined intervals, and even has a camera preview display, just awesome!)
39. WiFiFoFum 2.2.12 by Aspecto Software (View all local WiFi access points with signal strength details and GPS location settings, great tool, but does not seem to see access points which are not transmitting SSID. Can easily export log files with GPS coordinates to a file for later viewing).
40. SSH Client zaTunnel 0.9.2 for CF2 (zatelnet.com) (Use this SSH client to set up a reverse SSH session to your machine with ports forwarded for accessing services on remote machine. I don’t believe this software provides an xterm display like PocketPitty. Also does provides HTTP Proxy support, and Web basic authentication information, keyfiles, etc)
41. Loki Mobile 1.0 by SkyHook Wireless (Find your location without GPS or cellular triangulation by using Wi-Fi positioning (a very interesting concept, unique and different from GPS or cellular triangulation, this uses a large back-end server database of WiFi to physical location mappings. I find this to be super accurate in somewhat populated areas where WiFi signals exist, a crazy cool concept! When I run the program I get an error, I just select Okay, the error disappears, and the application runs perfectly fine, your WiFi must be on though. http://handheld.softpedia.com/get/Travel/Loki-Mobile-38707.shtml)
42. HTC GPS Tool 1.1.1.0 – View Detailed GPS information, including raw NMEA data directly from the satellite feeds. Not useful for navigation purposes (Google Maps is for that), but great for informational GPS diagnostics or just fun GPS details
43. BasicGPS Geocaching 2.60.95 – View number of visible satellites, compass (must be moving), altitude, and GPS coordinates (no navigation)
44. Cain for PocketPC 1.3 by Massimiliano Montoro – Mobile version of Cain and Abel, crack hashes on your phone (LANMAN, NTLM, MD5, Cisco PIX, and many others)
45. Hex Editor EDh 1.3 by winm-soft.atspace.com (Mobile Hex Editor on your phone)
46. SKTools 4.1.21.4 (Optimize your device in every way, check out the spec list)
47. Task Manager 3.1 by FdcSoft (The best mobile task manager I have seen. You get PID (Process ID Number) information, the ability to Register and Unregister DLLs (Dynamic Link Libraries), view CPU usage statistics, running services, and many other things)
48. PocketDOS 1.12.2 (Regular computer (x86) emulation on your phone, install DOS 6.22 and run most DOS software as if you’re running on a 286 machine! Very cool, I’ve read about people being able to run older version of Windows (3.11 or 95) using PocketDOS, you can mount drives, adjust system usage, basically a full 286-type computer on your phone).
49. Total Commander (A great file manager)
50. PowerGuard 1.2 (View your detailed power settings on a bar graph, lots of useful geeky information).
51. Advanced Configuration Tool 3.3.0.0 by Julien Schapman (perform advanced config of your phone, a must have!)
52. RSS Reader pRSSreader by David Andrs (Read RSS feeds)
53. HTC Network Plugin for File Explorer 1.0 – Map Network Drives from your phone. After install will appear under Settings, Connections, ‘Network Plugin’.
54. HTC Wi-Fi Router – Share your cellular internet connection via WiFi (Works for me, but seems to mess up my preset WiFi access points after use, not a big issue).
55. Registry Explorer by SKTools – Registry Editor Windows Mobile.
56. RAR Pocket 3.90 by Roshal – Open Rar zip arhives on your phone.
Folks, this is the list I’ve been able to put together. A simple search of the web will allow you to download and/or purchase all of the listed programs.
PLEASE ADD YOUR FAVORITE ADVANCED PROGRAMS!
Thank you!
CE Reg Edit
Hi, Don't see CEReg Editor by mobisoft on your list.
A nice tool
That's a good addition, anyone have other additions or thoughts?
I would put PE Info (sk software) and devhealth.exe on the list.
When programs are suggested links should be provided imo.
awesome thread btw.
I use VTI Pocket Emulator for my coursework. Saves me from having to lug the old TI-83p around (except for tests of course).
http://www.ticalc.org/archives/files/fileinfo/309/30978.html
Very good list indeed. Could you please provide the links ?
OpenVPN
How about OpenVPN? I use this to connect to my home network
http://ovpnppc.ziggurat29.com/ovpnppc-main.htm

New video chat/conference software

I ported my ReelPortal video conference to Android recently. It's reported to be working well on the Viewsonic G Tablet with certain ROMs. It also works on the Archos 70/101. So I believe it would work on the A7 as well.
Anyhow, my app is published on AppLibs, or you can get it from the G Tablet thread here:
http://forum.xda-developers.com/showthread.php?t=908613
Please provide feedback if you try it. Thanks.
FYI,
It does work on my LAN on the A7. I just did a video chat between my Notebook (Win7 64bit) and the A7 using the Linux server code on my home Linux server.
Before opening (port forwarding) anything through my firewall, other than the TCP port the server runs at, does anything else need to be configured (ie - UDP forwarding, etc.)?
Also, any change you will change the server code to force a password to prevent unauthorized access from others if you run your own server?
Thanks,
J
rosenbj said:
FYI,
It does work on my LAN on the A7. I just did a video chat between my Notebook (Win7 64bit) and the A7 using the Linux server code on my home Linux server.
Before opening (port forwarding) anything through my firewall, other than the TCP port the server runs at, does anything else need to be configured (ie - UDP forwarding, etc.)?
Also, any change you will change the server code to force a password to prevent unauthorized access from others if you run your own server?
Thanks,
J
Click to expand...
Click to collapse
Good question regarding UDP forwarding, but unfortunately I don't have an answer. P2P mode uses UDP, and besides the ReelPortal server, it also requires access to the Adobe Cirrus server, which generate a certain key string, allowing the clients to see each other. But I haven't test P2P mode in my home server, since I set up an external dedicated server.
With regard to a password for server, I'll have to think a little more on it. Thanks for bringing it up though.
Update from http://forums.adobe.com/message/2630255
in order to connect to Stratus (aka Cirrus) and to make P2P connections to other clients, you MUST allow all UDP ports > 1023. if you restrict UDP ports, you may no longer connect to Stratus, and you probably won't connect to other clients.
I'm thinking of adding an optional "subkey" parameter to the server:
> server-linux 192.168.1.1 subkey=ABC
If subkey is defined, then all clients logging into the server must have a Key that contains the "ABC" string, e.g "123ABC456", or "ABCxxxxxx", etc.
What do you think of this approach?

[IDEA/POLL] Use C2DM app for remote phone access

These apps allow you to remotely access your phone from a web browser. However, they all run a web server on the phone, and I cannot connect to any of the over 3g (Verizon).
LazyDroid Web Desktop
Remote Desktop
Remote Web Desktop
I want to move the web server off phone, and (hopefully) onto private sites.google.com site. App Engine might be necessary, but I'm hoping this could be done solely in JS.
The hosting site would provide the UI, and interact with the phone using C2DM (the magic that powers Chrome2Phone, GMail, and installing apps from the web Market).
The UI is pretty obvious. It just needs a whiz to create HTML, Javascript, etc.
The C2DM backend is a still a bit mystifying to me... and searching for c2dm and javascript does not yield any obvious working implementations. But it seems plausible. Push a command to the phone, phone returns/uploads data to website, and UI updates.
Then there is the Android end. Well, there are the 3 projects above, Tasker for a quasi-hackish approach, and RPC (promising, but it seems like a WIP).
Thoughts? Volunteers? Geniuses?
Ooo... 2 birds with one stone!
This would also kill 2 birds with one stone.
No more typing in dynamic IP addresses! You get to use DNS to handle the connections. Bookmark your site in your desktop browser (it is always the same!). And set a preference in the Android app.
On lazydroid i've in planning some kind of trick that will let you connect behind firewall ... similar to a vpn...
CloudsITA said:
On lazydroid i've in planning some kind of trick that will let you connect behind firewall ... similar to a vpn...
Click to expand...
Click to collapse
I tried it again last week, and it is still unsuccessful. Webkey is currently the only application that I can successfully use to reach my phone.
Now, I could be wrong, but I believe all of these apps run a web server on the phone. I get a lovely, private 10.x.x.x IP address, which I can't reverse the route to. I have tried and failed to get DynDNS to work.
I have been looking into a solution since my original post. I have not had any time to do code squat, but I have loosely figured out all of the parts.
The big architectural difference I have been seeking is removing the server from the phone. I am not an Android expert, but I don't believe it even requires a running service. (Thank you, C2DM.)
With the app-webservice separation, you can work a "protocol" that reduces the overall bandwidth used... and thus improve battery life. Put all the "hard work" on a webserver, and (things get fuzzy here) possibly push it off onto the client browser (JS).
C2DM Browser Links
I could probably make something like WebKey but with C2DM and some more features. If you want you can give suggestions and I'll start making on saturday (after my exams). It would probably be possible in javascript for the actual sending from server and php just for logging in to your google account. The phone would just be registered on the server and no services (just as you wanted )
nebkat said:
I could probably make something like WebKey but with C2DM and some more features. If you want you can give suggestions and I'll start making on saturday (after my exams). It would probably be possible in javascript for the actual sending from server and php just for logging in to your google account. The phone would just be registered on the server and no services (just as you wanted )
Click to expand...
Click to collapse
I am not sure "more features" is necessarily the direction I'm headed. I am focused on making a "seamless" experience (i.e. less separation of phone and computer).
I was headed to App Engine (Python bias + easy Google integration). I have a project created. I haven't pulled together the various examples to make the core, but it seems <naive>simple</naive>. Stir in some templates, CSS, a sprinkling of JS, and voila!
The big "tricky" part that I can't convert from f***ing magic to a clear approach is the data link in the server. I want to avoid any storage to a Google disk, or otherwise, even temporarily. No stored data = easy privacy policy.
nebkat, if you're really chomping at the bit to code, here's my Android client concept.
- C2DM is a wake-up call. (cheat an borrow ChromeToPhone's ID to begin with)
- Connect to web server, send "I'm here," and wait for further instructions (Channels API/Comet/AJAX/.........)
- make the command set extensible
- each command is blockable in the client. (Permission control is set on the phone, not remotely.)
- After N minutes of no activity, send a "good bye," disconnect from the server, and fade into the background.
Don't worry, I'm very experienced with the server side stuff and I know exactly what you want. The only information stored on the sever side would be google account, the device c2dm registration id and some logging features just for statistics. A password could be set on the phone that would be sha512 hashed on the ajax request and would be sent to the phone. Even if a hacker found the hash, it would be useless without being logged in to the persons google account or knowing the server side auth token.
For now i'll just make the reciever, processor and command output and later on the extra security and ui stuff. It will work exactly the same way as Chrome2Phone except it will have server side php and the different commands. The connection from pc to phone will be something like this.
user command -> ajax request -> php c2dm request -> phone
phone -> php server http request -> controller page status
BTW I'm saving up for a Nexus S, how much would people pay for this type of app? There would definitely be a free version, but I just need to get the Nexus S because I have a Galaxy Spica now and it isn't the best for app development. I'm new to how stuff at xda works, would a donate version get me enoguh for the Nexus?
nebkat said:
Don't worry, ... <snip> ... auth token.
Click to expand...
Click to collapse
Alrighty then. I'm feeling like I can stop contemplating implementing this.
BTW I'm saving up for a Nexus S, how much would people pay for this type of app? There would definitely be a free version, but I just need to get the Nexus S because I have a Galaxy Spica now and it isn't the best for app development. I'm new to how stuff at xda works, would a donate version get me enoguh for the Nexus?
Click to expand...
Click to collapse
Since I was learning the ins and outs of App Engine, I read their quota rules and realized if this were popular it would require funding. I don't know where you are going to your web server, but I assume you'll have to pay someone to keep it running. But I had thought about $$$ already.
"Give away the razor, and sell them the blades."
Make the app free, no feature restrictions.
You get your money through various "membership" levels on the server. (See the account levels at fastmail.fm for an example.) So, you can use the app for free, but you only get, say, 2-3 MB of traffic per day, and only X sessions per day. Need more? See the pricing chart.
user command -> ajax request -> php c2dm request -> phone
phone -> php server http request -> controller page status
Click to expand...
Click to collapse
user command -> php server http request -> phone
phone -> php server http request -> controller page status
user command -> php server http request -> phone
lather, rinse, repeat.
C2DM is not deterministic, and acts up in low signal conditions. So, I made a decision to only use C2DM to initiate a session. Once both ends are connected to the server, everything goes over HTTP.
Oh.... and not that we need another Lookout/Phone Finder, but a shared-secret SMS code for the case where "they" have shut down the data connection.
I have my own server nebkat.com and there is nothing on it anyway.
The only other way to make "push" requests to the phone is with WebSockets. It would probably be better than c2dm because we have full control over what gets sent (google limits some requests). The advantage of WebSockets is that they send no header information which means that we could send our messages in 20 to 30 bytes.
I'll look into more detail on friday.
With web sockets won't you need to ensure the phone has a routable, external IP address? I know, for one, t-mobile does not expose an external IP address for their phones. Unless, of course, if the phone is connected over WiFi. C2DM works great for me (I have used a couple of apps with it and it is really useful).
MrGibbage said:
With web sockets won't you need to ensure the phone has a routable, external IP address? I know, for one, t-mobile does not expose an external IP address for their phones. Unless, of course, if the phone is connected over WiFi. C2DM works great for me (I have used a couple of apps with it and it is really useful).
Click to expand...
Click to collapse
No, WS is server initiated and the ip address' shouldn't make a difference.
MrGibbage said:
With web sockets won't you need to ensure the phone has a routable, external IP address? I know, for one, t-mobile does not expose an external IP address for their phones. Unless, of course, if the phone is connected over WiFi. C2DM works great for me (I have used a couple of apps with it and it is really useful).
Click to expand...
Click to collapse
You need an valid external IP address if you are attempting to initiate contact with your phone, which is why the 4-5 apps I've mentioned do not work on carriers like t-mo and verizon.
But the phone can establish a connection, and the carrier NATs (or whatever) will handle the routing for outgoing and incoming data.
I think the right questions are: Will Verizon/T-Mo allow the ports and protocol for WebSockets? Do Android and desktop browsers implement the draft API correctly and consistently?
I like C2DM. I works well when you have a good connection. But there are 3 issues with it.
1) The message size limit is 1024 bytes. Not ideal for file transfers.
2) In a poor signal areas, since the service retries sending messages, you will get delayed and/or duplicate messages. I work in a large "concrete" building, so I get this behavior often enough that I don't want to rely on it.
3) I believe there is a limit on the number of messages you can send. So, hunting around the filesystem could hit this limit (but unlikely in reality... I hope.)
It would be interesting to see exactly how those apps handle all of the data. Do they only use C2DM, or do they hand over to another protocol?
Ok my exams are over and I am starting with it. I'll give updates on this thread

[Q] Lock websites on Nexus 7

The training center I work for is piloting a bunch of mobile devices to distribute to users . The devices need to be able to access only a select number of websites and a few in house apps (a sad use for these wonderful devices). I have rooted one of our Nexus 7s and disabled most of the default apps. I then just password protected all of the apps that I must keep like Titanium backup, settings, etc. What I can't figure out is how to lock chrome so that it can only go to certain websites. Does anyone know how i could do this?
marcymtz said:
The training center I work for is piloting a bunch of mobile devices to distribute to users . The devices need to be able to access only a select number of websites and a few in house apps (a sad use for these wonderful devices). I have rooted one of our Nexus 7s and disabled most of the default apps. I then just password protected all of the apps that I must keep like Titanium backup, settings, etc. What I can't figure out is how to lock chrome so that it can only go to certain websites. Does anyone know how i could do this?
Click to expand...
Click to collapse
Android doesn't have parental settings like a computer with security software like kaspersky or McAfee. It also doesn't have such a software that prevents you from accessing sites you don't want it to be accessed. You can tell the IT department to set the privacy settings so when the sites are typed, it'll be blocked.
Sent from my Nexus 4 using Tapatalk 2
I'd address this by having them contact a specific access point that accessed a specific proxy (that they were configured to use) with the list of sites.
Squid isn't bad to configure.
drop the default route (ip route del default), add the desired DNS hostname translations to /etc/hosts -> /system/etc/hosts, and then add back in individual routes (ip route add) to the ip blocks named in /etc/hosts.
This would need to be repeated every time the DHCP lease renewed, as the renewal process will certainly re-insert the default gateway route, and the current IP might change.
A better solution would also compromise or replace DNS lookups with the same domain name whitelist, and every DNS lookup not in the whitelist would blackhole to the loopback (127.0.0.1) device.
You didn't say whether or not these devices are "in the wild" (either 3G or random WiFi hotspots). If the devices are captive (getting DHCP leases from a corporate/business access point) there are plenty of other tricks that can be played at the default gateway.
Note also that it is pretty typical for "web sites" to pull content from all over creation, or use load-balancing services (e.g. akamai) where the name-to-IP translation can't be readily predicted in advance,
Both of those factors might condemn you to be perpetually editing your hostname whitelist and routing table instructions.
good luck

[Q] need help ,developing group messaging over WLAN

I am supposed to develop a group messaging app (IM client) using WLAN ,its a term project.This app is supposed to list all the available users that are connected over the wlan and provide the user with the options ,to create a group ,send group messages or send messages individually over the wlan.I have had experience of developing android apps in the past but none of them have ever been network based.
I need to know :
1.what Internet protocols will be used .(sip? ,voip?) for DNS etc ,yeah i have below meager networking knowledge.
2.what areas do i need to research any links to resources will be quite helpfull .
3.any open source app that offers the same functionality
4.do i need to set up a server aswell ?
I would be really thankfull for your advice on this .
Take a look at XMPP which is an extendable and open source messaging protocol.
DNS is just used to convert names to numbers, so you'd give your server a name and create a DNS A record, then the clients would use that name to locate the server. XMPP works over TCP/IP which is useful as it's implemented in every operating system I'm aware of. There are also XMPP clients (which is a protocol that works on top of TCP/IP) for all platforms out there as well.
Check wikipedia for XMPP to give you background information, then look at something like openfire as a server implementation, it's pretty simple to setup and has a web based configuration.
Configure Microsoft Communicator

Categories

Resources