Wm6 and sms hanging - Windows Mobile Development and Hacking General

First of all sorry for my bad english =)
I am new to WM programing..after i had expirience of ARM asembly programing..
So..i am trying to develop a WM6 smart interface for IDS controling.
Over GPRS evrything works perfectly, but i'd like to implement a control over sms
On a IDS server side evrything ready for that..SMPP transciver is working, SMPP gateway also.
On a client side we have a nice visual interface witch could generate needed pgp signed message
which could be than parsed by server..but the problem is that i dont know how
WM handles sms sending and reciving..are there any routines or API's?
Ofcource i coulde reverse engineer some of it's components, but it'l take a time
Thanks a lot in advance!

Related

O2 UK SSH access (port 22) over GPRS?!

Hi everyone,
I was going to buy the XDA II, but ended up with the Siemens M65 (sorry!)... I was too worried I'd break the XDA as I use my phone quite heavily under rough conditions.
Anyway, I figured this would be a good place to ask... is it possible to connect to port 22 (SSH) over the O2 UK GPRS network? Do they support TCP/IP networking? I have two Java SSH clients for my M65 (mobiSh and FloydSSH) and they just return an error saying 'no route to host'.
I've got my GPRS setup as I can access HTML web pages and download emails from POP accounts, but I have a feeling port 22 is blocked..?
Many thanks!
Matt
Maybe your JAVA VM can't connect to Internet? Try PocketPuTTY! This is working for me in Hungary/Vodafone. It is a simple applicatio.n, doesn't need Java.
My question; there is any SIP that can send function keys? For example, I like to quit from MidnightCommander, but the internal keyboard doesn't have an F10 key.
Maybe your JAVA VM can't connect to Internet? Try PocketPuTTY! This is working for me in Hungary/Vodafone. It is a simple applicatio.n, doesn't need Java.
My question; there is any SIP that can send function keys? For example, I like to quit from MidnightCommander, but the internal keyboard doesn't have an F10 key.
It *has* to be Java for it to work on my Siemens phone.
I was just hoping there would be some O2 GPRS users here Anyway, I solved it... I changed the port on my SSH server to a more O2-friendly port (it seems they didn't like me using port 22). It works fine now.
Thanks!
Matt

MSN Messenger Proxy Development (Help Required)

Hi,
I'm new to this forum and the world of XDA's, I was given one for Christmas and now I am looking at developing software to extend it, after finding out that MSN Messenger does not work with Pay-As-You-Go on O2 (and other providers) because of the limitation of other ports, I've decided to build a proxy for messenger so that it can connect over the HTTP protocol.
I have a lot of previous experience with Messenger at the protocol level, I have developed many pieces of software which connect to the servers as normal clients would, most importantly I have a good understanding of how the Proxy system works.
I have not developed in many system-level languages before, however. I am mainly a PHP coder and am learning VB .NET at college, however I plan on doing this project in either VB .NET or C++.
What I require help with is how to actually pick-up/hijack the commands sent to the server, before they are sent to the server. Is there any way of doing this without MSN supporting a proxy, I've seen it done on many pieces of software, but does anyone here have the knowledge to help me do that? Once I have the messenger interface the Proxy system will be a breeze to complete.
Would anyone be able to help me out with the above, in terms of a section of code, or a suggestion for a website to look at?
Many Thanks
Andy
P.S. Sorry my explanation is a bit vague but that is the best way to explain it, I could draw a picture of what I mean if anyone requires
I believe what you are trying to do is of great importance for many users..
I can't help in the proraming field.. since my info in this field are really limited..
However.. I would sugget another soulotion ..
why don't try creating an application that works as socks server for the msn messenger...
there many similar programs for the PC.. like www.hopster.com
if you can port it into PPC platform, it will be awesome
Happy holidays :wink:

O2 Exec SSH Client

Hi,
I'm a webmaster and just bought my O2 Exec today and am so far very happy with my new toy! My main reason for buying this is so that in emergency situations wherever I am I can fix my servers which receive 10,000's of viewers per hour.
Can anyone recommend a good SSH client for my O2 Exec similar to putty on the PC?
Thanks,
Paul
O2 XDA EXEC SSH Client
Go for Pocket Putty http://www.duxy.net/~aleq/PocketPuTTY/PocketPuTTY_v0.1-preapha-0.53b.zip
is that one workin on wm5?
Tried that last night, programme loads but there is no ok button to connect to server. Also there was no way to specify a custom ssh port.
Any ideas what to do?
PocketPutty is working on WM5 however custom ssh port is not supported, also there is a lot of problems with emulation. So far I was unable to find working ssh client for PDA.
I use PocketPutty on my MDA Pro (HTC Universal) and I have no problems with it.
when the question comes where you need to tap on ok, just press enter on the builtin keyboard.
I would like to change the font used by PPutty, as the vga screen can show much more information thus making directory listings etc. much better readable.
Can you use custom ssh ports? All my servers use custom ports for security reasons.
No, I use standard ssh Port. too bad that the source code is not open source or I would change it myself
Tried on my Dpod 900 but failed to login. :evil: :evil:
vijay port a new wm5 version thanks =?)
Hopefully sometime soon putty will be converted to wm5 with custom ssh port support.
Hi Supafly
I do similar stuff to you and there are lots of products out there that just do not work. I need ping, ftp, tracrt, telnet, SNMP, Packet sniffer . But instead of supporting web servers I support Telecoms VOIP network with 24/7 cover.
The best for these that support ozVGA are the Cambridge products. Even though I gather they were built 6 years ago they just work without any problems at all on the universal. Some have been ported to PPC 2003. The telnet client is good in ozVGA as you get a full screen that can show the entire screen from most telnet apps.
Here is the link http://www.cam.com/windowsce.html
I did try pocket putty first but did not have much sucess with it. If any one has a better suite of products that work well I am all ears.
Cahrlie
http://www.dejavusoftware.com/pocketty/ works well for me, it can run in VGA with any of the VGA hacks, and lets you choose any font you have as well as screen width/height. It also does all the encryption stuff properly, that a lot of clients dont bother with. Port tunneling etc too.
The screen sometimes goes half size, but you can fix that by opening and closing the onscreen keyboard.
Courier new with font size 6 gets you the full terminal window on your screen, and its readable nicely in VGA mode.
supafly said:
Can you use custom ssh ports? All my servers use custom ports for security reasons.
Click to expand...
Click to collapse
That pocketty program supports custom ports as well.

