netstat Like tools for Pocket PC ? - Networking

Hi,
Is there any simple tools (like netstat) to help troubleshoot network connectivity ?
I've got already vxUtils but it doesn't give you any informations about pending TCP connections
thanks
Ced

Did a quick search, maybe...
Netstat 2004 (NSProfiler 2003) 2.0
Description:
NetStat2004 helps you to discovery
Network card information
Routing Table
ARP Table
TCP connections
UDP connections
Netstat
TCP statistics
UDP statistics
IP statistics
ICMP info
on your PocketPC!
You could try the demo...
http://www.pocketgear.com/software_...w.pocketgear.com/software_detail.asp?id=12709

http://www.symbolictools.de/public/pocketconsole/applications/nettools/index.htm
it says ppc2002, but will probably also run on ppc2003.

Related

VPN with PPTP and GPRS

I have been trying to establish a VPN connection with my xda over gprs to my office computer (PPTP) but I am not sure I have made the appropriate settings. There is no place to type in my username and password (except for the gprs connection).
Can anyone guide me on how to ensure a proper connection?
Also, I am not sure what the VPN connection will mean in terms of pocket pc functionality. Will it mean that I can access my office e-mail which would otherwise require a direct dial in? Will I be able to synchronize with my office outlook?
I would greatly appreciate your help. Thanks, apap
VPN
hi,
suggest ringing 0845 6006886 (O2 GPRS Helpline).
They have a PDF Doc that may help. They will e-mail it to you.
Doc Title VPN_Access_over_mobile_web.
Good luck
Ric.
Thanks for your help Ric.
I have followed the settings as discussed in the pdf file but I have not had any success. I will call the helpline.
private networks
Please note that if you are using O2 and your office have a private network range in the 10.0.0.0 range, you will have problems due to the subnet mask used, and the fact that O2 use NAT.
I have written a utility which monitors the routing table, and overcomes this problem by narrowing the net mask. Anyone who is interested, contact me for this software: [email protected]
I tried to 'give' this software to O2, but they didn't seem to care. They didn't really seem to understand the problem.
Re: private networks
martinlong1978 said:
[...]
I have written a utility which monitors the routing table, and overcomes this problem by narrowing the net mask. Anyone who is interested, contact me for this software: [email protected]
I tried to 'give' this software to O2, but they didn't seem to care. They didn't really seem to understand the problem.
Click to expand...
Click to collapse
How about this: we'll dedicate a page to it on this site, and possibly even include a small tutorial that deals with networking stuff in general. If everyone in the know contributes a bit of their knowledge, I'll lay it all out, add the screenshots and put it on a page.
Re: private networks
Thanks.
Here's the gist of it.
Often, corporate networks use addresses in the range 10.0.0.0 - 10.255.255.255 in order to create private networks. This address range is designated for this purpose, and is the only class A range designated as such.
O2's GPRS network uses NAT in order to cut down the number of IP addresses they require. In doing so, they also use the private address range.
It is not recommended practice to use NAT for subscription networks, as they do not provide a 'complete' internet service. Certain peer-to-peer services will not work through NAT, as they require both devices to be publicly addressable - this however, is not the cause of this issue.
Lets look at the process of connecting to a VPN.
1) a 'dial up' connection is made to the GPRS service. When I say 'dial up' I do not mean a circut switched call is made (before you techies correct me), but still, some kind of PPP connection is made.
2) IP addresses are negotiated. An address is allocated to the device in the 10.0.0.0 range. During this allocation proceedure no subnet mask is specified, and the device assumes 255.0.0.0 as for a class A network.
3) The device adds a route to 10.0.0.0 mask 255.0.0.0 on the GPRS virtual adapter.
The connection to the VPN can now be made
1) a 'dial up' connection is made to the VPN service.
2) IP addresses are negotiated. An address is allocated to the device in the 10.0.0.0 range (depending on corporate config). During this allocation proceedure no subnet mask is specified, and the device assumes 255.0.0.0 as for a class A network.
3) The device adds a route to 10.0.0.0 mask 255.0.0.0 on the VPNvirtual adapter.
All seems fine - no? Try connecting to any host on the private network. Mail server, terminal server, web server. I bet you it doesn't work. That's because two routes have been allocated on the 10.0.0.0 mask 255.0.0.0 network. When you try and connect to your mail server (eg 10.0.0.6) the packets go straight out through the first matching route - the GPRS, and never even see the VPN route.
My software tool watches the route table (I use a function in the IPhlpapi.dll for those interested), and waits for a change. When it spots a change, it re-writes the routing table, narrowing the routing entries to 24 bit masks (it works out the missing octets from the gateway address).
So an example would be:
10.0.0.0 mask 255.0.0.0 gw 10.34.23.254 if GPRS
10.0.0.0 mask 255.0.0.0 gw 10.0.0.1 if VPN
becomes
10.34.23.0 mask 255.255.255.0 gw 10.34.23.254 if GPRS
10.0.0.0 mask 255.255.255.0 gw 10.0.0.1 if VPN
This allows you to access stuff in the 10.0.0.0 network.
Drawback:
You won't be able to peer to peer with other O2 XDA's who aren't on the same class C netowork - big deal, does anyone do this?
You are limited to contacting hosts on the same class C within your private network. I am working on broadening this range.
Files:
There is 1 file required - the executable, which should be placed in the startup folder. Let me know where to send this, and it can be made public.
util.
To keep you updated. I've just updated this slightly. It no longer requires MFC. It is 1 x 5.5 K executable.
Regards
Martin
Please note, not everyone will need this update. Only if your office uses a 10.0.0.0 subnet.
Thanks for all the enquiries.
Can I share the files - VPN_Access_over_mobile_web.pdf?
Hi ,
Can I share the files - VPN_Access_over_mobile_web.pdf? I am also testing the VPN conection over XDA GRPS, but if it is possible , pls mail me that PDF files. [email protected]
Thx
Li
CAn anyone please email me the VPN_Access_over_mobile_web.pdf file? Please Please Please!
Thanks
Ian
[email protected]
Don't have this file to hand, but if it is the one I think (provided by o2 UK) it is on their site somewhere.
VPN to Win2k server (with fixed ip, and internal ip of 192.168.blah-de-blah) worked first time following those instructions, as did Terminal Server used to remotely control it.
HTH
imordey said:
CAn anyone please email me the VPN_Access_over_mobile_web.pdf file? Please Please Please!
Thanks
Ian
[email protected]
Click to expand...
Click to collapse
VPN Access
For goodness sake.
http://www.o2.co.uk/mobileweb
Select the VPN Access tab!
Download the PDF from there.
A little surfing goes a long way
Re: util.
Hi Martin, I tried to mail you for the VPN fix but it bounced, any chance you could email it to me or attach it here? paul_w at cix dot co dot uk.
Thanks,
Paul
--
To: [email protected]
Subject: XDAII VPN fix
Sent: Sat, 28 Feb 2004 13:15:42 -0000
did not reach the following recipient(s):
[email protected] on Sat, 28 Feb 2004 13:30:55 -0000
The recipient name is not recognized
The MTS-ID of the original message is: c=us;a= ;p=trace computers
;l=DATA1504022813301W4WRN23
MSEXCH:IMS:Trace Computers PLCatawiseATA15 0 (000C05A6) Unknown
Recipient
martinlong1978 said:
To keep you updated. I've just updated this slightly. It no longer requires MFC. It is 1 x 5.5 K executable.
Regards
Martin
Click to expand...
Click to collapse
Does anyone have this file? Or any contact details for martinlong?
Thanks,
Paul
What VPN does for me.
Me and my significant other have 3 servers in our closet and host exchange (email), Active Directory, and outlook mobile access as well as things like ftp, web, and most importantly VPN. All my email that comes to us goes into my Outlook box on the exchange server then activesync sends a text message to my tmo pda phone and activesync begins downloading my mail and synchronizes my contacts and calendar. Once that is complete, a VPN connection is started up and the pda syncs with my desktop computer, so programs like vindigo and files like my documents are up to date. I even have the option of installing over the air or browsing my files on my computer at home.
Hey Sytris, I'm setup the same way pretty much but I've tried with 2 different devices and I can't get it to sync with the local computer. The active synce with exchange works fine and the vpn connects just fine. The active Sync app on the server then gets the connection from the PPC but shows connected as guest instead of my device and the active sync on the PPC still shows connecting but never goes anywhere. Did you run into that when setting yours up? Any suggestions? Thanks - Jim
About PPTP connection via PC I found nice tutorial step by step here at supervpn.net/blog
About mobile, you should try to contact some VPN provider, they have nice live chat support so they can answer you probably on all your questions.
For setup your vpn on your phone you can find solution on worldvpn.net

