Monthly Archives: April 2024

How to enable Python to craft packets and listen to ports less than 1024 without sudo

To be able to craft packets with Scapy, you have to either use sudo or allow setcap for your python environment. I don’t prefer to use sudo when working with my Anaconda environments, so I did the following: sudo setcap … Continue reading

Posted in Linux | Tagged , , | Leave a comment

How to run wireshark/tshark or tcpdump to capture packets inside IPMininet using screen

This has been a bit confusing for some time, but after you run your ipmininet network with Python, you want to capture some packets with wireshark/tshark or tcpdump, here is the way you can do it: Let’s assume we have … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment