Added 802.15.4 support Scapy packet generator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

My pet project over the last few weeks has been bringing 15.4 support to
the Scapy packet manipulation program.

http://www.secdev.org/projects/scapy/

I based my work on a very old fork of Scapy which had support for ZigBee
and thus 15.4 for the lower layers. After throwing all the ZigBee parts
away and updating it to changes in upstream Scapy I now have a version
which can understand and send all kind of 15.4 frames.

You can find the work in progress code here:

https://github.com/linux-wpan/scapy/tree/stefan/dot15d4-support

To test it out you would need to setup a monitor interface named
monitor0 (virtual or real) and run ieee802154-scapy.py

Looking through the file should show you how the various frames are
created and send out. Listing on the other side with wireshark will show
you the results.

Scapy could help us
* developing kernel support for currently unsupported frames (beacon, cmd)
* testing by having a unit test framework (on a virtual env) for things
we support
* fuzzing our stack to find problems

I plan to get this code merged upstream at some point. It needs some
cleanup and fixes before that and I will be offline for the next two
weeks anyway. I wanted to get the message out before that happens. :)

Future additions could be support for IE and multipurpose frames from
the 2015 spec update (maybe other 2015 updates as well). A layer for
6LoWPAN with various header compression techniques would also be nice.

Have fun playing around with this. :)

regards
Stefan Schmidt
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux