-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from dlundquist/rename
Rename sni_proxy -> sniproxy
- Loading branch information
Showing
16 changed files
with
98 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ Makefile.in | |
config.status | ||
config.log | ||
INSTALL | ||
sniproxy-*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Name: sniproxy | ||
Version: 0.1 | ||
Release: 1%{?dist} | ||
Summary: Transparent TLS proxy | ||
|
||
Group: System Environment/Daemons | ||
License: BSD | ||
URL: https://github.com/dlundquist/sniproxy | ||
Source0: %{name}-%{version}.tar.gz | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
|
||
BuildRequires: autoconf, automake, curl, pcre-devel, perl | ||
Requires: pcre | ||
|
||
%description | ||
Proxies incoming HTTP and TLS connections based on the hostname contained in | ||
the initial request. This enables HTTPS name based virtual hosting to seperate | ||
backend servers without the installing the private key on the proxy machine. | ||
|
||
|
||
%prep | ||
%setup -q | ||
|
||
|
||
%build | ||
%configure | ||
make %{?_smp_mflags} | ||
|
||
|
||
%install | ||
rm -rf $RPM_BUILD_ROOT | ||
make install DESTDIR=$RPM_BUILD_ROOT | ||
|
||
|
||
%clean | ||
rm -rf $RPM_BUILD_ROOT | ||
|
||
|
||
%files | ||
%defattr(-,root,root,-) | ||
%{_sbindir}/sniproxy | ||
%doc | ||
|
||
|
||
|
||
%changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sni_proxy | ||
sniproxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,30 @@ | ||
|
||
sbin_PROGRAMS = sni_proxy | ||
sbin_PROGRAMS = sniproxy | ||
|
||
sni_proxy_SOURCES = sni_proxy.c \ | ||
config.c \ | ||
cfg_parser.c \ | ||
cfg_tokenizer.c \ | ||
util.c \ | ||
server.c \ | ||
listener.c \ | ||
table.c \ | ||
backend.c \ | ||
connection.c \ | ||
buffer.c \ | ||
tls.c \ | ||
http.c | ||
sni_proxy_LDADD = -lpcre | ||
sniproxy_SOURCES = backend.c \ | ||
backend.h \ | ||
buffer.c \ | ||
buffer.h \ | ||
cfg_parser.c \ | ||
cfg_parser.h \ | ||
cfg_tokenizer.c \ | ||
cfg_tokenizer.h \ | ||
config.c \ | ||
config.h \ | ||
connection.c \ | ||
connection.h \ | ||
http.c \ | ||
http.h \ | ||
listener.c \ | ||
listener.h \ | ||
server.c \ | ||
server.h \ | ||
sniproxy.c \ | ||
sniproxy.h \ | ||
table.c \ | ||
table.h \ | ||
tls.c \ | ||
tls.h \ | ||
util.c \ | ||
util.h | ||
sniproxy_LDADD = -lpcre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters