Commit dd142431 authored by segfault's avatar segfault
Browse files

Merge branch 'bugfix/15912-htpdate-user-agent' into stable

parents 27cf851a c8cacf8b
#!/bin/sh
set -e
echo "Configuring htpdate HTTP User-Agent"
CONFFILE='/etc/default/htpdate.user-agent'
install -o root -g root -m 0644 /dev/null "$CONFFILE"
echo "HTTP_USER_AGENT=\"$(/usr/local/lib/getTorBrowserUserAgent)\"" \
> "$CONFFILE"
HTTP_USER_AGENT="Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
#!/bin/sh
set -e
set -u
echo 'Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0'
......@@ -242,3 +242,21 @@ Clean up
cd "$TBB_ARCHIVE" && \
git annex drop -- "${TBB_VERSION}" && \
rm -rf "$DL_DIR"
Update the htpdate User Agent
=============================
We want to use the same user agent in our htpdate script (see the
[[Time syncing design|contribute/design/Time_syncing]]
for more info on that) as in Tor Browser.
To find out the User Agent of the new Tor Browser:
1. Start Tor Browser (outside of Tails, if there is no ISO yet with the new
Tor Browser)
2. Open the _Network_ tab in the _Developer Tools_ (Ctrl+Shift+E)
3. Load a website (e.g. <https://tails.boum.org>)
4. Select one of the GET requests in the _Developer Tools_
5. Scroll down to `User-Agent` in the _Request headers_ section
Now replace the User Agent in `config/chroot_local-includes/etc/default/htpdate.user-agent` with the one you found above.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment