Porting Scapy to OpenBSD
Scapy is a
nifty tool. It would be even better if it worked on *BSD. Philippe Biondi
has been working on making it more portable, but it's still pretty
Linux-specific. I've been tweaking scapy to run on my OpenBSD system, and
have put the changes here in case others are interested.
Snapshots of Scapy, pcapmodule, and dnetmodule
17th August 2003: Here are versions of Scapy, python-libpcap, and python-libdnet which work together and work on OpenBSD.
$Header: /home/wiml/www-cvs/wiml/proj/scapy/index.html,v 1.1 2003/08/20 07:34:41 wiml Exp $ — mail me
- scapy-0.9.14.1.wiml1.py.gz, based on version 0.9.14.1. This is basically the minimal change to Scapy to make it work with dnet and pcap.
- python libpcap module: pylibpcap-0.4.wiml1 fixes a number of problems with trying to use the libpcap module on non-Linux systems. If you're running OpenBSD, you'll also need to install a more-recent version of libpcap itself (OpenBSD's libpcap is extremely out of date).
- python dnet module: libdnet-cvs20030720-swig-wiml1 is a copy of the 'swig' directory from a recent checkout of the libdnet project. It's been modified to fix some problems with dangling pointers, etc., and to add some methods needed by Scapy.