| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode().
svn:r11817
|
|
|
|
|
|
|
| |
Merge extra fields in local_routerstatus_t back into routerstatus_t. See changelog for rationale.
svn:r11799
|
|
|
|
|
|
|
| |
Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke.
svn:r11761
|
|
|
|
|
|
|
| |
Use descriptor annotations to record the source, download t time, and purpose of every descriptor we add to the store. The remaining to-do item is to stop setting do_not_cache on bridges.
svn:r11680
|
|
|
|
|
|
|
| |
Add getinfo status/good-server-descriptor and status/reachability-succeeded. Patch from Robert Hogan.
svn:r11483
|
|
|
|
|
|
|
| |
Fix a couple typos in control.c; spotted by Robert Hogan.
svn:r11440
|
|
|
|
|
|
|
| |
Another round of whitespeace fixes.
svn:r11407
|
|
|
|
|
|
| |
are set before use.
svn:r11390
|
|
|
|
|
|
|
| |
There is no good reason to make hashedcontrolpassword and cookieauthentication mutually exclusive. So let's not.
svn:r11377
|
|
|
|
|
|
|
| |
Make controllers accept LF as well as CRLF. Update spec to reflect this. Remove now-dead code. Make controller warning about v0 protocol more accurate.
svn:r11299
|
|
|
|
|
|
|
| |
Fix a bug in last patch; add support for getting extrainfo documents by the control port (since it is silly to tell tools to do it without actually giving them an interface).
svn:r11270
|
|
|
|
|
|
|
| |
Add a hacked-up GETINFO desc/all-recent-extrainfo-hack so that torstat can keep working with a minimum of fuss, until it learns about extrainfo documents.
svn:r11269
|
|
|
|
|
|
|
| |
circus music from here, perhaps we should move closer.
svn:r11256
|
|
|
|
|
|
|
|
| |
Make it possible to read the PROTOCOLINFO response in a way that
conforms to our control-spec. Reported by Matt Edman.
svn:r11251
|
|
|
|
|
|
|
| |
config functions to the controller.
svn:r11221
|
|
|
|
|
|
|
| |
try to print a NULL. Patch from tup.
svn:r11181
|
|
|
|
|
|
|
| |
Implement CookieAuthFile and CookieAuthFileGroupReadable. Backport candidate.
svn:r11141
|
|
|
|
|
|
|
| |
Implement proposal 119. Backport candidate.
svn:r11138
|
|
|
|
|
|
|
| |
Fix an XXXX020 and a few DOCDOCs.
svn:r11127
|
|
|
|
|
|
|
|
| |
more comfortable.
nick, can you confirm this?
svn:r11119
|
|
|
|
|
|
|
|
|
|
|
| |
- If we require CookieAuthentication but we fail to write the
cookie file, we would warn but not exit, and end up in a state
where no controller could authenticate. Now we exit.
- If we require CookieAuthentication, stop generating a new cookie
every time we change any piece of our config.
svn:r11117
|
|
|
|
| |
svn:r11018
|
|
|
|
|
|
|
| |
Close immediately after anything but a successful authentication attempt on the control port. Backport candidate.
svn:r11016
|
|
|
|
|
|
|
| |
More documentation
svn:r10992
|
|
|
|
|
|
|
| |
Make our control events for multi-line async replies conform to our old grammar. Change back to the old grammar (which got "corrected" in r10931).
svn:r10964
|
|
|
|
|
|
|
|
| |
Patch from tup: translate LFs to CRLFs in NS replies and
ensures the data section is properly terminated with "\r\n.\r\n
svn:r10932
|
|
|
|
|
|
|
| |
ADDRMAP events should never have specified local time. Extend them to have the proper gmt time, and make GETINFO address-mappings always do the right thing (since it is new in this version).
svn:r10930
|
|
|
|
|
|
|
| |
Apply patch from tup: remove extra space at the end of some circuit-status events, and stop translating CRLF to CRCRLF in control replies.
svn:r10845
|
|
|
|
|
|
|
| |
Patch from tup: new address-mappings/ GETINFO that includes expiry times.
svn:r10844
|
|
|
|
|
|
|
|
|
| |
Fix a potential crash bug when we load many server descriptors at
once and some of them make others of them obsolete. Fixes bug
458. [Bugfix on 0.1.2.x]
svn:r10832
|
|
|
|
|
|
|
| |
Man. I thought I removed that code.
svn:r10785
|
|
|
|
|
|
|
| |
Patch from tup: add GETINFO status/enough-dir-info
svn:r10782
|
|
|
|
|
|
|
| |
Get the RESOLVE controller code working.
svn:r10781
|
|
|
|
|
|
|
|
|
|
| |
fix copy-paste error in config message src/or/config.c . Apply
initial (but pared-down) version of launch-resolve-via-controller
patch from Robert Hogan.
svn:r10780
|
|
|
|
|
|
|
| |
Add a SOURCE_ADDR field to STREAM NEW events so that controllers can match requests to applications. (Patch from Robert Hogan.)
svn:r10639
|
|
|
|
|
|
|
| |
Make "authdir_newdesc rejected" work again.
svn:r10421
|
|
|
|
|
|
|
| |
Review XXXX comments without a version; upgrade some to XXXX020.
svn:r10315
|
|
|
|
|
|
|
| |
Make connection_array into a smartlist.
svn:r10292
|
|
|
|
|
|
|
| |
Use svn revisions consistently throughout all log messages.
svn:r10291
|
|
|
|
|
|
|
| |
Fix GCC warnings related to local parameters/variables getting shadowed.
svn:r10198
|
|
|
|
|
|
|
| |
Enable (and cope with) more GCC 4.2 warnings.
svn:r10196
|
|
|
|
|
|
|
| |
Be a lot smarter when parsing lists of routers and extrainfos.
svn:r10193
|
|
|
|
| |
svn:r10182
|
|
|
|
|
|
|
| |
Patch from shibz: implement a getinfo status/version/... so a controller can tell whether the current version is recommended, whether any versions are good, and how many authorities agree.
svn:r10162
|
|
|
|
| |
svn:r10120
|
|
|
|
|
|
|
| |
Backport candidate: correctly set the purpose of routers that are inserted by the controller with purpose=controller.
svn:r10071
|
|
|
|
|
|
|
| |
so we can exit from the middle of the circuit.
svn:r10056
|
|
|
|
| |
svn:r10022
|
|
|
|
|
|
|
| |
Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync.
svn:r9944
|
|
|
|
|
|
|
| |
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit.
svn:r9899
|