<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/main.rs, branch arti-v0.0.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2021-10-27T18:11:48Z</updated>
<entry>
<title>Improve and future-proof the `arti` CLI</title>
<updated>2021-10-27T18:11:48Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-10-27T16:40:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4fa0122dde2b664ebd10bfbe46da54c396dffdb3'/>
<id>urn:sha1:4fa0122dde2b664ebd10bfbe46da54c396dffdb3</id>
<content type='text'>
This switches out `arti`'s argument-parsing library with `clap`, which
is a lot more featureful (and very widely used within the Rust
ecosystem). We also now use a lot of `clap`'s features to improve the
CLI experience:

- The CLI now expects a subcommand (currently, either "help", or "proxy"
  for the existing SOCKS proxy behaviour). This should let us add
  additional non-SOCKS-proxy features to arti in future.
- `clap` supports default values determined at runtime, so the way the
  default config file is loaded was changed: now, we determine the
  OS-specific path for said file before invoking `clap`, so the help
  command can show it properly.
  - The behaviour of `tor_config` was also changed; now, one simply
    specifies a list of configuration files to load, together with
    whether they're required.
  - That function also way overused generics; this has been fixed.
- Instead of using the ARTI_LOG environment variable to configure
  logging, one now uses the `-l, --log-level` CLI option.
  (The intent is for this option to be more discoverable by users.)
- The `proxy` subcommand allows the user to override the SOCKS port used
  on the CLI without editing the config file.
</content>
</entry>
<entry>
<title>Update our disclaimers and limitations sections.</title>
<updated>2021-10-27T15:13:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-27T15:13:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=134c04a67adebff719011b608dabfa6da60ed247'/>
<id>urn:sha1:134c04a67adebff719011b608dabfa6da60ed247</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename tor_client/arti_tor_client to arti_client.</title>
<updated>2021-10-21T18:22:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-21T18:15:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7c7a388e287afa0e168d8d666da6649a5750b9b5'/>
<id>urn:sha1:7c7a388e287afa0e168d8d666da6649a5750b9b5</id>
<content type='text'>
Solves a name conflict with the existing tor_client create.

Closes #130.
</content>
</entry>
<entry>
<title>Fix most warnings from nightly.</title>
<updated>2021-10-19T20:21:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-19T20:21:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=445ec6d22053d3f76534844b6c02aefa1fbaedd7'/>
<id>urn:sha1:445ec6d22053d3f76534844b6c02aefa1fbaedd7</id>
<content type='text'>
(One represents code that I forgot to write.)
</content>
</entry>
<entry>
<title>Make elements of TorClientConfig private.</title>
<updated>2021-10-19T19:29:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-19T19:29:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d245147c7f8ff5171629e097fa852920bc8c224d'/>
<id>urn:sha1:d245147c7f8ff5171629e097fa852920bc8c224d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-client: refactor TorClient::bootstrap's args into a config object</title>
<updated>2021-10-19T18:59:25Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-10-19T16:26:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b42a6712c9ea5afcc401963bf1d01bbc1bd0d9b1'/>
<id>urn:sha1:b42a6712c9ea5afcc401963bf1d01bbc1bd0d9b1</id>
<content type='text'>
The three arguments TorClient::bootstrap requires by way of configuration
have been factored into a new TorClientConfig object.

This object gains two associated functions: one which uses `tor_config`'s
`CfgPath` machinery to generate sane defaults for the state and cache
directories, and one that accepts said directories in order to create a
config object with those inserted.

(this commit was inspired by trying to use arti as a library and being somewhat
overwhelmed by the amount of config stuff there was to do :p)
</content>
</entry>
<entry>
<title>Merge branch 'reject_bad_hostnames'</title>
<updated>2021-10-18T16:19:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-18T16:19:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a91884389d08044300223f8659bef4b207e39e16'/>
<id>urn:sha1:a91884389d08044300223f8659bef4b207e39e16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: On startup, increase the NOFILE resource limit.</title>
<updated>2021-10-14T17:25:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-14T17:25:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=81a5675c1b46adf487c6b19c73018fab6953f295'/>
<id>urn:sha1:81a5675c1b46adf487c6b19c73018fab6953f295</id>
<content type='text'>
The default soft limit is typically enough for process usage on most
Unixes, but OSX has a pretty low default (256), which you can run
into easily under heavy usage.

With this patch, we're going to aim for as much as 16384, if we're
allowed.

Fixes part of #188.
</content>
</entry>
<entry>
<title>Report errors in logging configuration a bit more usefully</title>
<updated>2021-10-13T16:53:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-13T16:53:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=13769dbc56fe4e329d2cc44275d2e0300ebfb091'/>
<id>urn:sha1:13769dbc56fe4e329d2cc44275d2e0300ebfb091</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document trace_filter example in main.rs too.</title>
<updated>2021-10-13T16:37:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-13T16:37:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7dd8af55d95531eec91f4b30a8e6760813226e2a'/>
<id>urn:sha1:7dd8af55d95531eec91f4b30a8e6760813226e2a</id>
<content type='text'>
</content>
</entry>
</feed>
