[tor-bugs] #15171 [Ooni]: Add support for testing lantern to ooniprobe
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Mar 5 22:47:20 UTC 2015
#15171: Add support for testing lantern to ooniprobe
-------------------------+---------------------
Reporter: hellais | Owner: hellais
Type: defect | Status: new
Priority: normal | Milestone:
Component: Ooni | Version:
Resolution: | Keywords:
Actual Points: | Parent ID: #15170
Points: |
-------------------------+---------------------
Comment (by ox.to.a.cart):
The good news is that the latest version of Lantern (which internally is
called flashlight) doesn't require Java, it's built in Go. The easiest
thing to do is probably to compile it on a Raspberry Pi and then
distribute it in binary form.
Here are some useful instructions.
https://github.com/golang/go/wiki/GoArm#raspberry-pi
I do need to do a little work to make sure it'll run happily from the
command-line, which I've captured in a ticket -
https://github.com/getlantern/lantern/issues/2288
In answer to the open questions:
1. You can tell that flashlight is running using netcat. Assuming it's
running at localhost:8787, you can use "nc -vz localhost 8787"
2. flashlight logs debug to stderr and errors to stdout. If there are
connectivity issues, they will show up in here. I'm happy to tweak the
log output to make it easier for ooniprobe to diagnose what's going on.
If there are specific types of conditions that you're looking for, please
let me know.
Thanks so much for offering to integrate Lantern into your test suite!
Replying to [ticket:15171 hellais]:
> We should test to see if lantern is working properly.
>
> https://github.com/getlantern/lantern
>
> It requires java so we should see if raspberry pi will work properly
with it.
>
> Ox Cart says:
>
> It's just an HTTP proxy and you can run it on whatever port you like -
just
> set the -addr to whatever you like (default localhost:8787).
>
> The most recent version that we're distributing to Iran is here -
> https://github.com/getlantern/flashlight-build/tree/valencia
>
> Open questions are:
>
> * How can we learn if lantern has successfully bootstrapped
>
> * What debug information can we get from the software that would allow
us to understand why and how it is being blocked
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15171#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list