summaryrefslogtreecommitdiff
path: root/src/app
AgeCommit message (Collapse)Author
2018-09-14Merge branch 'maint-0.3.4'Nick Mathewson
2018-09-13Run crypto_prefork() before start_daemon().Nick Mathewson
Without this, RunAsDaemon breaks NSS. Fixes bug 27664; bug not in any released Tor.
2018-09-12Merge branch 'pr278_squashed'Nick Mathewson
2018-09-12Always close old listeners in retry_all_listenersrl1987
2018-09-12Merge remote-tracking branch 'tor-github/pr/318'Nick Mathewson
2018-09-08make ipv6-only config complaint clearerRoger Dingledine
(a relay operator hit this on #tor-relays and couldn't make sense of it. i couldn't either until i went to go read the code.)
2018-09-07Merge remote-tracking branch 'dgoulet/ticket20700_035_03'Nick Mathewson
2018-09-07hs-v3: Load client authorization secret key from fileSuphanat Chunhapanya
The new ClientOnionAuthDir option is introduced which is where tor looks to find the HS v3 client authorization files containing the client private key material. Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-09-04Merge branch 'nss_squashed' into nss_mergeNick Mathewson
2018-09-04Merge branch 'tor_api_owning_control'Nick Mathewson
2018-09-03app/config: reject non-UTF-8 ContactInfocypherpunks
Closes ticket #27428.
2018-08-28Merge branch 'bug26367_035_01'Nick Mathewson
2018-08-28hs: Render obsolete Tor2webDavid Goulet
Remove support for Tor2web in the code and build system. At this commit, tor doesn't have Tor2web support anymore. Ref: https://lists.torproject.org/pipermail/tor-dev/2018-July/013295.html Close #26367 Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-08-28Merge remote-tracking branch 'tor-github/pr/245'Nick Mathewson
2018-08-23Update the message logged on relays when DirCache is disabledteor
Since 0.3.3.5-rc, authorities require DirCache (V2Dir) for the Guard flag. Fixes bug 24312; bugfix on 0.3.3.5-rc.
2018-08-23Change the wording of the DirCache warningDominique Ingoglia
2018-08-21When enabling NSS, disable OpenSSL.Nick Mathewson
We used to link both libraries at once, but now that I'm working on TLS, there's nothing left to keep OpenSSL around for when NSS is enabled. Note that this patch causes a couple of places that still assumed OpenSSL to be disabled when NSS is enabled - tor-gencert - pbkdf2
2018-08-08Call crypto_postfork on start_daemon() instead.Nick Mathewson
2018-08-08When RunAsDaemon is set, crypto_postfork() as neededNick Mathewson
2018-08-01Convert __OwningControllerFD to a 64-bit valueNick Mathewson
This lets us potentially use it for internal passing of windows sockets.
2018-07-31Merge branch 'nss_dh_squashed' into nss_dh_squashed_mergedNick Mathewson
2018-07-30Merge remote-tracking branch 'juga/ticket3723_03_squashed_rebased'Nick Mathewson
2018-07-20Don't prepend reject *:* to Reachable(OR/Dir)Addresses in options_validate()Neel Chauhan
2018-07-19Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-18Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-16Add the Bandwidth List file headers to votesjuga0
* add bwlist_headers argument to dirserv_read_measured_bandwidth in order to store all the headers found when parsing the file * add bwlist_headers to networkstatus_t in order to store the the headers found by the previous function * include the bandwidth headers as string in vote documents * add test to check that dirserv_read_measured_bandwidth generates the bwlist_headers
2018-07-12Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-12Merge remote-tracking branch 'imnotbad/bug26663'Nick Mathewson
2018-07-11Make our crypto library symbolic in the makefiles.Nick Mathewson
2018-07-11Move all use cases of micro-revision.i to a single placeNick Mathewson
That place is git-revision.c; git-revision.c now lives in lib/log. Also fix the compilation rules so that all object files that need micro-revision.i depend on it.
2018-07-10Isolate resolve.h usage in the modules that really need it.Nick Mathewson
(Almost none of Tor should actually need to touch the platform resolver.)
2018-07-10Remove all users of addr_port_lookup outside of address.cNick Mathewson
This function has a nasty API, since whether or not it invokes the resolver depends on whether one of its arguments is NULL. That's a good way for accidents to happen. This patch incidentally makes tor-resolve support socks hosts on IPv6.
2018-07-10Document the headers in src/app/config/Nick Mathewson
2018-07-09Merge branch 'bug26488'Nick Mathewson
2018-07-08Made 'auto' keyword in torrc case insensitiveKaidan
2018-07-06Move ntmain.c into libtor-app againNick Mathewson
It's needed by main.c Fixes bug 26662; bug not in any released Tor.
2018-07-05Fix every include path changed in the previous commit (automated)Nick Mathewson
I am very glad to have written this script.
2018-07-05Move literally everything out of src/orNick Mathewson
This commit won't build yet -- it just puts everything in a slightly more logical place. The reasoning here is that "src/core" will hold the stuff that every (or nearly every) tor instance will need in order to do onion routing. Other features (including some necessary ones) will live in "src/feature". The "src/app" directory will hold the stuff needed to have Tor be an application you can actually run. This commit DOES NOT refactor the former contents of src/or into a logical set of acyclic libraries, or change any code at all. That will have to come in the future. We will continue to move things around and split them in the future, but I hope this lays a reasonable groundwork for doing so.
2018-07-05Start splitting src/orNick Mathewson
This is a very gentle commit that just lays the groundwork in the build system: it puts the include files to build libtor-app.a into src/core, and to build the tor executable into src/app. The executable is now "src/app/tor".