version 1.1, 2012/02/21 22:16:27
|
version 1.1.1.3, 2016/10/18 13:16:10
|
Line 5 This is the short version. For more info see the READM
|
Line 5 This is the short version. For more info see the READM
|
Dependencies |
Dependencies |
------------ |
------------ |
libnet 1.1.x |
libnet 1.1.x |
www.packetfactory.net/libnet | https://github.com/sam-github/libnet |
or |
or |
http://ftp.debian.org/debian/pool/main/libn/libnet/libnet_1.1.2.1.orig.tar.gz |
http://ftp.debian.org/debian/pool/main/libn/libnet/libnet_1.1.2.1.orig.tar.gz |
|
Note: Libnet 1.1.5 or later needed for Linux capability support. |
libpcap: |
libpcap: |
www.tcpdump.org |
www.tcpdump.org |
|
optional: libcap |
|
Adds support to drop Linux privileges. |
|
|
For debian, just: apt-get install libpcap-dev libnet1-dev | For debian, just: apt-get install libpcap-dev libnet1-dev libcap-dev |
|
|
Installing, short version |
Installing, short version |
------------------------- |
------------------------- |
Line 33 same package anymore.
|
Line 36 same package anymore.
|
Standard autotools: ./configure && make && make install |
Standard autotools: ./configure && make && make install |
|
|
The autotools build system is new with arping 2.09. If you have problems with |
The autotools build system is new with arping 2.09. If you have problems with |
it I want to hear about it. Email me at thomas@habets.pp.se and attach | it I want to hear about it. Email me at thomas@habets.se and attach |
the config.log file. If it failed during 'make', give me all the output from |
the config.log file. If it failed during 'make', give me all the output from |
that. |
that. |
|
|
Examples that I use on some systems: |
Examples that I use on some systems: |
|
|
Linux, OpenBSD, FreeBSD: | Linux: |
| apt-get install libnet1-dev libpcap-dev |
./configure |
./configure |
|
|
Solaris | OpenBSD: |
./configure LDFLAGS="-R/usr/local/lib -L/opt/csw/lib -R/opt/csw/lib" \ | ./configure CPPFLAGS=-I/usr/local/include/libnet-1.1 \ |
CPPFLAGS="-I/usr/local/include" | LDFLAGS=-L/usr/local/lib |
|
|
IRIX (FIXME: double-check this): | FreeBSD: |
./configure LDFLAGS="-L/usr/local/lib -R/usr/local/lib" | pkg_add -r libnet115 # (or similar) |
| pkg_add -r libpcap # (or similar) |
| ./configure CPPFLAGS='-I/usr/local/include/libnet115' \ |
| LDFLAGS='-L/usr/local/lib/libnet115' |
| |
| Solaris: |
| ./configure CPPFLAGS="-I/usr/local/include" \ |
| LDFLAGS="-R/usr/local/lib -L/opt/csw/lib -R/opt/csw/lib" |
| |
| IRIX: |
| ./configure LDFLAGS="-L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib" |