<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/brade/meek, branch bug25405-01</title>
<subtitle>Kathy's meek Repository</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/'/>
<entry>
<title>Bug 25405: cannot use Moat if a meek bridge is configured</title>
<updated>2018-03-26T15:52:22+00:00</updated>
<author>
<name>Kathy Brade</name>
<email>brade@pearlcrescent.com</email>
</author>
<published>2018-03-06T20:43:40+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/commit/?id=6a70f67dd895d1b9124a08dac06e0cba1b7a30bb'/>
<id>6a70f67dd895d1b9124a08dac06e0cba1b7a30bb</id>
<content type='text'>
Add support for a TOR_BROWSER_MEEK_PROFILE environment variable which,
if present, contains the path to the HTTP helper browser profile.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for a TOR_BROWSER_MEEK_PROFILE environment variable which,
if present, contains the path to the HTTP helper browser profile.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update server shutdown procedure.</title>
<updated>2018-03-21T07:32:17+00:00</updated>
<author>
<name>David Fifield</name>
<email>david@bamsoftware.com</email>
</author>
<published>2018-03-21T06:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/commit/?id=502001aed9e40f79807b913b02ea82f7c381e47d'/>
<id>502001aed9e40f79807b913b02ea82f7c381e47d</id>
<content type='text'>
Ignore SIGINT, honor TOR_PT_EXIT_ON_STDIN_CLOSE.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ignore SIGINT, honor TOR_PT_EXIT_ON_STDIN_CLOSE.
</pre>
</div>
</content>
</entry>
<entry>
<title>Exit immediately after SIGTERM is there are no signals running.</title>
<updated>2018-03-21T07:32:17+00:00</updated>
<author>
<name>David Fifield</name>
<email>david@bamsoftware.com</email>
</author>
<published>2018-03-21T06:25:10+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/commit/?id=1a25ac4232675e6d5efa91ad062610efc771aaaf'/>
<id>1a25ac4232675e6d5efa91ad062610efc771aaaf</id>
<content type='text'>
The logic erroneously assumed that there was at least one handler
running at the time a signal was received. If there was not, it would
wait forever for something handler-related to happen.

https://bugs.torproject.org/24875
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The logic erroneously assumed that there was at least one handler
running at the time a signal was received. If there was not, it would
wait forever for something handler-related to happen.

https://bugs.torproject.org/24875
</pre>
</div>
</content>
</entry>
<entry>
<title>Update programVersion = "0.30".</title>
<updated>2018-03-07T06:45:23+00:00</updated>
<author>
<name>David Fifield</name>
<email>david@bamsoftware.com</email>
</author>
<published>2018-03-07T06:45:23+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/commit/?id=7243a0df885dda442750836b397c2c5d1c7f3e8a'/>
<id>7243a0df885dda442750836b397c2c5d1c7f3e8a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Regen man pages.</title>
<updated>2018-03-07T03:39:01+00:00</updated>
<author>
<name>David Fifield</name>
<email>david@bamsoftware.com</email>
</author>
<published>2018-03-07T03:18:39+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/commit/?id=45d17ffa0afd0aaf98051c8a3e6876365fdb99cc'/>
<id>45d17ffa0afd0aaf98051c8a3e6876365fdb99cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use autocert Manager.HTTPHandler (ACME HTTP-01 challenge)</title>
<updated>2018-03-07T03:39:01+00:00</updated>
<author>
<name>David Fifield</name>
<email>david@bamsoftware.com</email>
</author>
<published>2018-03-07T02:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/commit/?id=cb8314e0b3a94b9d3c8ce2368ec5b461fb61d117'/>
<id>cb8314e0b3a94b9d3c8ce2368ec5b461fb61d117</id>
<content type='text'>
The former TLS-SNI challenge type is gone.
https://letsencrypt.status.io/pages/incident/55957a99e800baa4470002da/5a55777ed9a9c1024c00b241

The new HTTP-01 challenge type requires a listener on port 80. The
former TLS-SNI challenge just piggybacked on an additional HTTPS
listener on port 443, if necessary. The new listener on port 80 just
handles ACME business and nothing else.

https://bugs.torproject.org/24928
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The former TLS-SNI challenge type is gone.
https://letsencrypt.status.io/pages/incident/55957a99e800baa4470002da/5a55777ed9a9c1024c00b241

The new HTTP-01 challenge type requires a listener on port 80. The
former TLS-SNI challenge just piggybacked on an additional HTTPS
listener on port 443, if necessary. The new listener on port 80 just
handles ACME business and nothing else.

