]> git.pld-linux.org Git - packages/angst.git/blame - angst.spec
- tabs in preamble
[packages/angst.git] / angst.spec
CommitLineData
900132e7 1Summary: Active sniffer
a6804a25 2Summary(pl.UTF-8): Aktywny sniffer
127b9c2e 3Name: angst
4Version: 0.4b
5Release: 1
6License: BSD
7Group: Networking/Utilities
8062b6de 8Source0: http://dl.sourceforge.net/angst/%{name}-%{version}.tar.gz
127b9c2e 9# Source0-md5: 21643cd776bf478c6fbe4ddabb826be8
10Patch0: %{name}-DESTDIR.patch
11Patch1: %{name}-libnet.patch
12URL: http://angst.sourceforge.net/
daf524c8 13BuildRequires: libnet1-devel
127b9c2e 14BuildRequires: libpcap-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Angst is an active sniffer, based on libpcap and libnet. Angst
19provides methods for aggressive sniffing on switched local area
20network environments. It dumps the payload of all the TCP packets
21received on the specified ports. Moreover, it implements methods for
22active sniffing. Angst currently provides two active sniffing methods.
23The first monitors ARP requests, and after enabling IP forwarding on
24the local host, sends ARP replies mapping all IPs to the local MAC
25address. The second method floods the local network with random MAC
26addresses (like macof v1.1 by Ian Vitek), causing switches to send
27packets to all ports.
28
6ecdbbd9 29%description -l pl.UTF-8
900132e7 30Angst to aktywny sniffer, oparty na libpcap i libnet. Angst dostarcza
6ecdbbd9
JR
31metody do agresywnego sniffowania w środowiskach lokalnych
32switchowanych sieci. Zrzuca payload wszystkich pakietów TCP odebranych
33na podanych portach. Co więcej, ma zaimplementowane (aktualnie dwie)
34metody aktywnego sniffowania. Pierwsza to monitorowanie żądań ARP i po
35włączeniu przekazywania IP na lokalnej maszynie wysyłanie odpowiedzi
36ARP przekierowujących całe IP na lokalny adres MAC. Druga to
900132e7 37floodowanie sieci lokalnej losowymi adresami MAC (podobnie do macof
6ecdbbd9 38v1.1 Iana Vitka), co powoduje, że switche wysyłają pakiety na
900132e7
JB
39wszystkie porty.
40
127b9c2e 41%prep
42%setup -q
43%patch0 -p1
44%patch1 -p1
45
900132e7 46mv -f Makefile.linux Makefile
127b9c2e 47
48%build
fe4d092d 49%{__make} \
50 CC="%{__cc}"
51 CFLAGS="%{rpmcflags}"
127b9c2e 52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc ChangeLog README TODO
65%attr(755,root,root) %{_sbindir}/*
66%{_mandir}/man8/%{name}.8*
This page took 0.061929 seconds and 4 git commands to generate.