I am trying to find out the structure of request (URL, POST or XML file) that a particular iPhone app sends to server to retrieve data from it.
In the browser you always see the URL that was used to retrieve HTML of the page, but in the iPhone app you don't see the URL it uses. You only see the server's response visualized by the app. So, how can I find out the request that an app used to retrieve the data from server?
Thank you in advance!
Use a packet sniffer like Kismet or Kismac to view the traffic on your home wifi network.
You can use Charles proxy for that.
http://www.charlesproxy.com/
Start Charles in your computer
Then change iPhones proxy settings to use Charles proxy.
To use this, your computer and iPhone should connect to the same wifi network.
Related
I am using a free caller android app and they restrict me with limited credits. I would like to explore more about how this app works. So I started decompiling the APK file and intercepting networking requests using Fiddler.
I intercepted requests, but none of those are creating the actual call. So after decompiling the APK I understood they are using SIP server for calls. I couldn't intercept any SIP call with fiddler or wireshark.
They are using this SIP server : https://www.kamailio.org/
Kamailio is one of the powerful SIP Servers and they have good documentation and big mail-user list. You can check their wiki:
http://www.kamailio.org/wiki/
For understanding this case first you should learn "how voip works" subject. You already can not inrecept any SIP call with fiddler or wireshark. Generally, SIP server managers hide their topology for security reasons. Thats why you can not observe SIP traffic to the end of the tunnel.
Even Kamailio has its own module that provides hide your network topology with one click :)
https://www.kamailio.org/wiki/tutorials/tls/testing-and-debugging#decoding_of_tls_connections_with_wireshark
If they can limit your credits, then, of course, they will authenticate your every call and reject it if you don't have enough funds (or out of quota).
So, if you learn a little bit about SIP technology - perhaps, you'll be able to send a call request even without a dialer, but I doubt that the call will be authenticated.
An analogy: if you know a full path to some restricted page - you can paste it into the browser's address field and go there, but if you are not logged in, then you will still get an error like "you're not allowed to read this page".
I am working on a IP cam job. I want to change my RTSP URI. I'm using ONVIF and I get RTSP adress with GetStreamURI SOAP REQUEST. But I can't change this adress. For example my adress is "rtsp://localhost/channel2" but I want change it "rtsp://localhost/mystreamstring" . So can I do it with ONVIF? Or can I create another stream profile like this?
The ONVIF standard does not concern change the RTSP url for an onvif profile. So the answer is, you can not. But if you want to provide video stream by custom url you can use some Video Streaming Server like Unreal.
I'm kind of starting programmer and on Objective-C. So I want to make an app for iOS that receives messages from a server. These messages are inputed manually, and send to all iOS connected to the server. People connected will receive a Push Notification, if they aren't connected to internet they will receive when they do and run the app.
So my question is: do I need to use a server to do this (sending messages for multiple iPhones)? In case of yes, with is the best server? TCP/socket?
If your only purpose behind using is to send push notifictaion message, then you dont need to spend on that. There are some service providers available which allow you to send notification from there website. for ex: you can use urbanairship. You need to register device token from your Xcode project using their SDK, and then you can send notification from their website.
Thanks!
I know how to make a TCP connection from a phone to a URL (server)
I know how to make an HTTP connection from a phone to a URL (server)
I do not know how to make a connection from a server to a phone
Is there a way to use the phone number of a phone to bridge from voice network to data network of the same provider (VERIZON or AT&T or ROGERS in Canada)?
In essence I wish to find a way to make a "phone call" from a server, over the Internet and over the local data network or WiFi, to a phone, without using any intermediaries
We are willing to pay for this info (optionally)
You can use Push Notification Systems for connecting to the phone. Ideally, you'd want to initiate a pull of data from the device when it receives a push notification from your server. This is because push notifications can handle only small amounts of data.
Another option for you, would be to open a socket on the client device and broadcast this address to your server during startup. Later, your server can directly connect to the listening port on your device, provided the app is still running.
You could send a push message to the phone and let the phone establish the connection.
Just a rough short sketch, maybe this will help you. If I'd had to solve that problem
i would use androids Cloud2Device messaging to tell the phone to connect to a certain
server which you specify in the message from the cloud. Then the phone connects to your command server and you can tell over the connection what the phone should do.
This way you dont have to execute a server on the phone.
Look here
My Ideas
1.Have a look at http://developer.android.com/reference/android/net/sip/package-summary.html
2.Use C2DM(cloud to device message),It will send the message to your app
3.Use XMPP chat client from the server you can send the message to android app after receiving message your app can call(it depends on your logic)
There is no universal one-to-one mapping between cellular phone numbers and IP addresses (e.g. the user could have driven out of cell tower range to a coffee shop with wifi). So this is impossible to do directly.
The services that do seem to do this require a running app on the mobile device to cooperate by periodically connecting to some centralized database using its current IP address, which some server can record in its database for you to do a lookup when want to try to connect to that mobile device. Google "SIP service providers".
I'm using the MFMailCompose method to do an inApp email and everything works fine. I sent the app out to have it tested and here is the response from my beta tester.
My phone is a 3gs 32Gb, OS3.1.3
Tested at home over wifi, send works with no problems, tested twice.
Tested again over 3g, send still does not occur until I open my mail box, error still pops up.
Has anyone come across this? His problem seems to be only when trying to send via 3g. It works for me but I'm with a difference carrier. It has to be a settings, but we checked everything. Has anyone come across this?
If it works over Wi-Fi and not over 3G, then it's most likely because his device is set to send mail through an outgoing mail server (SMTP server) that restricts connections based on the network you are connected to.
For example, if you have broadband service through FooBarNet, they might tell you to use an outgoing mail server smtp.foobar.net. If you connect to that network while you're at home, the server will allow you to send mail. But if you try to connect to it from another network (e.g., your cellular phone's data network) it will reject the connection, assuming you are trying to hijack its mail server to send spam.
In other words, this has nothing to do with your app. You can verify this by using the Mail app to send mail directly.