| 1 | = Installing the WARPnet Framework = |
| 2 | |
| 3 | === Installing the software === |
| 4 | |
| 5 | 1. First ensure that you are running [http://www.python.org/ Python 2.6] or higher. If not, install the latest 2.6 version of Python. We have not tested the server with Python 3+ and since the syntax has changed for several important commands it will probably not work yet. |
| 6 | 1. Download and install the [http://twistedmatrix.com/trac/ Twisted networking library] from source. |
| 7 | 1. Download and install [http://pypi.python.org/pypi/zope.interface#download Zope.interface] from source. The Twisted library depends on this. |
| 8 | 1. WARPnet uses PCAP to communicate with the WARP board directly. To allow the Python-based server/client to access PCAP, the Pcapy module needs to be installed. As WARPnet works with [http://oss.coresecurity.com/projects/pcapy.html Pcapy version 10.5] only, download this to your computer. |
| 9 | 1. Before installing Pcapy, it needs to be patched for some WARPnet specific functionality. Download patchFile.diff from the repository into the Pcapy folder and run the following. |
| 10 | {{{ |
| 11 | patch < patchFile.diff |
| 12 | python setup.py install |
| 13 | }}} |
| 14 | 1. Download and install [http://oss.coresecurity.com/projects/impacket.html Impacket] from source. This package helps in analyzing raw Ethernet packets. Again, to install run the following from the Impacket folder. |
| 15 | {{{ |
| 16 | python setup.py install |
| 17 | }}} |