summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Bug 19646: Mac OS: wrong location for meek browser profilebug19646-01Kathy Brade2016-11-04
| | | | | | | | On OSX, use the TOR_BROWSER_TOR_DATA_DIR environment variable value (if available) to determine the location of the meek browser profile. This fixes a problem where meek-client-torbrowser attempted to use a path under /Applications/TorBrowser-Data, to which regular users may not have write access.
* Update programVersion=0.24.HEADmasterDavid Fifield2016-10-03
|
* meek-client-torbrowser: set Pdeathsig=SIGTERM.David Fifield2016-10-03
| | | | | Suggested by Yawning Angel as a safeguard in addition to 125b0ca1: https://bugs.torproject.org/20030#comment:8
* Array syntax looks weird, just use a slice.David Fifield2016-10-03
|
* Store *url.URL in test tables, not url.URL.David Fifield2016-10-03
| | | | | | | Fixes "go vet" warnings: helper_test.go:50: arg input for printf verb %q of wrong type: net/url.URL helper_test.go:57: arg test.input for printf verb %q of wrong type: net/url.URL helper_test.go:60: arg test.input for printf verb %q of wrong type: net/url.URL
* go fmt.David Fifield2016-10-03
|
* Ignore SIGPIPE in meek-client-torbrowser.David Fifield2016-10-03
| | | | | | | | | See https://bugs.torproject.org/20030 for discussion. Since Go 1.6, writes to fd 1 or 2 when they are closed causes the program to terminate with a SIGPIPE. Because the default log location is stderr (fd 2), we would get a SIGPIPE when logging once the parent process had died and closed its stderr. This prevented meek-client-torbrowser from cleaning up its subprocesses.
* Link to #18904.David Fifield2016-07-21
|
* Merge branch 'bug18371'David Fifield2016-07-21
|\
| * Bug 18904: Mac OS meek-http-helper profile not updatedKathy Brade2016-05-20
| | | | | | | | | | | | | | | | To ensure that the meek-http-helper profile is up-to-date with respect to the template (e.g., after Tor Browser has been updated), the contents of the file meek-template-sha256sum.txt within the profile are compared with the corresponding template file; if they differ, the profile is deleted and recreated.
| * fixup! Bug 18371: symlinks incompatible with Gatekeeper signingKathy Brade2016-03-09
| | | | | | | | | | | | | | | | Fix a problem where copying the profile from the template failed if TorBrowser-Data/Tor/PluggableTransports/ did not already exist (before calling ioutil.TempDir(), the parent directory must exist). Remove trailing semicolons and unneeded parens.
| * Bug 18371: symlinks incompatible with Gatekeeper signingKathy Brade2016-03-07
| | | | | | | | | | | | | | | | | | | | Use the regular Tor Browser instead of a symlinked copy and pass a --invisible option to firefox. Tor Browser will be patched to recognize that flag and hide the Mac OS dock icon as soon as possible. Also, fix meek-client-torbrowser's embedded paths to match Tor Browser's new Mac OS directory structure and create the meek-http-helper browser profile on-the-fly by copying files from a template.
* | Make project ID consistent in appengine README.David Fifield2016-06-30
| |
* | Remove "application: meek-reflect" from app.yaml.David Fifield2016-06-30
| | | | | | | | A better way to do this is with the -application flag to goapp.
* | Add Go version to version output.David Fifield2016-04-21
| |
* | Link to discussion of the headless browser tricks on mac.David Fifield2016-02-19
| |
* | Use permalinks for Tor Trac tickets.David Fifield2016-02-19
| |
* | Remove the Chrome extension as it is unmaintained.David Fifield2016-01-11
|/ | | | | I don't know of anyone using it and I haven't tried it in a long time. We can bring it back if there is a need.
* Increase version number to 0.22.David Fifield2016-01-11
|
* Log version number in meek-server startup.David Fifield2016-01-11
|
* Fix format string in error message.David Fifield2016-01-11
|
* Rearrange imports.David Fifield2016-01-11
|
* Recognize Meek-IP as a synonym of X-Forwarded-For.David Fifield2015-12-20
| | | | With higher precedence.
* Set a Meek-IP header with the client IP in the App Engine reflector.David Fifield2015-12-20
| | | | | | | | This is a replacement for X-Forwarded-For because App Engine doesn't allow to set X-Forwarded-For, and doesn't set any equivalent header by default. https://trac.torproject.org/projects/tor/ticket/13171#comment:7
* Understand X-Forwarded-For in originalClientIP.David Fifield2015-12-20
|
* Add tests for originalClientIP.David Fifield2015-12-20
| | | | Includes failing tests for X-Forwarded-For.
* Factor out code to get the original client IP address.David Fifield2015-12-20
| | | | | | This is working towards #13171. Currently it's just getting req.RemoteAddr as before, except that it's now setting the port number to ":0" in all cases.
* Fix a2x example in meek-server.1.txt.David Fifield2015-12-18
|
* Use net.IPv4zero for 0.0.0.0.David Fifield2015-12-18
|
* Set scaling instances in app.yaml.David Fifield2015-10-30
| | | | | | | | | | | | | | | | | | | | | | | These used to be set using the web interface. Now you have to set them in app.yaml. For example, https://cloud.google.com/appengine/docs/adminconsole/performancesettings#Setting_the_Number_of_Idle_Instances now redirects to https://cloud.google.com/appengine/docs/developers-console/#module-settings which says: Note: Many performance settings for modules are included in the module's configuration file (Java | Python | Go | PHP). These settings are made at deployment time and cannot be changed from the Developers Console. So we've been running without the settings I set manually before for who knows how long. Previously I had set: max_idle_instances: 2 min_pending_latency: 1000ms Now I set it to: max_idle_instances: 2 min_pending_latency: 1000ms The new URL for the documentation of these parameters is here: https://cloud.google.com/appengine/docs/go/modules/#Go_Configuration
* Update App Engine doc link.David Fifield2015-10-30
|
* Use new Azure CDN domain in sample torrc.David Fifield2015-07-24
| | | | | https://lists.torproject.org/pipermail/tor-talk/2015-July/038496.html https://trac.torproject.org/projects/tor/ticket/16634
* Better wording.David Fifield2015-07-07
|
* Pass nil to ClientSetup and ServerSetup as now documented.David Fifield2015-06-27
| | | | https://gitweb.torproject.org/pluggable-transports/goptlib.git/commit/?id=65fc8d72eccd82237562744ddc85760d426561d8
* Use new convention for Temporary errors from AcceptSocks.David Fifield2015-06-27
| | | | | https://trac.torproject.org/projects/tor/ticket/14135 https://gitweb.torproject.org/pluggable-transports/goptlib.git/commit/?id=50b39b746c6ff34bf31977b658848d876ee84fbf
* Use the new TOR_PT_PROXY interface from #12125.David Fifield2015-06-27
|
* Unset environment variables Firefox sets on restart.David Fifield2015-06-25
| | | | | | These were the cause of the profile error that you saw when restarting Tor Browser after an update. https://trac.torproject.org/projects/tor/ticket/13247#comment:17
* Remove leftover variable declaration.David Fifield2015-06-25
|
* Indentation and link to #16269.David Fifield2015-06-04
|
* Bug 16269: add-on compatibility check occurs repeatedlyKathy Brade2015-06-04
| | | | | Ensure that update-related browser preferences are written to disk by flushing them during startup.
* Don't close subprocess stdin in terminateprocess-buffer.David Fifield2015-04-30
| | | | | | | | | | | | | It started being closed in 1fa2da7c6c03500ee899061a773fb7cfb0c1bf5f, which added compliance with the TOR_PT_EXIT_ON_STDIN_CLOSE environment variable. Closing stdin of the subprocess doesn't make sense, because the purpose of terminateprocess-buffer is to keep the chile stdin open after its own stdin has closed. This fixes a regression in Tor Browser 4.5 on Windows 7: https://trac.torproject.org/projects/tor/ticket/15872#comment:5 However, the same code, even when it closes stdin, works on Windows 8, and I don't know why.
* Use persistent connections in the WSGI reflector.David Fifield2015-04-12
| | | | | | | | | | This improves performance quite a lot--previously we were doing a complete TCP and TLS handshake to meek-server for every single request, which, apart from increasing latency, also caused a lot of CPU usage on meek-server. it was up above 80% when I checked it. Now we reuse connections until they error out, making a new connection if all others are currently busy.
* Make WSGI LimitedReader.read() work when not given a size.David Fifield2015-04-11
| | | | It was reading unlimitedly in this case.
* http.Error adds its own newline.David Fifield2015-04-08
|
* Replace --exit-on-stdin-eof with TOR_PT_EXIT_ON_STDIN_CLOSE=1.David Fifield2015-04-05
| | | | There's now an official way for tor to request this behavior.
* Set TOR_PT_EXIT_ON_STDIN_CLOSE=1 in terminateprocess-buffer.David Fifield2015-04-05
| | | | | | Since #15435, we can treat terminateprocess-buffer as a compatibility shim that adds support for TOR_PT_EXIT_ON_STDIN_CLOSE to versions of tor that don't have it.
* Add a missing variable declaration.David Fifield2015-03-21
|
* Don't strip Host when we are pruning headers.David Fifield2015-03-21
| | | | | | | Stripping Host made it not work to use a url= without a front=. When you omit front=, it's supposed to take the Host from the url= argument. This is when you connect directly to the bridge, like bridge meek 0.0.2.0:3 url=https://meek.bamsoftware.com/
* Factor out requestOk.David Fifield2015-02-24
|
* Factor out a sendResponse function.David Fifield2015-02-24
| | | | No reason for it to be a member function.