]>
Commit | Line | Data |
---|---|---|
31342fb7 | 1 | Summary: ettercap - a ncurses-based sniffer/interceptor utility |
c59261e3 JR |
2 | Summary(pl.UTF-8): ettercap - oparte o ncurses narzędzie do sniffowania/przechwytywania |
3 | Summary(pt_BR.UTF-8): ettercap e um interceptador/sniffer paseado em ncurses | |
374ead66 | 4 | Name: ettercap6 |
5 | Version: 0.6.b | |
6 | Release: 5 | |
eab4c8bb | 7 | Epoch: 1 |
0df81768 GS |
8 | License: GPL |
9 | Group: Networking/Utilities | |
374ead66 | 10 | Source0: http://dl.sourceforge.net/ettercap/ettercap-%{version}.tar.gz |
11 | # Source0-md5: f665cf82347a91f216184537f8f2c4bd | |
0e9dbb22 | 12 | Patch1: %{name}-ncurses.patch |
13 | Patch2: %{name}-plugin_dir.patch | |
0decd607 | 14 | Patch3: %{name}-kernel_version.patch |
374ead66 | 15 | Patch4: %{name}-name.patch |
0e9dbb22 | 16 | URL: http://ettercap.sourceforge.net/ |
17 | BuildRequires: autoconf | |
18 | BuildRequires: automake | |
11ff595b | 19 | BuildRequires: ncurses-ext-devel |
48ca460e | 20 | BuildRequires: openssl-devel >= 0.9.7d |
374ead66 | 21 | Provides: ettercap = %{version}-%{release} |
7da2ee9c | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
0df81768 | 23 | |
a201185e TP |
24 | %define specflags -fomit-frame-pointer |
25 | ||
0df81768 | 26 | %description |
7fce036f | 27 | ettercap is a network sniffer/interceptor/logger for ethernet LANs |
28 | (both switched or not). It supports active and passive dissection of | |
29 | many protocols (even ciphered ones, like SSH and HTTPS). Data | |
30 | injection in an established connection and filtering (substitute or | |
31 | drop a packet) on the fly is also possible, keeping the connection | |
31342fb7 | 32 | synchronized. Many sniffing modes were implemented to give you a |
7fce036f | 33 | powerful and complete sniffing suite. Plugins are supported. It has |
34 | the ability to check whether you are in a switched LAN or not, and to | |
35 | use OS fingerprints (active or passive) to let you know the geometry | |
31342fb7 JB |
36 | of the LAN. The passive scan of the LAN retrieves infos about: hosts |
37 | in the lan, open ports, services version, type of the host (gateway, | |
7fce036f | 38 | router or simple host) and extimated distance in hop. |
0df81768 | 39 | |
c59261e3 JR |
40 | %description -l pl.UTF-8 |
41 | ettercap jest wieloczynnościowym snifferem/przechwytywaczem/loggerem | |
42 | dla sieci LAN (opartych na switchach lub hubach). Obsługuje aktywną i | |
43 | pasywną analizę wielu protokołów (nawet szyfrowanych, jak SSH czy | |
44 | HTTPS). Możliwe jest także wstrzykiwanie lub filtrowanie danych | |
45 | (podmiana lub usunięcie pakietu) w locie, przy podtrzymaniu | |
46 | synchronizacji połączenia. Program ma zaimplementowane wiele trybów | |
47 | sniffowania, aby dać potężne i kompletne narzędzie. Obsługiwane są | |
48 | wtyczki. Program ma możliwość sprawdzania, czy pracuje w sieci ze | |
49 | switchami oraz używania odcisków systemów (aktywnego lub pasywnego) | |
374ead66 | 50 | do poznania geometrii sieci. Pasywne skanowanie sieci uzyskuje |
c59261e3 JR |
51 | informacje o: hostach w sieci, otwartych portach, wersjach usług, |
52 | rodzajach hostów (bramki, routery lub zwykłe komputery) oraz | |
53 | przybliżonych odległościach (w hopach). | |
5dcf86af | 54 | |
c59261e3 JR |
55 | %description -l pt_BR.UTF-8 |
56 | ettercap é um sniffer/interceptor/logger de rede para redes locais | |
57 | (com uso de switches ou não). Suporta operações ativas e passivas de | |
58 | vários protocolos (mesmo os criptografados, como SSH e HTTPS). Também | |
59 | é possível injeção de dados em uma conexão estabelecida e filtragem | |
60 | (substituição ou descarte de um pacote) em tempo real mantendo a | |
61 | conexão sincronizada. Muitos modos de sniffing foram implementadas | |
62 | para proporcionar a você um completo conjunto de sniffing. Plugins são | |
63 | suportados. Tem a habilidade de verificar se você está em uma rede | |
64 | local com switches ou não. Utiliza fingerprints do Sistema Operacional | |
65 | (ativo ou passivo) para permitir que você conheça a geometria da rede | |
66 | local. A varredura passiva da rede local obtém informações sobre: | |
67 | hosts na rede local, portas abertas, versão de serviços, tipo de host | |
68 | (gateway, router ou um computador) e a distância estimada no hop. | |
7fce036f | 69 | |
0df81768 | 70 | %prep |
374ead66 | 71 | %setup -q -n ettercap-%{version} |
72 | %patch1 -p0 | |
00174db5 | 73 | #%patch2 -p1 |
374ead66 | 74 | %patch3 -p1 |
75 | %patch4 | |
0df81768 GS |
76 | |
77 | %build | |
374ead66 | 78 | cp -f /usr/share/automake/config.sub . |
79 | %{__aclocal} | |
80 | %{__autoconf} | |
81 | %{__autoheader} | |
31342fb7 | 82 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
f8668eaf | 83 | %configure \ |
374ead66 | 84 | --enable-devel \ |
85 | --enable-ncurses \ | |
86 | --disable-gtk \ | |
a201185e TP |
87 | --%{!?debug:dis}%{?debug:en}able-debug \ |
88 | --enable-plugins \ | |
374ead66 | 89 | --enable-https |
0df81768 | 90 | %{__make} |
374ead66 | 91 | %{__make} plug-ins |
0df81768 GS |
92 | |
93 | %install | |
94 | rm -rf $RPM_BUILD_ROOT | |
0e9dbb22 | 95 | |
374ead66 | 96 | mv ettercap{,6}.8 |
97 | ||
b0d9485e PG |
98 | %{__make} install \ |
99 | DESTDIR=$RPM_BUILD_ROOT | |
374ead66 | 100 | %{__make} plug-ins_install \ |
101 | DESTDIR=$RPM_BUILD_ROOT | |
0df81768 GS |
102 | |
103 | %clean | |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | ||
106 | %files | |
107 | %defattr(644,root,root,755) | |
374ead66 | 108 | %doc README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO |
109 | %doc THANKS KNOWN-BUGS PORTINGS | |
110 | %doc plugins/{H03_hydra1/HYDRA.HOWTO,H01_zaratan/ZARATAN.HOWTO,H09_roper/ROPER.HOWTO} | |
111 | %attr(755,root,root) %{_sbindir}/* | |
112 | %{_libdir}/ettercap6 | |
113 | %{_datadir}/ettercap6 | |
0e9dbb22 | 114 | %{_mandir}/man8/* |