# # Conditional build: %bcond_without gtk # build without gtk-based frontend (fewer dependencies) # Summary: ettercap - a ncurses-based sniffer/interceptor utility Summary(pl): ettercap - oparte o ncurses narzędzie do sniffowania/przechwytywania Summary(pt_BR): ettercap e um interceptador/sniffer paseado em ncurses Name: ettercap Version: 0.7.3 Release: 1 Epoch: 1 License: GPL Group: Networking/Utilities Source0: http://dl.sourceforge.net/ettercap/%{name}-NG-%{version}.tar.gz # Source0-md5: 28fb15cd024162c55249888fe1b97820 Patch1: %{name}-ncurses.patch Patch2: %{name}-plugin_dir.patch Patch3: %{name}-kernel_version.patch URL: http://ettercap.sourceforge.net/ BuildRequires: autoconf BuildRequires: automake %{?with_gtk:BuildRequires: gtk+2-devel} BuildRequires: ncurses-ext-devel BuildRequires: openssl-devel >= 0.9.7d BuildRequires: libnet-devel >= 1.1.2.1 BuildRequires: libltdl-devel BuildRequires: libpcap-devel BuildRequires: pcre-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define specflags -fomit-frame-pointer %description ettercap is a network sniffer/interceptor/logger for ethernet LANs (both switched or not). It supports active and passive dissection of many protocols (even ciphered ones, like SSH and HTTPS). Data injection in an established connection and filtering (substitute or drop a packet) on the fly is also possible, keeping the connection synchronized. Many sniffing modes were implemented to give you a powerful and complete sniffing suite. Plugins are supported. It has the ability to check whether you are in a switched LAN or not, and to use OS fingerprints (active or passive) to let you know the geometry of the LAN. The passive scan of the LAN retrieves infos about: hosts in the lan, open ports, services version, type of the host (gateway, router or simple host) and extimated distance in hop. %description -l pl ettercap jest wieloczynnościowym snifferem/przechwytywaczem/loggerem dla sieci LAN (opartych na switchach lub hubach). Obsługuje aktywną i pasywną analizę wielu protokołów (nawet szyfrowanych, jak SSH czy HTTPS). Możliwe jest także wstrzykiwanie lub filtrowanie danych (podmiana lub usunięcie pakietu) w locie, przy podtrzymaniu synchronizacji połączenia. Program ma zaimplementowane wiele trybów sniffowania, aby dać potężne i kompletne narzędzie. Obsługiwane są wtyczki. Program ma możliwość sprawdzania, czy pracuje w sieci ze switchami oraz używania odcisków systemów (aktywnego lub pasywnego) do poznania geometrii sieci. Pasywne skanowanie sieci uzyskuje informacje o: hostach w sieci, otwartych portach, wersjach usług, rodzajach hostów (bramki, routery lub zwykłe komputery) oraz przybliżonych odległościach (w hopach). %description -l pt_BR ettercap é um sniffer/interceptor/logger de rede para redes locais (com uso de switches ou năo). Suporta operaçőes ativas e passivas de vários protocolos (mesmo os criptografados, como SSH e HTTPS). Também é possível injeçăo de dados em uma conexăo estabelecida e filtragem (substituiçăo ou descarte de um pacote) em tempo real mantendo a conexăo sincronizada. Muitos modos de sniffing foram implementadas para proporcionar a vocę um completo conjunto de sniffing. Plugins săo suportados. Tem a habilidade de verificar se vocę está em uma rede local com switches ou năo. Utiliza fingerprints do Sistema Operacional (ativo ou passivo) para permitir que vocę conheça a geometria da rede local. A varredura passiva da rede local obtém informaçőes sobre: hosts na rede local, portas abertas, versăo de serviços, tipo de host (gateway, router ou um computador) e a distância estimada no hop. %prep %setup -q -n %{name}-NG-%{version} #%patch1 -p0 #%patch2 -p1 #%patch3 -p1 %build #cp -f /usr/share/automake/config.sub . #%{__aclocal} #%{__autoconf} #%{__autoheader} CFLAGS="%{rpmcflags} -I/usr/include/ncurses" %configure \ --%{!?debug:dis}%{?debug:en}able-debug \ --%{?with_gtk:en}%{!?with_gtk:dis}able-gtk \ --enable-plugins \ --enable-https %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README CHANGELOG AUTHORS TODO doc/* %doc THANKS README.BUGS %attr(755,root,root) %{_bindir}/* %{_libdir}/ettercap %{_datadir}/ettercap %{_mandir}/man8/* %{_mandir}/man5/* %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/etter.conf