https://bugs.torproject.org/24928
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor man page enhancements.</title>
<updated>2018-03-07T03:17:21+00:00</updated>
<author>
<name>David Fifield</name>
<email>david@bamsoftware.com</email>
</author>
<published>2018-03-07T03:17:03+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/commit/?id=a5aa5a284cb294f3d2d42f572b9cd574f9edad8d'/>
<id>a5aa5a284cb294f3d2d42f572b9cd574f9edad8d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update programVersion = "0.29".</title>
<updated>2018-02-16T06:16:47+00:00</updated>
<author>
<name>David Fifield</name>
<email>david@bamsoftware.com</email>
</author>
<published>2018-02-16T06:16:47+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/commit/?id=d0c352322e6765ebfb30ad3ab075acc802c84492'/>
<id>d0c352322e6765ebfb30ad3ab075acc802c84492</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Have meek-client-torbrowser give meek-client a stdin that doesn't close.</title>
<updated>2018-02-16T06:16:12+00:00</updated>
<author>
<name>David Fifield</name>
<email>david@bamsoftware.com</email>
</author>
<published>2018-01-11T20:31:02+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/commit/?id=a47e634f594c26a5e6676bf5de3f0d1d5bb620af'/>
<id>a47e634f594c26a5e6676bf5de3f0d1d5bb620af</id>
<content type='text'>
https://bugs.torproject.org/24642

Running meek-client-torbrowser with the environment variable
TOR_PT_EXIT_ON_STDIN_CLOSE=1 would cause meek-client to exit
immediately, as it sensed that its stdin was closed.
meek-client-torbrowser was running the meek-client subprocess with a nil
Stdin, which causes its stdin to be /dev/null (or NUL on Windows), which
returns an immediate EOF. So instead, give meek-client an StdinPipe and
just keep it open. (We could alternatively keep track of it and close it
when necessary, but that would take further refactoring.)

The commit where things would have first broken was
0ec986eb2b4bc23d81e6e8beffd382890f55bfb1 (part of tag 0.28), which
added TOR_PT_EXIT_ON_STDIN_CLOSE awareness to meek-client. But it was
not meek-client's fault.

This bug did not affect any releases of Tor Browser, despite that on
Windows we unconditionally set TOR_PT_EXIT_ON_STDIN_CLOSE=1 via
terminateprocess-buffer, because Tor Browser is still using tag 0.25,
which doesn't have the TOR_PT_EXIT_ON_STDIN_CLOSE change in meek-client.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.torproject.org/24642

Running meek-client-torbrowser with the environment variable
TOR_PT_EXIT_ON_STDIN_CLOSE=1 would cause meek-client to exit
immediately, as it sensed that its stdin was closed.
meek-client-torbrowser was running the meek-client subprocess with a nil
Stdin, which causes its stdin to be /dev/null (or NUL on Windows), which
returns an immediate EOF. So instead, give meek-client an StdinPipe and
just keep it open. (We could alternatively keep track of it and close it
when necessary, but that would take further refactoring.)

The commit where things would have first broken was
0ec986eb2b4bc23d81e6e8beffd382890f55bfb1 (part of tag 0.28), which
added TOR_PT_EXIT_ON_STDIN_CLOSE awareness to meek-client. But it was
not meek-client's fault.

This bug did not affect any releases of Tor Browser, despite that on
Windows we unconditionally set TOR_PT_EXIT_ON_STDIN_CLOSE=1 via
terminateprocess-buffer, because Tor Browser is still using tag 0.25,
which doesn't have the TOR_PT_EXIT_ON_STDIN_CLOSE change in meek-client.
</pre>
</div>
</content>
</entry>
<entry>
<title>Show an error when missing a meek-client command line.</title>
<updated>2018-01-11T21:04:34+00:00</updated>
<author>
<name>David Fifield</name>
<email>david@bamsoftware.com</email>
</author>
<published>2018-01-11T21:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/brade/meek.git/commit/?id=dcfbef8d459adf916f5c4ce8c6ff4ff777be06ff'/>
<id>dcfbef8d459adf916f5c4ce8c6ff4ff777be06ff</id>
<content type='text'>
Running meek-client-torbrowser without arguments would panic as it tried
to index the nonexistent arguments.

2018/01/11 21:02:07 running firefox command ["firefox" "--invisible" "-no-remote" "-profile" "TorBrowser/Data/Browser/profile.meek-http-helper"]
2018/01/11 21:02:07 firefox started with pid 23721
2018/01/11 21:02:08 killing PID 23721
panic: runtime error: index out of range

goroutine 1 [running]:
panic(0x4e95a0, 0xc42000a110)
        /usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
main.runMeekClient(0xc420010589, 0xf, 0xc42000a2c0, 0x0, 0x0, 0x0, 0x10, 0xc42000e440)
        meek-client-torbrowser.go:267 +0x416
main.main()
        meek-client-torbrowser.go:354 +0x3d2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Running meek-client-torbrowser without arguments would panic as it tried
to index the nonexistent arguments.

2018/01/11 21:02:07 running firefox command ["firefox" "--invisible" "-no-remote" "-profile" "TorBrowser/Data/Browser/profile.meek-http-helper"]
2018/01/11 21:02:07 firefox started with pid 23721
2018/01/11 21:02:08 killing PID 23721
panic: runtime error: index out of range

goroutine 1 [running]:
panic(0x4e95a0, 0xc42000a110)
        /usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
main.runMeekClient(0xc420010589, 0xf, 0xc42000a2c0, 0x0, 0x0, 0x0, 0x10, 0xc42000e440)
        meek-client-torbrowser.go:267 +0x416
main.main()
        meek-client-torbrowser.go:354 +0x3d2
</pre>
</div>
</content>
</entry>
</feed>