directpush protocol questions (exchange replacement possible?)

I am using mail2web free service to have my mail pushed to my WM5 device, but I don't like the idea of forwarding my private email to a company I don't know and I don't trust.
Normally I have my email at a home mail server running linux, and I was wondering if there's any open/free solution compatible with directpush technology to replace the need for an exchange 2003 server.
If it does not exist (i have been searching and couldn't find it), what is preventing someone of writing a free replacement? patent issues? authentication issues? I haven't sniffed the protocol yet, but I think it's impossible that no one has thought about it before... wouldn't you like to have your home imap server pushing your inbox to your PocketPC phone? If the protocol is not very obscure it should be easy to write a daemon that does it...
any thoughts or experiences?
Kerio Mail Server has the push compatibility.
Not free though, but it is an alternative to Exchange.
Their latest beta supports it. I reported a bug to them re: contacts getting corrupted but they say they fixed that in the latest build.
Can't retest now since that server is at another site I won't be visiting for a while.
Hmm the directpush "protocol" is pretty trivial it shouldn't be impossible to implement an open alternative.
I installed the latest Kerio MailServer yesterday. It works great!
Especially nice is that it runs on XP as well as Linux. Too bad about the price!
pof, have you had the chance to sniff the protocol?
not yet ivorh, been too busy with many other things, but this is still on the queue
sniffed
Heh, got bored so I setup an exchange account and sniffed the packets.
I'll go through them and post some details when I get a chance.
great ivorh!
Can you attach a capture in pcap format?
update and thoughts
Pof,
Hmm, ok a bit more thinking and digging and I'm not sure implementing an open alternative directly is that useful. Let me explain why:
The direct push only works with the outlook exchange active sync. When the device gets a "direct push" byte, it triggers a sync with exchange - the functionality is tightly bound together, and as far as I can tell you cant dip in and get it to do something else. So to get it working you would need a server providing the exchange http interface. This wouldn't be impossible but would need a lot of effort for little benefit.
I took a look at the open-exchange but that doesn't seem like an ideal solution since it would require a completely different server installed rather than IMAP or POP and as far as I can tell the Outlook connector isn't one of the open-source components anyway.
Now what I'm currently thinking would be a neat workaround would be to implement a custom "direct-push" to basically do exactly the same, have a client app on the device open an http connection to a server running, er, "OpenPush" if you like... use exactly the same technique of a keep-alive connection and occasional heartbeats, but on a message notification on the client get the client to trigger an IMAP pull.
Now this is where I need some advice.... I haven't done any Windows Mobile development yet, so can anyone tell me what sort of API is available to the messaging app? Can you/how do you trigger a mail pull? (oh someone please tell me it's not the same horrible old MAPI interface??).
PS I've just been capturing the data using a simple http proxy actually, I'll make some samples and upload them with descriptions.
Cheers,
Ivor.
http://www.ivor.it
Hi pof,
try funambol. It was formerly known as Sync4j. I once found it when I searched a complete sync solution that I could implement in the mailserver of my company. We are using kolab so I only tried the old Sync4j cause there is a kolab connector available for v2.3.
v3.0 implements (real) Push-Mail. Microsoft Active Push works with a http connection that is opened by the client. Funambol Push-Mail connects to a port the client opens. I didn't want to test any further cause I'm using a Wapflat and thus only get an internal IP and have to use a proxy.
http://www.funambol.com/opensource/
Perhaps this is what you are searching for
What I forgot to say: For funambol you install a java program on your phone wich will insert the received mails in your Pocket Outlook
Yay!
Pof,
Ha! Ok I've whipped up a version 0.0.0 of OpenPush. and it works rather nicely!
Basically it consists of two parts one is an app that runs on the mobile and operates in the same manner as DirectPush. It opens up a socket connection to the server and waits for a notification byte. If it recieves a byte it kicks off a mail retrieval.
The other is a daemon that runs on the server and watches for a change in the users mailbox if it changes (i.e. a mail has arrived) then it pops a byte down the socket.
It just needs finishing now...
Currently the daemon is just an app that listens on a dedicated socket. I plan on turning it into a mod_perl module and using http keep-alive in the same fashion as directpush.
Regards,
Ivor
ivorh, that sounds cool!!
I had a look at funambol but seems too 'bloated' for my needs, I think your OpenPush will be more tight to what I was looking for, so if you want a beta tester just send a link to it
Is there any specific server configuration? I am running a Gentoo server with courier-imap, sendmail and apache2.
Any chance you could extend the daemon so other programs can tie into your new-item notification? It would be cool to write a program that can keep files synchronized over-the-air with a desktop machine using push sychronization.
Pof,
Yeah it's just a prototype at the moment. So I need to write it properly next. At the moment the requirements are simply "perl". It's independent of mail system, it simply monitors a directory/file you give it for changes.
I'm going to write it to be a mod_perl module for various reasons, so the requirements will be just apache and mod_perl.
I'll hack some more tonight and try and get a 0.0.1 ready.
aatreya,
Well I'll keep it simple for now and just doing one job well.
Sound interesting to me.
I am new to this. Pardon me for some questions.
Do I need to buy a server at home?
This server can be any OS?
I am really happy to see some people trying to do just about the same I intended to. Today I started experimenting with Open-Xchange. I also have a Gentoo server that provides an ebuild for Open-Xchange, but after a bit of browsing it just seems like the thing MS Exchange and OX have in common is the similarity of their names. So installing OX and doing all the Exchange stuff with it does not seem to be an option.
So I looked into Funambol - sort of again. About a year ago I already tried to get Sync4J running to sync my SyncML phone. I did not succeed, but that just makes me eager to try it harder this time.
I also have to use a Proxy-Server for my GPRS connection but I want to have it working via WLAN, too, hence without proxy and the whole tunneling disco.
PS: Ivor, I am glad to meet You once again. When our roads crossed the last time, You just figured out how to get the CLE266 MPEG2 stuff working, respect!
A very rough pre-alpha version should be ready this weekend. I can only apologise in advance for the quality of my WM5 app!
But it's "working for me".
CWKJ,
At the moment the "server" is a simply perl app that watches for changes to a directory or file so its pretty portable. I run it on linux since that's what my mailserver is on.
As for needing a server at home... well its entirely up to you, really you want the server running wherever your mail is retrieved from.
If the app/system gets a bit more polished and advanced you might even find independent ISP's willing to add it as a service.
rabinath,
Heh! Small world.
I'd also like to be considered for Beta testing when available,
I run Ubuntu 5.10 Server at home, hosting 5 domains for myself, and would Love to not have to forward them through mail2web anymore as I don't like to reply because it will go through Mail2Web. I know I can create a separate "account" in Pocket Outlook but you can only have 5. I need more than that...
with direct push over the o2 wap proxy all https conections are closed after 2 min. this is becausse all 2 minutes a new sync is needed. This eats much battery. So why is it nnot possible to mak e a ppc client that just sends the current ip adsress to the client on the server. and the server just push the email to the known ip adress. The client on ppc just has to send a new ip in case it changes. this wouldt be much better for battery life.
Thats the reason Exchange-Activesync works the way that it does. The server sends out a text message that is handled at the system level on the PPC, and this is basically an instruction to sync with the server. No unneeded traffic just to check if there is anything new.
Most Celllar service providers are using NAT technology so reporting your IP address to a server and telling it to make a connection to that IP, would just be telling the server to connect to the "gateway" back into the Cellular network. A text message sent to what is called the "SMTP Gateway" for each service provider will get to the phone no matter if the phones IP changes.

[Q] VOIP develop in Android

Hello,
I have a project at the uni about VOIP development in Android. But I really don't know where to begin =((
What I have to work with is SRTP (secure real time protocol). The idea is that I have 2 users, each has a software running on Android (like Skype) and a VOIP server (actually I built Asterisk server already). THe software acts like a chat program, it means that User A send a message to User B. The message from A will be sent to Server and deliveried to User B with SRTP (mean that some encryption stuff will be done by the software)
My problem is that how to sent it with SRTP in Android? I have some experience in Android programming, in VOIP, in Asterisk server ... but I don't know how, or where to begin to make it work =(
Is there someone here can help me with an example, or a suggestion with open source for VOIP which can use on Android?
Thanks a lot for your help
Someone can have any suggestion please? =((

Categories

Resources