Ettercap
From Genunix
ettercap
- A multipurpose sniffer for switched LANs
Contents |
[edit]
Rating
3 points (out of 4)
Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:
- Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
- Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
- Minus 1 if a minor patch is required, or
- Minus 2 if a major patch(es) is required
[edit]
How to build ettercap-NG-0.7.3 on Solaris Express
[edit]
Build Environment (platform, compiler, tools, PATH, ld)
[edit]
Configure and compile steps (on x86 hardware)
/usr/bin/gzip -dc ettercap-NG-0.7.3.tar.gz | /usr/sfw/bin/gtar xf -
cd ettercap-NG-0.7.3
# This source is gcc-centric, therefore...
export CC=/usr/sfw/bin/gcc
# export CFLAGS="%optflags"
export CFLAGS="-O4 -fPIC -DPIC -Xlinker -i -fno-omit-frame-pointers"
export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-gtk \
--sysconfdir=/etc
# I'm pretty sure that if ncurses and/or pcre are installed,
# those features will be automatically enabled at build-time.
# (not tested though.)
make
[edit]
Other configure options
[edit]
Directory paths that ettercap installs to
sbin share/doc/ettercap share/ettercap share/man/man8
[edit]
Other 3rd party software ettercap requires
BuildRequires: libnet BuildRequires: libpcap Requires: libpcap
