-4

I have long been studying the topics of how to create an WI-FI sniffer for android.

I work on the network routing algorithm, and my first goal is to listen to all network traffic. The second task - is to send broadcast messages. This is possible with on android phones? Yes, I got root access. Where can I read about what I want to do? This is done through sockets?

I do not want to adhere some protocols (eg WI-FI direct) and work with the existing ip-address system. I need the lowest level of interaction of OSI.

Sot
  • 33
  • 3
Alerr
  • 101
  • 1
  • 4
  • First thing that is required for WiFi sniffer is that driver should support so called *monitor* mode. Please note, this mode quite often is not supported on desktop systems, so don't expect this to be supported on your Android device. Even more, I worked for 5 years as a senior software WiFi engineer for one of the major Android vendors out there, and if I remember correctly we released only **one** device that had support for monitor mode, and it was based on BCM4330. – Andrejs Cainikovs Nov 14 '16 at 14:11
  • Second, Android does not have support for monitor mode, so it will be pain in the ass to extend Android API with this support. Of course, if you don't want to touch Android framework at all, and want to utilise standard Linux tools - you're on the safe side. – Andrejs Cainikovs Nov 14 '16 at 14:11

1 Answers1

3

I think that it is impossible to establish a connection without sockets. One of the devices have to be a server, and another client

Sot
  • 33
  • 3