From: leafnode Date: Tue, 10 Aug 2004 11:18:33 +0000 (+0000) Subject: - initial revision X-Git-Url: http://git.pld-linux.org/?p=packages%2Fangst.git;a=commitdiff_plain;h=127b9c2e16d3a68ff5e12f195a58f3423fabca6c - initial revision Changed files: angst.spec -> 1.1 --- diff --git a/angst.spec b/angst.spec new file mode 100644 index 0000000..eac0f26 --- /dev/null +++ b/angst.spec @@ -0,0 +1,52 @@ +Summary: active sniffer +Summary(pl): aktywny sniffer +Name: angst +Version: 0.4b +Release: 1 +License: BSD +Group: Networking/Utilities +Source0: http://dl.sourceforge.net/angst/%{name}-%{version}.tar.gz +# Source0-md5: 21643cd776bf478c6fbe4ddabb826be8 +Patch0: %{name}-DESTDIR.patch +Patch1: %{name}-libnet.patch +URL: http://angst.sourceforge.net/ +BuildRequires: libnet-devel +BuildRequires: libpcap-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Angst is an active sniffer, based on libpcap and libnet. Angst +provides methods for aggressive sniffing on switched local area +network environments. It dumps the payload of all the TCP packets +received on the specified ports. Moreover, it implements methods for +active sniffing. Angst currently provides two active sniffing methods. +The first monitors ARP requests, and after enabling IP forwarding on +the local host, sends ARP replies mapping all IPs to the local MAC +address. The second method floods the local network with random MAC +addresses (like macof v1.1 by Ian Vitek), causing switches to send +packets to all ports. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 + +mv Makefile.linux Makefile + +%build +%{__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 ChangeLog README TODO +%attr(755,root,root) %{_sbindir}/* +%{_mandir}/man8/%{name}.8*