[tor-bugs] #24432 [Obfuscation/BridgeDB]: The meek<->moat tunneling isn't set up correctly

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 28 19:24:54 UTC 2017


#24432: The meek<->moat tunneling isn't set up correctly
----------------------------------+--------------------------
 Reporter:  isis                  |          Owner:  isis
     Type:  defect                |         Status:  accepted
 Priority:  High                  |      Milestone:
Component:  Obfuscation/BridgeDB  |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:  moat bridgedb-dist    |  Actual Points:
Parent ID:                        |         Points:  2
 Reviewer:                        |        Sponsor:  SponsorM
----------------------------------+--------------------------
Changes (by isis):

 * status:  new => accepted


Old description:

> The apache config has:
>
>     ProxyPass /meek/ http://127.0.0.1:2000/
>     ProxyPass /moat/ http://127.0.0.1:3881/moat/
>     ProxyPass / http://127.0.0.1:3880/ retry=3D10
>     ProxyPassReverse / http://127.0.0.1:3880/
>
> (BridgeDB's HTTPS distributor is a Python process listening on port 3880,
> and the moat distributor is listening on 3881.)
>
> The moat-server is run with the following:
>
>     ∃!isisⒶwintermute:(master $>)~/code/torproject/bridgedb-admin ∴ cat
> bin/run-meek
>     #!/usr/bin/env bash
>
>     export TOR_PT_MANAGED_TRANSPORT_VER=1
>     export TOR_PT_SERVER_BINDADDR=meek-0.0.0.0:2000
>     #export TOR_PT_SERVER_BINDADDR=meek-78.47.38.229:2000
>     export TOR_PT_SERVER_TRANSPORTS=meek
>     export TOR_PT_ORPORT=127.0.0.1:443
>
>     /srv/bridges.torproject.org/bin/meek-server --disable-tls & disown
>
> The moat distributor has two pages, /moat/fetch and /moat/check. In my
> Tor Browser, if I go to https://4-dot-tor-bridges-hyphae-
> channel.appspot.com/meek/moat/fetch I get a "301 Permanent Redirect" from
> the Apache server telling me to go to
> https://bridges.torproject.org/meek/meek/moat/fetch.
>
> Probably I've just configured all the URIs wrong?

New description:

 The apache config has:

     ProxyPass /meek/ http://127.0.0.1:2000/
     ProxyPass /moat/ http://127.0.0.1:3881/moat/
     ProxyPass / http://127.0.0.1:3880/ retry=10
     ProxyPassReverse / http://127.0.0.1:3880/

 (BridgeDB's HTTPS distributor is a Python process listening on port 3880,
 and the moat distributor is listening on 3881.)

 The moat-server is run with the following:

     ∃!isisⒶwintermute:(master $>)~/code/torproject/bridgedb-admin ∴ cat
 bin/run-meek
     #!/usr/bin/env bash

     export TOR_PT_MANAGED_TRANSPORT_VER=1
     export TOR_PT_SERVER_BINDADDR=meek-0.0.0.0:2000
     #export TOR_PT_SERVER_BINDADDR=meek-78.47.38.229:2000
     export TOR_PT_SERVER_TRANSPORTS=meek
     export TOR_PT_ORPORT=127.0.0.1:443

     /srv/bridges.torproject.org/bin/meek-server --disable-tls & disown

 The moat distributor has two pages, /moat/fetch and /moat/check. In my Tor
 Browser, if I go to https://4-dot-tor-bridges-hyphae-
 channel.appspot.com/meek/moat/fetch I get a "301 Permanent Redirect" from
 the Apache server telling me to go to
 https://bridges.torproject.org/meek/meek/moat/fetch.

 Probably I've just configured all the URIs wrong?

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24432#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list