Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
dd142431
Commit
dd142431
authored
Oct 17, 2018
by
segfault
Browse files
Merge branch 'bugfix/15912-htpdate-user-agent' into stable
parents
27cf851a
c8cacf8b
Changes
4
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-hooks/46-configure-htpdate
deleted
100755 → 0
View file @
27cf851a
#!/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
"
config/chroot_local-includes/etc/default/htpdate.user-agent
0 → 100644
View file @
dd142431
HTTP_USER_AGENT="Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
config/chroot_local-includes/usr/local/lib/getTorBrowserUserAgent
deleted
100755 → 0
View file @
27cf851a
#!/bin/sh
set
-e
set
-u
echo
'Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0'
wiki/src/contribute/release_process/tor-browser.mdwn
View file @
dd142431
...
@@ -136,7 +136,7 @@ Then, clone the metadata repository and initialize git-annex:
...
@@ -136,7 +136,7 @@ Then, clone the metadata repository and initialize git-annex:
git clone gitolite@git.puppet.tails.boum.org:torbrowser-archive.git && \
git clone gitolite@git.puppet.tails.boum.org:torbrowser-archive.git && \
cd torbrowser-archive && \
cd torbrowser-archive && \
git annex init
git annex init
You now have a lot of (dangling) symlinks in place of the files that are
You now have a lot of (dangling) symlinks in place of the files that are
available in this git-annex repo.
available in this git-annex repo.
...
@@ -242,3 +242,21 @@ Clean up
...
@@ -242,3 +242,21 @@ Clean up
cd "$TBB_ARCHIVE" && \
cd "$TBB_ARCHIVE" && \
git annex drop -- "${TBB_VERSION}" && \
git annex drop -- "${TBB_VERSION}" && \
rm -rf "$DL_DIR"
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.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment