Re: [tor-dev] Roster introduction

2015-07-03 Thread Philipp Winter
On Fri, Jul 03, 2015 at 02:22:57PM +0800, Virgil Griffith wrote:
 Main things accomplished so far:
 * Setup the basic website at: http://www.tor-roster.org/

Looks good so far!  I know that this is work-in-progress, but I have
some minor suggestions:

- I searched for my relay family by fingerprint and the resulting page's
  URL didn't contain my family, so I couldn't send the URL to somebody
  else.

- The colour coding for relay flags is hard to read because of the low
  contrast.  Perhaps use green for assigned flags and grey for missing
  flags?

- I would put the exit policy in a fixed-size box.  Otherwise, there's a
  lot of scrolling for large exit policies.

Cheers,
Philipp
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


[tor-dev] Hi, all!

2015-07-03 Thread Nick Mathewson
I'm about to go on vacation, but before I started, Isabela asked me
for coverage information on Tor, to help people decide where more
tests should be written.

I've re-run coverage, and uploaded the gcov output here:

https://people.torproject.org/~nickm/volatile/coverage-65a1e27.tar.bz2

That archive includes coverage on current master from
  * make check
  * make test-network (uses chutney)
  * make test-stem (uses stem)
  * all of the above, combined

I'm also attaching a script that I wrote long long ago, and use to
summarize coverage file-by-file. Example use:

gcov-lines.py ./coverage-65a1e27/cov-all/*


yrs,
-- 
Nick
#!/usr/bin/python
import sys, re

none0, some0 = 0,0
branchTaken0, branchNot0 = 0,0

BRANCH = False

if sys.argv[1] == '-b':
BRANCH = True
del sys.argv[1]

def show(name, none, some):
print name, none, some, %.02f%(100*(float(some)/(some+none)))

for fn in sys.argv[1:]:
none = some = branchTaken = branchNot = 0
for line in open(fn, 'r'):
if re.match(r'^ *###', line):
none += 1
elif re.match(r'^ *\d', line):
some += 1
else:
m = re.match(r'^branch.*taken (\d+)%', line)
if m:
if int(m.group(1)) == 0:
branchNot += 1
else:
branchTaken += 1

none0 += none
some0 += some
branchTaken0 += branchTaken
branchNot0 += branchNot
if BRANCH:
if branchTaken or branchNot:
show(fn, branchNot, branchTaken)
else:
if some or none:
show(fn, none, some)

if BRANCH:
if branchTaken0 or branchNot0:
show(TOTAL, branchNot0, branchTaken0)
else:
if some0 or none0:
show(TOTAL, none0, some0)
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


[tor-dev] Env variables for chutney

2015-07-03 Thread Cory Pruce

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey Tim,

I see that I may need to set some environment variables as told by the
git readme but the error message is on a different env var:

cory@Nulix ~/tor/tor =) make test-network
make  all-am
make[1]: Entering directory `/home/cory/tor/tor'
make[1]: Leaving directory `/home/cory/tor/tor'
./src/test/test-network.sh
test-network.sh: missing 'chutney' in CHUTNEY_PATH (~/tor/chutney/)
make: *** [test-network] Error 1


I also tried modifying my .bashrc so that the CHUTNEY_PATH pointed to
the executable but no luck. Do I need to set the chutney path?

- - Cory
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJVluRoAAoJEB7DuCIJauCgUNUQAICDPM+vQ1YPU36B13beWgsX
OUN6wQKdjtnRP9aCvusf49vomr+E8g2JcIvR+KiRKTDtnvVUMijsl1TZCmyTptEh
61opZJBweCP78MGuaeMXjJg3Ijw5vFDV6tszJ+Z/5xY/f2PinKO2Db+JWI1/oSP3
kMERE/Va+ehL8u4Nx/meP9VzVQDFZH1nz381FQFAPFYSv9+JR1x4HFGWLElOH0l8
1+hcGhhtRD5mzYoDLIx6Lr/3jIJxmbJiiOmpNQcfW3ISHTrgOB/Wo2n6oO/OcjEk
L66YvFpZNYqWQ8ZXf+ZN3cC/+sTpWvYDOcdKv9LJvEmHNSevmU+i2+nMoeanpXzX
z5eYNCE9unfitNg6hPoQ8x7wD+LLpBDEA42QoQVzx26WMCk3ziu9JIsI5/VfZ7Is
/Ny+gQ4jv1Jlk+SEu6ZmRVuyN8sipXnkseXGcpqVR9HBWe7Hy+RfUpODhR3cOy7o
EBClLrP8s4H0PUb2WYU4IQrIp2xy8cqqCIaDhs4XLhdXgaX2667irM9uEPw6ZMhL
vceyU0LM0v5O+FfzFtdUC4QwfLAbzbiwRi+w74c6bneWWFTi/w5RRaNUiv/IZVMW
XTh22mRIOkZXQ3dTc2TsI4TjhT2U95oMiO8hFjDBTS9RfZk/w+unToyJ2aed4UxK
9WC/r/vqUpgD4mljBr76
=9Cvw
-END PGP SIGNATURE-


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


[tor-dev] Roster introduction

2015-07-03 Thread Virgil Griffith
Hello everyone.

This is my first report on the Roster project and I wanted to give you
all an introduction what it is and where it's going.

I'm interested in seeing Tor grow.  Current work towards this is
tor2web and now Roster.  Roster is the rebranded continuation of the
Torati proposal which I first mentioned here:
https://lists.torproject.org/pipermail/tor-dev/2014-June/006975.html

In short the gist is to:
* Socially incentivize operators to run relays.
* Make the operator experience more compelling.
* Gamify operating a Tor relay.

The main difference between Roster and Globe/Atlas is that Roster
provides information at the level of *operators*, not individual
relays.  In Roster information is aggregated and metrics are summed
across all relays of a family.  The idea is that when you run a relay,
you generate nerd points and badges.  And then when people Google your
name/alias, they will see how many nerd points+badges you have and
they will be in awe of your epic geek-street-cred.

In addition to improving operator experience, there are proposals for
encouraging operators to do things Tor management like them to do such
as upgrading to the latest Tor version and/or probably setting up
their Families.  E.g., a badge for using the latest/recommended Tor
software.

That's the gist of it.

I will be spending most of my time on tor-relays@ and talking with
operators there.  So if you want to follow day-to-day stuff subscribe
there.

Main things accomplished so far:
* Setup the basic website at: http://www.tor-roster.org/

* I have an assistant whom I've taken under my wing.  His name is Sean
Saito saitos...@ymail.com.  He's a Computer Science student at
Yale-NUS here in Singapore.  He wishes to become more involved in The
Tor Project and this is his first Tor-related experience.

* We also have discussed with the tor-relays@ list candidate badges.
Are interested in additional badge proposals.
--- https://lists.torproject.org/pipermail/tor-relays/2015-June/007228.html

That's it so far.
-Virgil
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev