1 |
Summary: Ncurses/Gtk2 based sniffer/interceptor utility |
2 |
Name: ettercap-ng |
3 |
Version: 0.7.3 |
4 |
Release: %mkrel 8 |
5 |
Source: http://ettercap.sourceforge.net/download/ettercap-NG-%{version}.tar.bz2 |
6 |
Patch0: ettercap-NG-0.7.3-UI.patch |
7 |
Patch1: ettercap-NG-0.7.3-ec_log.patch |
8 |
Patch2: ettercap-NG-0.7.3-daemon-ui.patch |
9 |
Patch3: ettercap-NG-0.7.3-daemon-textmode.patch |
10 |
Patch4: ettercap-NG-0.7.3-mitm-loop.patch |
11 |
Patch5: ettercap-NG-0.7.3-linkage.patch |
12 |
License: GPL |
13 |
Group: Networking/Other |
14 |
URL: http://ettercap.sourceforge.net/ |
15 |
BuildRequires: openssl-devel |
16 |
Buildrequires: ncurses-devel |
17 |
BuildRequires: gtk+2-devel |
18 |
BuildRequires: pcre-devel |
19 |
BuildRequires: net-devel >= 1.1.3 |
20 |
BuildRequires: libtool-devel |
21 |
BuildRequires: flex |
22 |
BuildRequires: bison |
23 |
BuildRequires: libpcap-devel |
24 |
Provides: ettercap = %version-%release |
25 |
# for compatibility |
26 |
Provides: ettercap-NG = %version-%release |
27 |
Obsoletes: ettercap < %version-%release |
28 |
Obsoletes: %mklibname %name 0 |
29 |
Provides: %mklibname %name 0 |
30 |
|
31 |
%description |
32 |
Ettercap is a network sniffer/interceptor/logger for ethernet |
33 |
LANs (both switched or not). It supports active and passive |
34 |
dissection of many protocols (even ciphered ones, like SSH and |
35 |
HTTPS). Data injection in an established connection and |
36 |
filtering (substitute or drop a packet) on the fly is also |
37 |
possible, keeping the connection sincronized. Many sniffing |
38 |
modes were implemented to give you a powerful and complete |
39 |
sniffing suite. Plugins are supported. It has the ability |
40 |
to check whether you are in a switched LAN or not, and to |
41 |
use OS fingerprints (active or passive) to let you know |
42 |
the geometry of the LAN. The passive scan of the lan retrives |
43 |
infos about: hosts in the lan, open ports, services version, |
44 |
type of the host (gateway, router or simple host) and |
45 |
extimated distance in hop. |
46 |
|
47 |
%prep |
48 |
|
49 |
%setup -q -n ettercap-NG-%{version} |
50 |
%patch0 -p1 |
51 |
%patch1 -p0 |
52 |
%patch2 -p0 |
53 |
%patch3 -p0 |
54 |
%patch4 -p0 |
55 |
%patch5 -p0 -b .link |
56 |
|
57 |
%build |
58 |
%configure2_5x \ |
59 |
--disable-debug \ |
60 |
--with-openssl=%{_prefix} \ |
61 |
--enable-gtk \ |
62 |
--without-included-ltdl \ |
63 |
--disable-ltdl-install \ |
64 |
--enable-plugins |
65 |
%make |
66 |
%make plug-ins |
67 |
|
68 |
%install |
69 |
rm -rf $RPM_BUILD_ROOT |
70 |
|
71 |
%makeinstall_std |
72 |
|
73 |
rm -fr $RPM_BUILD_ROOT/%_datadir/doc |
74 |
|
75 |
%clean |
76 |
rm -rf $RPM_BUILD_ROOT |
77 |
|
78 |
%files |
79 |
%defattr(-,root,root) |
80 |
%doc AUTHORS CHANGELOG INSTALL LICENSE README* THANKS TODO TODO.TESTING doc/* |
81 |
%config(noreplace) %_sysconfdir/etter.conf |
82 |
%{_mandir}/man?/* |
83 |
%{_bindir}/* |
84 |
%{_datadir}/ettercap |
85 |
%{_libexecdir}/ettercap |
86 |
|
87 |
|