about summary refs log tree commit diff stats
path: root/linux
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-07-31 09:55:26 -0400
committerJosh Rickmar <jrick@devio.us>2012-07-31 09:55:26 -0400
commit0c240f728d489408cda135786cf29244c1cd4d83 (patch)
treee063f765a1c73d301ec3ad5e8a5904165337a63e /linux
parent02e03fcb67ee3ee37ff7bd5f287a7c53ca55f97e (diff)
downloadxombrero-0c240f728d489408cda135786cf29244c1cd4d83.tar.gz
Add a force_https setting (using the same domain syntax as the
whitelist settings) to make all requests to that domain use the HTTPS
scheme, similar to HSTS.

Install a new file, hsts-preload, into the resource dir.  This is a
regular config file with a bunch of force_https = ... lines, which is
used to implement a preloaded HSTS list.  Right now all the domains in
this file, except for conformal.com and cyphertite.com, are taken
directly from chromium's preloaded HSTS list (and should be synced
with this file every so often).  Also implement a new setting,
preload_strict_transport (enabled by default), to enable or disable
the loading of this preloaded HSTS list.  Document force_https and
preload_strict_transport in the manpage.
Diffstat (limited to 'linux')
-rw-r--r--linux/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
index c0c2455..8d4e3cf 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -61,6 +61,7 @@ install: all
 	install -m 644 ../xombreroicon128.png $(DESTDIR)$(RESDIR)
 	install -m 644 ../tld-rules $(DESTDIR)$(RESDIR)
 	install -m 644 ../style.css $(DESTDIR)$(RESDIR)
+	install -m 644 ../hsts-preload $(DESTDIR)$(RESDIR)
 
 uninstall:
 	rm -f $(DESTDIR)$(BINDIR)/xombrero
@@ -71,7 +72,9 @@ uninstall:
 	rm -f $(DESTDIR)$(RESDIR)/xombreroicon48.png
 	rm -f $(DESTDIR)$(RESDIR)/xombreroicon64.png
 	rm -f $(DESTDIR)$(RESDIR)/xombreroicon128.png
+	rm -f $(DESTDIR)$(RESDIR)/tld-rules
 	rm -f $(DESTDIR)$(RESDIR)/style.css
+	rm -f $(DESTDIR)$(RESDIR)/hsts-preload
 	if [ -d $(DESTDIR)$(RESDIR) ]; then rmdir $(DESTDIR)$(RESDIR); fi
 clean:
 	rm -f xombrero $(OBJS) $(DEPS)