]>
Commit | Line | Data |
---|---|---|
4d44774e AM |
1 | Summary: Transparent and scalable SSL/TLS interception |
2 | Name: sslsplit | |
3 | Version: 0.4.11 | |
935f6626 | 4 | Release: 2 |
4d44774e | 5 | License: BSD |
4d44774e AM |
6 | Source0: https://github.com/droe/sslsplit/archive/%{version}.tar.gz |
7 | # Source0-md5: 37fe63d0b60268ae48e797a22a39c2da | |
8 | Group: Applications/System | |
56dcb5e9 | 9 | URL: http://www.roe.ch/SSLsplit |
4d44774e AM |
10 | BuildRequires: check-devel |
11 | BuildRequires: libevent-devel | |
12 | BuildRequires: openssl-devel | |
13 | Requires: iproute2 | |
14 | Requires: iptables | |
56dcb5e9 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4d44774e AM |
16 | |
17 | %description | |
18 | SSLsplit is a tool for man-in-the-middle attacks against SSL/TLS | |
19 | encrypted network connections. Connections are transparently | |
20 | intercepted through a network address translation engine and | |
21 | redirected to SSLsplit. SSLsplit terminates SSL/TLS and initiates a | |
22 | new SSL/TLS connection to the original destination address, while | |
23 | logging all data transmitted. SSLsplit is intended to be useful for | |
24 | network forensics and penetration testing. | |
25 | ||
26 | It uses Linux netfilter REDIRECT and TPROXY. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
32 | %{__make} \ | |
33 | CC="%{__cc}" \ | |
34 | DEBUG_CFLAGS="%{rpmcflags} %{rpmcppflags}" | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
56dcb5e9 | 38 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
4d44774e | 39 | |
56dcb5e9 ER |
40 | install -p %{name} $RPM_BUILD_ROOT%{_bindir} |
41 | cp -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
4d44774e AM |
42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc README.md NEWS.md | |
56dcb5e9 | 49 | %attr(755,root,root) %{_bindir}/sslsplit |
4d44774e | 50 | %{_mandir}/man1/sslsplit.1* |