[metrics-team] onionoo updater downloads via tor SOCKS port

iwakeh iwakeh at torproject.org
Sun May 21 12:07:05 UTC 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Hi nusenu!

On 05/21/2017 01:02 AM, nusenu wrote:
> Hi,
> 
> is it possible to tell the onionoo updater to fetch collector data via a
> tor SOCKS port? (and do DNS lookups via SOCKS)

The various port and host settings can be done using java properties.
Assuming you want to send everything through tor:

java -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=9050 -jar <some-exec-jar>

(for more see [0])

> 
> Based on the "--help" output I guess this is not possible?
> 
> java -jar onionoo-4.0-1.2.0.jar  --help
> Please provide only a single execution:
>   [no argument]    Run steps 1--3 repeatedly once per hour.
>   --single-run     Run steps 1--3 only for a single time, then exit.
>   --download-only  Only run step 1: download recent descriptors, then exit.
>   --update-only    Only run step 2: update internal status files, then exit.
>   --write-only     Only run step 3: write output document files, then exit.
>   --help           Print out this help message and exit.
> 
> 
> Typo in line 107 [1] in INSTALL.md?
> 
> ```java -jar collector-<version>.jar --help```
> should say:
> ```java -jar onionoo-<version>.jar --help```
> right?

Yep, that seems right.  Thanks!

Kind regards,
iwakeh

[0] https://docs.oracle.com/javase/7/docs/technotes/guides/net/proxies.html

> 
> 
> [1] https://gitweb.torproject.org/onionoo.git/tree/INSTALL.md#n107
> 
> 
> 
> thanks,
> nusenu
> 
> 
> 
> _______________________________________________
> metrics-team mailing list
> metrics-team at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/metrics-team
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJZIYLjAAoJEPeEx9Sa/gvi888QAL06cd9+qdhx/DUEZlmSxP9X
+jFSu4IfRKW+llunS/UOntRDa0f7N1cuL7ap4MSsN0Bf/gEukRTO7WykmbTAcRFt
KRMeaEC0E9glHjXO1fJpWk//RXtuiRm0UYHzwL3OBCWX9mOQgnNRt8RX40sYZcaG
AYSfJxHCDXKyEoi9HitWA4gpCnH18aNxjL7vAdJRHd3EamWmnVlAwIArl81Y02Xk
ARcWcSeBV90/rlQp4ibjTWtRxIsd7SnvBopYYaIYrrJATU2B/pIFI/I+HH1QGmP4
0XnC2xY8pSpjpOxt9Z24oQ0HeZ2hMblJFWCfUFQoc/EbSVMBkR4k0xXTwdSwaEP2
OpKGUUzGQEh1xRoNsbLFLCV3krlurzsuUb1mfElcci07bOdTLN60aARFhKoJn652
E76XRgIalwd0mX0FrLHn+RDIoAB1g09d4vSF6qJzUpwdSd+yQdj1RSLsH4CI1zPU
ieGx3SkfpNGGD7Duz/ZplKlDkuoZEDAt9S3EsOowt8aiv/6wnHjhdnMR6aPMizvl
AmjumND0jRdSjdnzO8wphqK9hFD7EcjeD2Hjc9PrZ/qlIB+40DxHPwe3/AnP6yUL
TPdhYokC9QglQkPI1ndL7atvxLCpfyMJGKtPHZ0FCIMN0F4R7VqH4AUGEIdhv1zl
1Q0pY+s623czzcX0R1zh
=G8pR
-----END PGP SIGNATURE-----


More information about the metrics-team mailing list