Re: [tor-dev] Preliminary Debian packages for meek

2015-03-11 Thread David Fifield
On Thu, Mar 05, 2015 at 12:53:52AM +0100, Ximin Luo wrote:
> Source package: https://mentors.debian.net/package/meek
> Binary packages: https://people.torproject.org/~infinity0/bin/
> 
> From the binaries, one should install both meek-client and 
> xul-ext-meek-http-helper; the latter depends on xfvb and xauth.
> 
> meek-client has been modified slightly to run meek-http-helper in a headless 
> firefox using Xfvb(1), so that it works even when run as a system service. 
> Example torrc:
> 
> 
> UseBridges 1
> Bridge meek 0.0.2.0:1 url=https://meek-reflect.appspot.com/ 
> front=www.google.com
> ClientTransportPlugin meek exec /usr/bin/meek-client-wrapper --log 
> /var/log/tor/meek-client-wrapper.log --helper /usr/bin/meek-browser-helper -- 
> /usr/bin/meek-client --log /var/log/tor/meek-client.log
> 

This is great. Thanks a log. The xfvb idea is really clever.

Someone asked this question on Tor Stack Exchange:
https://tor.stackexchange.com/questions/3620/how-to-install-tor-with-meek-support-on-ubuntu-debian
Seems like this package will soon be the answer?

I'll suggest the meek-client-wrapper program from #12716 to the
maintainer of the FreeBSD port.

David Fifield
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Preliminary Debian packages for meek

2015-03-04 Thread Ximin Luo
On 05/03/15 00:53, Ximin Luo wrote:
> From the binaries, one should install both meek-client and 
> xul-ext-meek-http-helper; the latter depends on xfvb and xauth.
> 
> meek-client has been modified slightly to run meek-http-helper in a headless 
> firefox using Xfvb(1)

ahem, xvfb not xfvb.

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


[tor-dev] Preliminary Debian packages for meek

2015-03-04 Thread Ximin Luo
Source package: https://mentors.debian.net/package/meek
Binary packages: https://people.torproject.org/~infinity0/bin/

From the binaries, one should install both meek-client and 
xul-ext-meek-http-helper; the latter depends on xfvb and xauth.

meek-client has been modified slightly to run meek-http-helper in a headless 
firefox using Xfvb(1), so that it works even when run as a system service. 
Example torrc:


UseBridges 1
Bridge meek 0.0.2.0:1 url=https://meek-reflect.appspot.com/ front=www.google.com
ClientTransportPlugin meek exec /usr/bin/meek-client-wrapper --log 
/var/log/tor/meek-client-wrapper.log --helper /usr/bin/meek-browser-helper -- 
/usr/bin/meek-client --log /var/log/tor/meek-client.log


Also, to have meek-client-wrapper clean up child processes correctly one needs 
to apply the patch mentioned here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779608#20

After running `service tor restart`, you'll end up with something like this:

$ sudo ls -1a /var/lib/tor/
.
..
.cache
cached-certs
cached-descriptors
cached-descriptors.new
cached-microdesc-consensus
cached-microdescs
cached-microdescs.new
.dbus
Desktop
.gconf
.gnome2
.gnome2_private
.lesshst
lock
.mozilla
state

This is not ideal but I don't know of a good way around it - suggestions 
welcome.

X

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git



signature.asc
Description: OpenPGP digital signature
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev