2020-12-28 23:13:31 +00:00
|
|
|
Summary: Tools for network auditing and penetration testing
|
|
|
|
Name: dsniff
|
|
|
|
Version: 2.4
|
2021-07-21 21:24:32 +00:00
|
|
|
Release: 0.35.b1%{?dist}
|
2020-12-28 23:13:31 +00:00
|
|
|
License: BSD
|
|
|
|
URL: https://www.monkey.org/~dugsong/%{name}/
|
|
|
|
Source0: https://www.monkey.org/~dugsong/%{name}/beta/%{name}-%{version}b1.tar.gz
|
|
|
|
Patch0: dsniff-2.4-time_h.patch
|
|
|
|
Patch1: dsniff-2.4-mailsnarf_corrupt.patch
|
|
|
|
Patch2: dsniff-2.4-pcap_read_dump.patch
|
|
|
|
Patch3: dsniff-2.4-multiple_intf.patch
|
|
|
|
Patch4: dsniff-2.4-amd64_fix.patch
|
|
|
|
Patch5: dsniff-2.4-urlsnarf_zeropad.patch
|
|
|
|
Patch6: dsniff-2.4-libnet_11.patch
|
|
|
|
Patch7: dsniff-2.4-checksum.patch
|
|
|
|
Patch8: dsniff-2.4-openssl_098.patch
|
|
|
|
Patch9: dsniff-2.4-sshcrypto.patch
|
|
|
|
Patch10: dsniff-2.4-sysconf_clocks.patch
|
|
|
|
Patch11: dsniff-2.4-urlsnarf_escape.patch
|
|
|
|
Patch12: dsniff-2.4-string_header.patch
|
|
|
|
Patch13: dsniff-2.4-arpa_inet_header.patch
|
|
|
|
Patch14: dsniff-2.4-pop_with_version.patch
|
|
|
|
Patch15: dsniff-2.4-obsolete_time.patch
|
|
|
|
Patch16: dsniff-2.4-checksum_libnids.patch
|
|
|
|
Patch17: dsniff-2.4-fedora_dirs.patch
|
|
|
|
Patch18: dsniff-2.4-glib2.patch
|
|
|
|
Patch19: dsniff-2.4-link_layer_offset.patch
|
|
|
|
Patch20: dsniff-2.4-tds_decoder.patch
|
|
|
|
Patch21: dsniff-2.4-msgsnarf_segfault.patch
|
|
|
|
Patch22: dsniff-2.4-urlsnarf_timestamp.patch
|
|
|
|
Patch23: dsniff-2.4-arpspoof_reverse.patch
|
|
|
|
Patch24: dsniff-2.4-arpspoof_multiple.patch
|
|
|
|
Patch25: dsniff-2.4-arpspoof_hwaddr.patch
|
|
|
|
Patch26: dsniff-2.4-modernize_pop.patch
|
|
|
|
Patch27: dsniff-2.4-libnet_name2addr4.patch
|
|
|
|
Patch28: dsniff-2.4-pntohl_shift.patch
|
|
|
|
Patch29: dsniff-2.4-rpc_segfault.patch
|
|
|
|
Patch30: dsniff-2.4-openssl_110.patch
|
|
|
|
Patch31: dsniff-2.4-remote_typo.patch
|
|
|
|
Patch32: dsniff-2.4-smp_mflags.patch
|
|
|
|
Patch33: dsniff-2.4-libtirpc.patch
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: libnet-devel
|
2020-10-30 23:41:07 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
2020-12-28 23:13:31 +00:00
|
|
|
BuildRequires: openssl-devel
|
2020-10-30 23:41:07 +00:00
|
|
|
%else
|
2020-12-28 23:13:31 +00:00
|
|
|
BuildRequires: openssl11-devel
|
2020-10-30 23:41:07 +00:00
|
|
|
%endif
|
2020-12-28 23:13:31 +00:00
|
|
|
BuildRequires: libnids-devel
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: libpcap-devel
|
|
|
|
BuildRequires: libdb-devel
|
|
|
|
BuildRequires: libXmu-devel
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
|
|
|
BuildRequires: rpcgen
|
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
BuildRequires: libnsl2-devel
|
2010-01-08 00:26:29 +00:00
|
|
|
%endif
|
2020-12-28 23:13:31 +00:00
|
|
|
BuildRequires: make
|
2007-12-03 22:18:54 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A collection of tools for network auditing and penetration testing. Dsniff,
|
|
|
|
filesnarf, mailsnarf, msgsnarf, urlsnarf and webspy allow to passively monitor
|
|
|
|
a network for interesting data (passwords, e-mail, files). Arpspoof, dnsspoof
|
|
|
|
and macof facilitate the interception of network traffic normally unavailable
|
|
|
|
to an attacker (e.g, due to layer-2 switching). Sshmitm and webmitm implement
|
|
|
|
active monkey-in-the-middle attacks against redirected SSH and HTTPS sessions
|
|
|
|
by exploiting weak bindings in ad-hoc PKI.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .time_h
|
|
|
|
%patch1 -p1 -b .mailsnarf
|
|
|
|
%patch2 -p1 -b .pcap_dump
|
|
|
|
%patch3 -p1 -b .multiple_intf
|
|
|
|
%patch4 -p1 -b .amd64_fix
|
|
|
|
%patch5 -p1 -b .urlsnarf_zeropad
|
|
|
|
%patch6 -p1 -b .libnet_11
|
|
|
|
%patch7 -p1 -b .checksum
|
|
|
|
%patch8 -p1 -b .openssl_098
|
|
|
|
%patch9 -p1 -b .sshcrypto
|
|
|
|
%patch10 -p1 -b .sysconf_clocks
|
|
|
|
%patch11 -p1 -b .urlsnarf_escape
|
|
|
|
%patch12 -p1 -b .string_header
|
|
|
|
%patch13 -p1 -b .arpa_inet_header
|
|
|
|
%patch14 -p1 -b .pop_with_version
|
|
|
|
%patch15 -p1 -b .obsolete_time
|
|
|
|
%patch16 -p1 -b .checksum_libnids
|
|
|
|
%patch17 -p1 -b .fedora_dirs
|
|
|
|
%patch18 -p1 -b .glib2
|
2012-07-30 21:23:18 +00:00
|
|
|
%patch19 -p1 -b .link_layer_offset
|
|
|
|
%patch20 -p1 -b .tds_decoder
|
|
|
|
%patch21 -p1 -b .msgsnarf_segfault
|
|
|
|
%patch22 -p1 -b .urlsnarf_timestamp
|
2013-12-20 22:02:10 +00:00
|
|
|
%patch23 -p1 -b .arpspoof_reverse
|
|
|
|
%patch24 -p1 -b .arpspoof_multiple
|
|
|
|
%patch25 -p1 -b .arpspoof_hwaddr
|
|
|
|
%patch26 -p1 -b .modernize_pop
|
|
|
|
%patch27 -p1 -b .libnet_name2addr4
|
|
|
|
%patch28 -p1 -b .pntohl_shift
|
|
|
|
%patch29 -p1 -b .rpc_segfault
|
2017-02-11 22:07:46 +00:00
|
|
|
%patch30 -p1 -b .openssl_110
|
|
|
|
%patch31 -p1 -b .remote_typo
|
2018-07-14 01:16:33 +00:00
|
|
|
%patch32 -p1 -b .smp_mflags
|
2020-12-28 23:13:31 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
2018-07-14 01:16:33 +00:00
|
|
|
%patch33 -p1 -b .libtirpc
|
2018-05-27 01:06:16 +00:00
|
|
|
%endif
|
2007-12-03 22:18:54 +00:00
|
|
|
|
|
|
|
%build
|
2020-10-30 23:41:07 +00:00
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
sed \
|
|
|
|
-e 's|include/openssl/|include/openssl11/openssl/|g' \
|
|
|
|
-e 's|\(SSLINC="\)-I${prefix}/include|\1$(pkg-config --cflags openssl11)|g' \
|
|
|
|
-e 's|\(SSLLIB="\)-L${prefix}/lib -lssl -lcrypto|\1$(pkg-config --libs openssl11)|g' \
|
|
|
|
-i configure
|
|
|
|
%endif
|
|
|
|
|
2007-12-03 22:18:54 +00:00
|
|
|
%configure
|
2020-08-06 22:53:06 +00:00
|
|
|
%make_build
|
2007-12-03 22:18:54 +00:00
|
|
|
|
|
|
|
%install
|
2020-08-06 22:53:06 +00:00
|
|
|
%make_install install_prefix=$RPM_BUILD_ROOT
|
2007-12-03 22:18:54 +00:00
|
|
|
|
|
|
|
%files
|
2017-02-11 22:07:46 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGES README TODO
|
2018-05-27 01:06:16 +00:00
|
|
|
%dir %{_sysconfdir}/%{name}/
|
2007-12-03 22:18:54 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/*
|
2010-01-08 00:26:29 +00:00
|
|
|
%{_sbindir}/arpspoof
|
|
|
|
%{_sbindir}/dnsspoof
|
|
|
|
%{_sbindir}/%{name}
|
|
|
|
%{_sbindir}/filesnarf
|
|
|
|
%{_sbindir}/macof
|
|
|
|
%{_sbindir}/mailsnarf
|
|
|
|
%{_sbindir}/msgsnarf
|
|
|
|
%{_sbindir}/sshmitm
|
|
|
|
%{_sbindir}/sshow
|
|
|
|
%{_sbindir}/tcpkill
|
|
|
|
%{_sbindir}/tcpnice
|
|
|
|
%{_sbindir}/urlsnarf
|
|
|
|
%{_sbindir}/webmitm
|
|
|
|
%{_sbindir}/webspy
|
|
|
|
%{_mandir}/man8/arpspoof.8*
|
|
|
|
%{_mandir}/man8/dnsspoof.8*
|
|
|
|
%{_mandir}/man8/%{name}.8*
|
|
|
|
%{_mandir}/man8/filesnarf.8*
|
|
|
|
%{_mandir}/man8/macof.8*
|
|
|
|
%{_mandir}/man8/mailsnarf.8*
|
|
|
|
%{_mandir}/man8/msgsnarf.8*
|
|
|
|
%{_mandir}/man8/sshmitm.8*
|
|
|
|
%{_mandir}/man8/sshow.8*
|
|
|
|
%{_mandir}/man8/tcpkill.8*
|
|
|
|
%{_mandir}/man8/tcpnice.8*
|
|
|
|
%{_mandir}/man8/urlsnarf.8*
|
|
|
|
%{_mandir}/man8/webmitm.8*
|
|
|
|
%{_mandir}/man8/webspy.8*
|
2007-12-03 22:18:54 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-07-21 21:24:32 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.35.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 04:03:25 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.34.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-01 00:41:56 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.33.b1
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-27 16:02:46 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.32.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-28 16:38:19 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.31.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-24 22:43:34 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.30.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 17:55:28 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.29.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 23:21:46 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.28.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-27 01:06:16 +00:00
|
|
|
* Sun May 27 2018 Robert Scheck <robert@fedoraproject.org> 2.4-0.27.b1
|
|
|
|
- Added patch to allow building dsniff against libtirpc (#1582770)
|
|
|
|
|
2018-02-07 07:39:29 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.26.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-02 19:48:09 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.25.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 06:49:11 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.24.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 22:07:46 +00:00
|
|
|
* Sat Feb 11 2017 Robert Scheck <robert@fedoraproject.org> 2.4-0.23.b1
|
|
|
|
- Added patch to allow building dsniff with OpenSSL >= 1.1.0
|
|
|
|
- Added patch to correct a typo related to the -remote option
|
|
|
|
|
2017-02-10 08:47:50 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.22.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-03 19:21:10 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-0.21.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 04:51:38 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.20.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-16 09:50:48 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.19.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 08:59:02 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.18.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-12-20 22:02:10 +00:00
|
|
|
* Fri Dec 20 2013 Robert Scheck <robert@fedoraproject.org> 2.4-0.17.b1
|
|
|
|
- Corrected patch which touches tabular data stream protocol handler
|
|
|
|
- Added a patch to add both communication partners in arpspoof
|
|
|
|
- Added patch to allow multiple targets to be imitated simultaniously
|
|
|
|
- Added patch to allow the selection of source hw address in arpspoof
|
|
|
|
- Added a patch which fixes and modernizes the POP decoder
|
|
|
|
- Fixed segmentation faults related to libnet_name2addr4() (#1009879)
|
|
|
|
- Added a patch to fix bit-shift in pntohl() macro (#714958, #850496)
|
|
|
|
- Avoid xdrs being used without being initialised (#715042, #850494)
|
|
|
|
|
2013-08-03 08:38:17 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.16.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-13 20:20:10 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.15.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-30 21:23:18 +00:00
|
|
|
* Mon Jul 30 2012 Robert Scheck <robert@fedoraproject.org> 2.4-0.14.b1
|
|
|
|
- Added a patch which adds further link layer offsets
|
|
|
|
- Avoid opportunity for DoS in tabular data stream protocol handler
|
|
|
|
- Added a memset in msgsnarf to correctly 0 out the C struct
|
|
|
|
- Patched urlsnarf to use timestamps from pcap file if available
|
|
|
|
|
2012-07-18 21:56:30 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.13.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-30 14:21:58 +00:00
|
|
|
* Fri Mar 30 2012 Jon Ciesla <limburgher@gmail.com> - 2.4-0.12.b1
|
|
|
|
- libnet rebuild
|
|
|
|
|
2012-01-13 01:14:52 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.11.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 15:25:21 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.10.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-03-29 20:04:55 +00:00
|
|
|
* Mon Mar 29 2010 Robert Scheck <robert@fedoraproject.org> 2.4-0.9.b1
|
|
|
|
- Rebuild against libnids 1.24
|
|
|
|
|
2010-01-08 00:26:29 +00:00
|
|
|
* Fri Jan 08 2010 Robert Scheck <robert@fedoraproject.org> 2.4-0.8.b1
|
|
|
|
- Added build requirement to libXmu-devel for webspy (#553230)
|
|
|
|
|
2009-08-21 13:08:23 +00:00
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.4-0.7.b1
|
|
|
|
- rebuilt with new openssl
|
|
|
|
|
2009-07-24 20:35:29 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-0.6.b1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-23 20:30:22 +00:00
|
|
|
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 2.4-0.5.b1
|
|
|
|
- Rebuild against gcc 4.4 and rpm 4.6
|
|
|
|
|
2008-08-30 13:44:57 +00:00
|
|
|
* Sat Aug 30 2008 Robert Scheck <robert@fedoraproject.org> 2.4-0.4.b1
|
|
|
|
- Re-diffed dsniff url log escaping patch for no fuzz
|
|
|
|
|
2018-05-27 01:06:16 +00:00
|
|
|
* Thu May 29 2008 Robert Scheck <robert@fedoraproject.org> 2.4-0.3.b1
|
2008-05-29 21:57:36 +00:00
|
|
|
- Rebuild against libnids 1.23
|
|
|
|
|
2008-02-09 23:50:21 +00:00
|
|
|
* Sun Feb 10 2008 Robert Scheck <robert@fedoraproject.org> 2.4-0.2.b1
|
|
|
|
- Rebuild against gcc 4.3
|
|
|
|
|
2007-12-03 22:18:54 +00:00
|
|
|
* Thu Nov 29 2007 Robert Scheck <robert@fedoraproject.org> 2.4-0.1.b1
|
|
|
|
- Upgrade to 2.4b1 and added many patches from Debian
|
|
|
|
- Initial spec file for Fedora and Red Hat Enterprise Linux
|