Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
How to capture iphone network packets ?
im using windows
is it possible to capture its packets through wifi ?
Use mitmproxy
You can set this up as a proxy server, and then set the proxy on your iPhone to this. You should be able to see all the traffic, included encrypted traffic. This is the program used to determine that Path was downloading the entire Contacts database for its users.
You can use WireShark or Cain & Abel. You would connect your phone to wifi and sniff the packets based on it's IP.
The way I do this with OS X is to set up an ad-hoc wifi network on my Mac, connect the phone to it and share my wired connection with the ad-hoc wifi network. Then I can capture on the wifi card's interface and see traffic going to the iPhone. Presumably you can do a similar thing with Windows.
You can use Paros to set a proxy on your computer and route your iPhone through that proxy. Paros will then show you all the requests being made through the proxy from you iPhone. There is a Step-By-Step guide here: Sniff your iPhones network traffic with Paros.
I was searching for the same thing and came across these similar questions:
How to show iphone apps sniffing HTTP Requests
iPhone and WireShark
The second link shows the Paros solution.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I'd like to connect multiple laptops through a wire such as USB.
For example one of laptops is host and the others are going to be client.
The client server will send a data buffer, and the host server will listen client's data streaming. It will be kind of simple web server and client one.
However in this case, in order to use even unstable Wi-fi environment, they will be connected through USB(It can be different one, but it is not ethernet port. this is because some laptop might not have ethernet port.)
I'm going to use make their connection by node js. do you have any good idea about good way to connect them?
USB is designed to be used in host / device situations, where the host is something with an operating system, and the device is a small cheap low compute power item. It is not designed for direct host to host connections and does not support it.
You could use a USB to rs232 adapter on each computer, and connect the adapters with a null modem cable. Or you could get USB to ethernet adapters.
If you want multiple host devices to talk to each other, you want a network wire, like ethernet, which was designed for this specific purpose.
Many systems have ethernet ports built in, and USB to ethernet adapters are cheaper and higher bandwidth than just about any other USB host to host communications adapter.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to know the different options which are available in iOS to communicate between one to many devices.
For example, one iPhone or iPad acts as server and sends instructions to more than 100 iPads or iPhones.
Can I get some ideas or suggestions on this?
You can use TCP or UDP over a local WLAN.
It is quite easy. To discover the "Server"-device create a Bonjour Service on this device and search for the service with the client-devices
You can then retrieve the IP Address of the device and start communication.
This is the fastest and easiest solution. It has just one requirement, all Devices need to be in the same WLAN.
The additional bonus is that this layout is accessible for all devices having WLAN. So also Android, computers and all the other stuff available.
An optional way would be to do this over a dedicated server backend.
And every device keeps a opened stream to this server to get realtime updates.
Then you don't have the requirement that every device needs to be in the same WLAN. It could also access the Server via mobile network or whatever.
Bluetooth is no option because there are too many devices you want to handle.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm looking at WebRTC and I'm wondering how to implement a solution where the client connects to the PTSN via SIP. It seems like a pretty new technology so I assume that this would not work on IE browsers; is this correct?
Basically, I have a dialpad UI on the page and users who have an SIP account. Can WebRTC enable the end-user to make calls to the PTSN and what does it take to implement such solution?
I'm looking into this as an alternative to Java or Flash based webphones.
Thanks for your suggestions.
WebRTC is indeed new and isn't available on IE or Safari. It is available in beta/alpha on other browsers. IE will probably support it in the future and Safari probably won't for some time.
WebRTC does only the media parts of the negotiation, and as such it means that it does no signaling of its own. SIP can work well with WebRTC, but you will need a JS implementation of SIP (over WebSockets) and then you'll need to unwrap the SIP signaling on the server side and "migrate" it to UDP or TCP.
Asterisk are working on such a server side platform: http://blogs.digium.com/2012/05/23/asterisk-11-webrtc/
More about doing SIP in conjunction with WebRTC can be found here: http://bloggeek.me/html-sip/
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Recently I've been having issues retrieving static maps on my iPhone when connected to the AT&T wireless network. But, when I connect to a local WiFi is works fine.
For several hours last Sunday is stopped working and then it started to work for the rest of the evening, then today I see that it has stopped working again.
I'm just using the safari browser to test that I can download the static map, it returns the quota has been exceeded image. But, there is no way I've exceeded the quota.
http://maps.googleapis.com/maps/api/staticmap?center=40.703049,-74.010695&zoom=16&format=jpg&sensor=false&size=512x512&maptype=roadmap
Is anyone else having the same issue? I've reproduced the issue with several other apple devices that are connected the the AT&T wireless network.
Thanks!
This is a known problem. It's caused by mobile providers routing all internet requests through a few static IP addresses. Handsets are terminals within their own internal network (and generally have a 10.n.n.n IP address), and all traffic is routed through external-facing proxy servers.
There is no way around it other than
persuade Google to whitelist AT&T's proxy servers
persuade AT&T to use more proxy servers
vote with your feet to use a service provider which has more proxy servers
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I have an iPhone app which allows multiple iPhones to connect to each other and send messages. The app uses Bonjour and makes use of some of the CF Networking classes to publish, discover and connect to Bonjour services. My app does not display the bonjour logo or anything like that. It simply uses some networking classes to utilize bonjour so that multiple iPhones within the same WiFi network can connect to each other and send messages to one another. Do I need to get a special Bonjour license from Apple if my app simply makes use of some of these Netowrking classes or do these licenses only apply to you if you want to display the bonjour logo or distribute bonjour itself along with your application?
Thanks for the help guys :)
You do not need any licensing agreements with Apple. Bonjour is a service that Apple provides, much like HTTP or SMB is.
UPDATE:
Some addition info from Wikipedia.
Bonjour is released under a terms-of-limited-use license by Apple. It
is freeware for clients, though developers and software companies who
wish to redistribute it as part of a software package or use the
Bonjour logo may need a licensing agreement.
Still means that you do not, unless you wish to distribute the software (Bonjour) itself or use the logo. Which you both do not.