VPN Problem

I am trying to set up a vpn connection and can connect to our firewall but I cannot connect to the network. If I try to pin the network it just times out.
The firewall is configured to allow the device through.
Can abyone help with this??
Thanks
Sorry I'm no expert on VPN or much else.
I use Remote Desktop through a router, firewall enabled.
Took a while to get through the firewall until I had set everything up properly.
You have to enable a virtual server port on the router to allow the traffic in, have you set one up and if so the right port number for VPN. From what I have seen its 1723.
Not much help I know, but seach on the internet for help on setting it up correctly, check your settings and double check.
Hi quest,
let me answer some questions to see things more clearly:
1. Do you use built-in (Microsoft) VPN-Client or 3rd party product
2. If Microsoft, what type of VPN did you set up? L2TP or PPTP?
3. If L2TP, how do you authenticate: Preshared Key or Certificate?
4. How do you know that the device connects to your firewall?
5. How do you know that the device doesn't connect to the network?
6. What exactly is the rule permitting your device passing the firewall?
The answers to your questions are:-
We are using the built in MS VPN client of Win Mobile v5.0 (5.1.1700 build 14352.0.1.0)
I have tried both PPTP and L2PT
When L2TP, I was authenticating with a preshared key
Firewall logs show PPTP negotiation successful, and issues a VPN IP address to the device
It can ping the firewall external interface, but times-out trying to reach an internal address
The VPN session is established, but the firewall logs don't register either deny or allow traffic for each internal ping request, rather the firewall packet error count increments for each failed attempt.
Any help is greatly appreciated.
The answers to your questions are:-
We are using the built in MS VPN client of Win Mobile v5.0 (5.1.1700 build 14352.0.1.0)
I have tried both PPTP and L2PT
When L2TP, I was authenticating with a preshared key
Firewall logs show PPTP negotiation successful, and issues a VPN IP address to the device
It can ping the firewall external interface, but times-out trying to reach an internal address
The VPN session is established, but the firewall logs don't register either deny or allow traffic for each internal ping request, rather the firewall packet error count increments for each failed attempt.
Any help is greatly appreciated.

PING a website or IP to see if PPC data is really connected.

Is there a tool or vb.net code out there that can ping www.google.com or other websites ( IP address) from my PPC to prove to me that my data connection is actually working.
Any ideas ?
Try WiFi companion - http://www.socketcom.com/product/SW1221-596.asp
I use VXUtil - http://www.cam.com/vxutil_pers.html.
Cheers,
Steve.
I wrote my own tool for my needs : http://forum.xda-developers.com/viewtopic.php?p=320902#320902

Netstat equivilant on WM 6.1?

In windows, I can enter "netstat -b" to get a list of all applications which are connecting to the network. Is there such a utility for WM 6.1? I would like to know which applications running in the background are connecting to the Internet on my Kaiser. I found the equivalent to ping and ipconfig /all, but I would also like to have netstat available.
fdcSoft TaskManager has netstat GUI, however TCP connections are not displayed on any of the devices I tried. UDP connections are showing Ok.

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

Categories

Resources