1 |
ennael |
89714 |
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 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
31 |
|
|
|
32 |
|
|
%description |
33 |
|
|
Ettercap is a network sniffer/interceptor/logger for ethernet |
34 |
|
|
LANs (both switched or not). It supports active and passive |
35 |
|
|
dissection of many protocols (even ciphered ones, like SSH and |
36 |
|
|
HTTPS). Data injection in an established connection and |
37 |
|
|
filtering (substitute or drop a packet) on the fly is also |
38 |
|
|
possible, keeping the connection sincronized. Many sniffing |
39 |
|
|
modes were implemented to give you a powerful and complete |
40 |
|
|
sniffing suite. Plugins are supported. It has the ability |
41 |
|
|
to check whether you are in a switched LAN or not, and to |
42 |
|
|
use OS fingerprints (active or passive) to let you know |
43 |
|
|
the geometry of the LAN. The passive scan of the lan retrives |
44 |
|
|
infos about: hosts in the lan, open ports, services version, |
45 |
|
|
type of the host (gateway, router or simple host) and |
46 |
|
|
extimated distance in hop. |
47 |
|
|
|
48 |
|
|
%prep |
49 |
|
|
|
50 |
|
|
%setup -q -n ettercap-NG-%{version} |
51 |
|
|
%patch0 -p1 |
52 |
|
|
%patch1 -p0 |
53 |
|
|
%patch2 -p0 |
54 |
|
|
%patch3 -p0 |
55 |
|
|
%patch4 -p0 |
56 |
|
|
%patch5 -p0 -b .link |
57 |
|
|
|
58 |
|
|
%build |
59 |
|
|
%configure2_5x \ |
60 |
|
|
--disable-debug \ |
61 |
|
|
--with-openssl=%{_prefix} \ |
62 |
|
|
--enable-gtk \ |
63 |
|
|
--without-included-ltdl \ |
64 |
|
|
--disable-ltdl-install \ |
65 |
|
|
--enable-plugins |
66 |
|
|
%make |
67 |
|
|
%make plug-ins |
68 |
|
|
|
69 |
|
|
%install |
70 |
|
|
rm -rf $RPM_BUILD_ROOT |
71 |
|
|
|
72 |
|
|
%makeinstall_std |
73 |
|
|
|
74 |
|
|
rm -fr $RPM_BUILD_ROOT/%_datadir/doc |
75 |
|
|
|
76 |
|
|
%clean |
77 |
|
|
rm -rf $RPM_BUILD_ROOT |
78 |
|
|
|
79 |
|
|
%files |
80 |
|
|
%defattr(-,root,root) |
81 |
|
|
%doc AUTHORS CHANGELOG INSTALL LICENSE README* THANKS TODO TODO.TESTING doc/* |
82 |
|
|
%config(noreplace) %_sysconfdir/etter.conf |
83 |
|
|
%{_mandir}/man?/* |
84 |
|
|
%{_bindir}/* |
85 |
|
|
%{_datadir}/ettercap |
86 |
|
|
%{_libexecdir}/ettercap |
87 |
|
|
|
88 |
|
|
|