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