Pystack, is a python framework that allow to create small TCP/IP stacks in an easy manner in order to obtain a wanted behavior. The applications are multiples and there is currently no any module that provide similar functionnalities in python.
It is developped above the Scapy framework to bring some network stateful functionalities adding to it multiple protocols implementations themselves architectured into a stack which allow the different layers to communicate. All this brings the IP stack in userland and then allow to do anything on network packets like modifying the network stack behavior without patching the Linux kernel.
1.0:
- Initial version with Ethernet, ARP, IP, TCP, UDP, DNS support
- Relative stability for TCP protocol sessions
- Code comments with docstring
- pystack module which assemble a fully working stack
- pysocket which recreate socket module but using pystack
For any questions I recommend you to contact me on Github.
As I am the only maintainer of the project I might take some time to reply but be sure I will find a minute to reply you as soon as I can ;)