Skip to content

Simple scripts for emulating a flukey network behind a TUN/TAP interface

Notifications You must be signed in to change notification settings

sergeybratus/netfluke

Repository files navigation

These are simple scripts that emulate a fluke-y network behind a
TUN/TAP interface. The point is to provide Scapy exercises for
learning basic protocols: ARP, TCP/IP, ICMP, DHCP, DNS, etc.

This should work on both Linux (where primarily developed) and MacOS
(your mileage may vary). 

pytap.py -- simple functions to create/open a TAP pseudo-device
pong.py  -- emulate ARP and ICMP responses from any host
tcp.py   -- the above + 'rot13' service on any TCP port

When something fails, look at the code -- there might be a rant there
on what we found to not work and why :)

 

About

Simple scripts for emulating a flukey network behind a TUN/TAP interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages