Wi-fi capture packets IVS. - iphone

(^.^)"Hi again sorry for my English is not good if someone like correct my redaction I would appreciate this"
Hi, is anybody now if I can capture IVs with my iphone from the wi-fi networks , any source code, Api, tutorial, etc.. who can make this who can put the iphone wifi promiscuous mode monitor to capture packets.
I've looking for but can not find nothing.
Thanks.

Take a look at Stumbler.
Note that it uses private APIs so most of this code is not suitable for
App Store aplications. But as a learning resource it's priceless.

Related

Want to test Bonjour with 2 iphone/ipad

Apologies for such a silly question.
Please note I don't have Apple TV or any printer. I would like to get hold of the packet trace that takes place when bonjour (Discovery and Resolution phase) is in action. I need to get bonjour into action using just 2 iphone/ipad (I have a Wifi Network through which I could connect these iPad/iPod). Please suggest what application can I use to achieve this? I am a newbie in iOS world, and have no idea of apps related to bonjour.
Hope some of you could help.

Sending data between OSX and iPhones/iPads

I am wondering how I can send data between a machine and a mobile device. I know about the game kit an have read a bit about bonjour (but don't know to much about it), but would like to know some expert thoughts on what the best way is.
What I basically want to build is a one way traffic application that sends data from OSX to the mobile device (iPhone, iPod touch or iPad). The data send is either pictures, text (of a certain size and position ect) or video. The mobile device just has to receive this data and display it... nothing more.
My guess is that a WiFi solution would be best.
How could I best do this? Are there any tutorials that might help me putting this together?
Thanks in advance!
Best regards,
Paul Peelen
As no reply yet . . .
Bonjour is more focused on LAN networks, so would restrict you to WiFi.
It's also more of a service discovery standard - your Mac app would advertise the service on the LAN, and clients could see it - but your actual app communications will run on a different TCP socket, using whatever protocol is appropriate.
This linked answer may be helpful (although you will want CFNetwork in reverse - pushing from Mac to phone)
[iPhone]: How send output stream via wireless network?
For video you are probably better off looking for higher level frameworks (i.e. the AV ones).
Without knowing the full details of what you want to do, I wonder if rather than pushing data to the iPhone, the best thing would be to send a lightweight notification to the iPhone (AMQP, XMPP, or similar protocol) passing a URL back to the resource on the Mac - that way you could use standard HTTP GET for images, video, etc, on the iPhone side, throw the URL at a webkit view to display - and on your Mac side you could then use an off-the-shelf web server (Apache, or an embedded HTTP server within your code).

iPhone to iPhone communication

I have been looking into communication methods between two iPhone devices and as I understand it there are two main methods to do this: Bluetooth and WiFi. However I wanted to know if anyone knows of any other way of sharing information between two iPhones? If I were in an area with no WiFi or mobile signal, and couldn't use Bluetooth for whatever reason, is there anything that could be done to broadcast data from one iPhone to another?
I'm sure its a bit of a silly question, but if you don't ask, you don't get; and if someone knows of anything I might be able to look into with regards to this, I would be very appreciative.
Thanks,
Dan
AFAIK Wifi and Bluetooth are your only options for direct phone-to-phone communication.
Offcourse, there is still cellular data network because you are talking about the iPhone ;)

iPhone and it's wireless area

Is there a way to discover other iPhones in the range of it's wireless area? So I give an example. I am staying at the airport. Somewhere near me there is also an iPhone. Me and the other iPhone's owner playing the same game. Is there a way to alert me and the other player that we are so close to eachother? Is this working also if we aren't on the same wireless networ, or there aren't any wireless?
And if there is a way to do this, can you give me some start point? Like a link where I can learn the basics or something like this. Maybe the name of this procedure, because I either don't know how to search in google about this topic. Thanks in forward!
The peer-to-peer discovery and connectivity you're describing can be accomplished with Game Kit framework.
Originally I thought it only worked via bluetooth, but after quickly looking over this GameKit Wifi question it seems wifi is also supported.
Hope this helps!

Gathering iPhone 3g status

There is a sample code of apple named "reachability" which tells us the network status of the device, wifi or edge/gprs, but I couldn't see any documentation or sample code regarding gathering if the device is on 3g or not while accessing to internet. I also googled, but no hope. Is it possible to do that, if so how?
According to Apple representatives, this is not currently possible. See this message on the Apple forums (registration as an iPhone developer required).
Maybe there is a server side solution to your problem? I assume that your app requires a fast internet connection to operate - maybe you could measure latency, packet loss etc on the server side and take appropriate action if the connection is too slow?