View Full Version : How to tunnel UDP over ActiveSync?
Chatty
08-06-2005, 10:09 PM
Hi...
several protocols utilize UDP which is blocked over ActiveSync (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/ppc_through.asp). Now it would be great if one could implement a simple tunnel to make SIP (VoIP) work.
buzz_lightyear
09-06-2005, 08:17 AM
hmm... interesting...
buzz
I want to know, if someone get the answer
Chatty
04-02-2006, 12:47 AM
Today I found out I have a process running called "udp2tcp"... did MS program a service to circumvent their own ActiveSync restriction? Unfortunately it's just listed on an old useless MSDN page.
Nevertheless I found this udp2tcp and tcp2udp (http://hehe.pl/drg/devel/c/udp/)-project. Maybe vijay could compile an ARM and a x86 binary and we're done!
vijay555
04-02-2006, 04:35 PM
Chatty, I'd love to be involved, but I'm extremely busy this weekend. The app requires a number of support includes which I'll have to track down, but I don't imagine it will be a plug and play job. Might take some time...
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/select.h>
#include <sys/wait.h>
#include <netdb.h>
#include <signal.h>
Anyone else got any time to look into this?
V
redjupiter
25-02-2006, 05:07 PM
Hi...
several protocols utilize UDP which is blocked over ActiveSync (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/ppc_through.asp). Now it would be great if one could implement a simple tunnel to make SIP (VoIP) work.
There is a way. On your PC,
1- create a guest account
2- create a fake email account
3- install active sync
4- connect your device
5- Activesync will run and then retrieve the device information and then it will runa wizard for syncing; cancel this wizard; Activesync will tell you that syncing has stopped but you can still explore, add/delete programs from your device; but what it does not tell you is that a network conenction has been created and your device has full access to the internet through your PC. To verify that get a console widnow and type "ipconfig" it will print out the address of your machine and the IP address of your device. Cool....
Hope this helps.
redjupiter
25-02-2006, 05:30 PM
Hi...
several protocols utilize UDP which is blocked over ActiveSync (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/ppc_through.asp). Now it would be great if one could implement a simple tunnel to make SIP (VoIP) work.
Hi Again,
forgot to add that you can also use my method described in earlier post with bluetooth - so you dont have to physically connect to the PC. the difference is that you start active sync from the device (connect via bluetooth), thats it. and now you have wireless network through bluetooth.
Hope this helps.
Chatty
27-02-2006, 12:04 AM
@redjupiter: Since you seem to be new: You don't need your actions regarding email and stuff. The internet connection is always setup when the ActiveSync connection is setup. My original post will give you detailled information about what is possible and what is not (UDP for instance).
redjupiter
27-02-2006, 01:18 AM
@redjupiter: Since you seem to be new: You don't need your actions regarding email and stuff. The internet connection is always setup when the ActiveSync connection is setup. My original post will give you detailled information about what is possible and what is not (UDP for instance).
You are right I am new - was trying to share no more. So I foudn the hard way hwo it works :( still I cannot use internet connection if the activesync is in sync mode!! do you know why? . I will re-read the link.
great link ...
thanks
redjupiter
27-02-2006, 01:27 AM
@redjupiter: Since you seem to be new: You don't need your actions regarding email and stuff. The internet connection is always setup when the ActiveSync connection is setup. My original post will give you detailled information about what is possible and what is not (UDP for instance).
Ok I got it. It is a developer issue. However, a uestion comes to my mind they are talkign about pass through - is this what I am using? cause out of the box does not work unless I tell activesync not to sync with my device. or are they talkign about devloping applications and explaiing hwo activesync works internally?
As you said I am a newbie wanting to learn that's all :-)
thanks
redjupiter
28-02-2006, 12:16 AM
OK, So activesync creates a nework for the device out of the box. Why my machine does not do it? I'll be damned if i don't find out and I did.
My machine has multiple network interfaces other than the wireless/wired router. Two machien goes to the internet via the router and the rest ( 4) go through a switch fonnected to my machine. I have multiple internal networks (my work).
The thing is Windows XP Home Edition creates what it calls a mini-bridge where you can dump networks (interfaces) in it and it will take care of traffic routing among the networks (those that you leave out of the bridge their traffic will not be redirected). So the mini bridge acts as a router.
here where i found my problem, the router refuses to add device network (created by Activesync) to the bridge. Activesync breaks completely and i have to reinstall. Anyother network is fine, modems, PAN, Firewire ... I can add them all.
So there was a network for the PPC but Windows is not forwarding the packets.
Your link gave me the clue ...
thanks ... OK, enough waffling ...
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.