]> git.pld-linux.org Git - packages/sslsplit.git/blob - sslsplit.spec
- rebuild with openssl 3.0.0, rel 2
[packages/sslsplit.git] / sslsplit.spec
1 Summary:        Transparent and scalable SSL/TLS interception
2 Summary(pl.UTF-8):      Przezroczyste i skalowalne przechwytywanie SSL/TLS
3 Name:           sslsplit
4 Version:        0.5.5
5 Release:        2
6 License:        BSD
7 Group:          Applications/System
8 # see also https://github.com/droe/sslsplit/releases
9 #Source0:       https://github.com/droe/sslsplit/archive/%{version}/%{name}-%{version}.tar.gz
10 Source0:        https://mirror.roe.ch/rel/sslsplit/%{name}-%{version}.tar.bz2
11 # Source0-md5:  c9628996a930bd18ce8e635dbedf0362
12 Patch0:         openssl3.patch
13 URL:            https://www.roe.ch/SSLsplit
14 BuildRequires:  check-devel
15 BuildRequires:  libevent-devel >= 2
16 BuildRequires:  libnet-devel >= 1:1.1
17 BuildRequires:  libpcap-devel
18 BuildRequires:  openssl-devel
19 BuildRequires:  pkgconfig
20 BuildRequires:  zlib-devel
21 Requires:       iproute2
22 Requires:       iptables
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 SSLsplit is a tool for man-in-the-middle attacks against SSL/TLS
27 encrypted network connections. Connections are transparently
28 intercepted through a network address translation engine and
29 redirected to SSLsplit. SSLsplit terminates SSL/TLS and initiates a
30 new SSL/TLS connection to the original destination address, while
31 logging all data transmitted. SSLsplit is intended to be useful for
32 network forensics and penetration testing.
33
34 It uses Linux netfilter REDIRECT and TPROXY.
35
36 %description -l pl.UTF-8
37 SSLsplit to narzędzie do ataków MITM przeciw połączeniom sieciowym
38 szyfrowanym SSL/TLS. Połączenia są w sposób przezroczysty
39 przechwytywane przez silnik tłumaczenia adresów sieciowych i
40 przekierowywane do narzędzia SSLsplit. SSLsplit przerywa SSL/TLS i
41 rozpoczyna nowe połączenie SSL/TLS do oryginalnego adresu docelowego,
42 logując całe przesyłane dane. SSLsplit jest przeznaczony do śledzenia
43 sieci oraz testów penetracyjnych.
44
45 Narzędzie wykorzystuje funkcjonalność REDIRECT i TPROXY z linuksowego
46 netfiltra.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51
52 %build
53 %{__make} \
54         CC="%{__cc}" \
55         CFLAGS="%{rpmcflags} %{rpmcppflags}" \
56         DEBUG_CFLAGS="%{rpmcflags} %{rpmcppflags}" \
57         PKG_LDFLAGS="%{rpmldflags}"
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT \
64         PREFIX=%{_prefix} \
65         SYSCONFDIR=%{_sysconfdir}
66
67 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/sslsplit/sslsplit.conf{.sample,}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS.md NEWS.md LICENSE LICENSE.third README.md SECURITY.md
75 %attr(755,root,root) %{_bindir}/sslsplit
76 %dir %{_sysconfdir}/sslsplit
77 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sslsplit/sslsplit.conf
78 %{_mandir}/man1/sslsplit.1*
79 %{_mandir}/man5/sslsplit.conf.5*
This page took 0.109 seconds and 3 git commands to generate.