about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-10-10 12:54:26 -0400
committerJosh Rickmar <jrick@devio.us>2012-10-10 12:54:26 -0400
commit9479f490c2c84d7bad8cf205c3dee0fd359421e1 (patch)
treeb5c8d80c0d0ff49605ce3b2d6f98ff8dd8d196c6 /Makefile
parent8421b1728ffe8da4b288d76d48d46d96fb4d0dfe (diff)
downloadxombrero-9479f490c2c84d7bad8cf205c3dee0fd359421e1.tar.gz
Implement header changes as requested by jy-p
This change introduces a new RB tree to keep track of identities
(defined as being different combinations of modified HTTP headers, so
far only User-Agent and Accept).  Whenever a site is visited, this
tree is checked to see if it has been accessed before, and if it has,
the previously used Accept and User-Agent headers will be used.  If
the site has not been visited before during the browser's lifetime, a
new entry will be created in this tree to keep track of which headers
to use the next time.  A site is defined as a FQDN, so requests made
to cross site resources or resources on a different subdomain will
generate a new saved identity.

The second change adds two new config files to the resource dir to
read in additional user_agent and http_accept values scraped from the
logs of www.bitrig.org.  The idea of this is to keep rotating through
each of these on every new site visit to provide more anonymity and
thwart web tracking by looking at the headers being sent.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f9b4c49..6b227b1 100644
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,8 @@ beforeinstall:
 	install -m 644 ${.CURDIR}/tld-rules ${PREFIX}/share/xombrero
 	install -m 644 ${.CURDIR}/style.css ${PREFIX}/share/xombrero
 	install -m 644 ${.CURDIR}/hsts-preload ${PREFIX}/share/xombrero
+	install -m 644 ${.CURDIR}/user-agent-headers ${PREFIX}/share/xombrero
+	install -m 644 ${.CURDIR}/http-accept-headers ${PREFIX}/share/xombrero
 
 ${PROG} ${OBJS} beforedepend: javascript.h tooltip.h