aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-16
|\
| * Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-05-16
| |\ | | | | | | | | | | | | | | | | | | | | | Fixed trivial conflict due to headers moving into their own .h files from or.h. Conflicts: src/or/or.h
| | * squash! Add crypto_pk_check_key_public_exponent functionNick Mathewson2011-05-16
| | | | | | | | | | | | | | | | | | Rename crypto_pk_check_key_public_exponent to crypto_pk_public_exponent_ok: it's nice to name predicates s.t. you can tell how to interpret true and false.
| | * Require that certain public keys have public exponent 65537Robert Ransom2011-05-16
| | |
| | * Add crypto_pk_check_key_public_exponent functionRobert Ransom2011-05-16
| | |
| | * Check fetched rendezvous descriptors' service IDsRobert Ransom2011-05-16
| | |
* | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-16
|\| | | | | | | | | | | | | | Conflicts: src/or/connection.c
| * | Merge remote-tracking branch 'public/bug2850' into maint-0.2.2Nick Mathewson2011-05-16
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a trivial conflict where this and the ControlSocketGroupWritable code both added different functions to the same part of connection.c. Conflicts: src/or/connection.c
| | * | Set SO_REUSEADDR on all sockets, not just listenersNick Mathewson2011-05-03
| | | | | | | | | | | | | | | | | | | | | | | | See bug 2850 for rationale: it appears that on some busy exits, the OS decides that every single port is now unusable because they have been all used too recently.
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-15
|\| | |
| * | | Increase the length of the buffer in smartlist_string_num_isin().Nick Mathewson2011-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was harmless, since we only used this for checking for lists of port values, but it's the principle of the thing. Fixes 3175; bugfix on 0.1.0.1-rc
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-15
|\| | |
| * | | Merge branch 'bug2972' into maint-0.2.2Nick Mathewson2011-05-15
| |\ \ \
| | * | | Make check_private_dir check for group ownership as appropriateNick Mathewson2011-05-15
| | | | |
| | * | | Fix up some comment issues spotted by rransomNick Mathewson2011-05-15
| | | | |
| | * | | Check permissions on the directory holding a control socketNick Mathewson2011-05-15
| | | | |
| | * | | Add a new flag to check_private_dir to make it _not_ change permissionsNick Mathewson2011-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We'll need this for checking permissions on the directories that hold control sockets: if somebody says "ControlSocket ~/foo", it would be pretty rude to do a chmod 700 on their homedir.
| | * | | Add a function to pull off the final component of a pathNick Mathewson2011-05-15
| | | | |
| | * | | Make check_private_dir accept g+rx dirs if told to do so.Nick Mathewson2011-05-15
| | | | |
| | * | | Clean up the 2972 implementation a littleSebastian Hahn2011-05-15
| | | | |
| | * | | Add UnixSocketsGroupWritable config flagJérémy Bobbio2011-05-15
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running a system-wide instance of Tor on Unix-like systems, having a ControlSocket is a quite handy mechanism to access Tor control channel. But it would be easier if access to the Unix domain socket can be granted by making control users members of the group running the Tor process. This change introduces a UnixSocketsGroupWritable option, which will create Unix domain sockets (and thus ControlSocket) 'g+rw'. This allows ControlSocket to offer same access control measures than ControlPort+CookieAuthFileGroupReadable. See <http://bugs.debian.org/552556> for more details.
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-15
|\| | | | | | | | | | | | | | | | | | | Conflicts: src/or/circuitbuild.h
| * | | Preserve bridge download status across SETCONF, HUPNick Mathewson2011-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code changes it so that we don't remove bridges immediately when we start re-parsing our configuration. Instead, we mark them all, and remove all the marked ones after re-parsing our bridge lines. As we add a bridge, we see if it's already in the list. If so, we just unmark it. This new behavior will lose the property we used to have that bridges were in bridge_list in the same order in which they appeared in the torrc. I took a quick look through the code, and I'm pretty sure we didn't actually depend on that anywhere. This is for bug 3019; it's a fix on 0.2.0.3-alpha.
* | | | Fixup whitespace issues from 3122 commit in 0.2.3Nick Mathewson2011-05-15
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-15
|\| | |
| * | | Fixup whitespace issues from 3122 commitNick Mathewson2011-05-15
| | | |
| * | | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-05-15
| |\ \ \ | | | |/ | | |/| | | | | | | | | Conflicts: src/or/networkstatus.c
| | * | Fixup whitespace issues from 3122 commitNick Mathewson2011-05-15
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-15
|\| | |
| * | | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-05-15
| |\| |
| | * | Another doc tweak on tor_memcmp: <b>b</b>, not <b>.Nick Mathewson2011-05-15
| | | |
| | * | minor tweaks to 4b19730c8234dRoger Dingledine2011-05-15
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-15
|\| | |
| * | | Merge branch 'bug3026' into maint-0.2.2Nick Mathewson2011-05-15
| |\ \ \
| | * | | bug 3026: do not upload our vote to ourselfNick Mathewson2011-05-12
| | | | |
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-15
|\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/connection_edge.c
| * | | | Replace a nasty add-malloc-snprintf with a nice clean asprintfNick Mathewson2011-05-15
| | | | |
| * | | | Merge branch 'bug1345' into maint-0.2.2Nick Mathewson2011-05-15
| |\ \ \ \
| | * | | | Better doc for consider_recording_trackexithostNick Mathewson2011-05-15
| | | | | |
| | * | | | Handle transitions in Automap*, VirtualAddrNetwork correctlyNick Mathewson2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if they changed in torrc during a SIGHUP, all was well, since we would just clear all transient entries from the addrmap thanks to bug 1345. But if you changed them from the controller, Tor would leave old mappings in place. The VirtualAddrNetwork bug has been here since 0.1.1.19-rc; the AutomapHosts* bug has been here since 0.2.0.1-alpha.
| | * | | | When TrackExitHosts changes, remove all no-longer-valid mappingsNick Mathewson2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug couldn't happen when TrackExitHosts changed in torrc, since the SIGHUP to reload the torrc would clear out all the transient addressmap entries before. But if you used SETCONF to change TrackExitHosts, old entries would be left alone: that's a bug, and so this is a bugfix on Tor 0.1.0.1-rc.
| | * | | | Raise the TrackHostExits membership code into its own functionNick Mathewson2011-05-13
| | | | | |
| | * | | | Don't clear out transient addressmap entries on HUPNick Mathewson2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you really want to purge the client DNS cache, the TrackHostExits mappings, and the virtual address mappings, you should be using NEWNYM instead. Fixes bug 1345; bugfix on Tor 0.1.0.1-rc. Note that this needs more work: now that we aren't nuking the transient addressmap entries on HUP, we need to make sure that configuration changes to VirtualAddressMap and TrackHostExits actually have a reasonable effect.
| | * | | | New smartlist function to see if two lists of strings are equal.Nick Mathewson2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | We'll use this to detect changes in CSV options.
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/routerlist.c
| * | | | | Merge branch 'bug2732-simpler' into maint-0.2.2Nick Mathewson2011-05-15
| |\ \ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Rip out more of hid_serv_acting_as_directoryNick Mathewson2011-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rransom notes correctly that now that we aren't checking our HSDir flag, we have no actual reason to check whether we are listed in the consensus at all when determining if we should act like a hidden service directory.
| | * | | | Accept hs descriptors even if we don't see an HSDir for usNick Mathewson2011-05-12
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old behavior contributed to unreliability when hidden services and hsdirs had different consensus versions, and so had different opinions about who should be cacheing hsdir info. Bugfix on 0.2.0.10-alpha; based on discussions surrounding bug 2732.
* | | | | Add a changes file for bug3183.Nick Mathewson2011-05-15
| | | | |
* | | | | Merge remote-tracking branch 'asn-mytor/heartbeat'Nick Mathewson2011-05-15
|\ \ \ \ \