summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-12-11Now that tor_assert is no longer using a broken force-to-boolean ↵Nick Mathewson
formulation, we can tor_assert a bitfield without a gcc compile error. svn:r17598
2008-12-11Remove some cargo-cult gcc hacks around tor_assert and predict_unlikely; ↵Nick Mathewson
instead, use the standard convert-to-boolean hack of "svn st" svn:r17597
2008-12-11Fix error in last unit test mem-leak-fixing.Nick Mathewson
svn:r17596
2008-12-11Refactor find_first_by_keyword into one variant that can return NULL and one ↵Nick Mathewson
that can't. This makes it easier for us to avoid errors where we we forgot to list a keyword as mandatory, and easier for Coverity to detect cases like this too. svn:r17595
2008-12-11Avoid multiple descriptor-fetch connections to authorities. Fixes bug 366.Nick Mathewson
svn:r17594
2008-12-11Add a PDS_ flag to exclude authorities from which we are fetching descs.Nick Mathewson
Yes, this is maybe a little overspecific. Part of a bug 366 fix. svn:r17593
2008-12-11Change directory_get_from_dirserver to take a set of flags to be passed to ↵Nick Mathewson
pick_(trusted_)dirserver. This lets us make its interface smarter, and makes code that calls it a little more readable. svn:r17592
2008-12-11Fix wide line in main.cNick Mathewson
svn:r17587
2008-12-11Add experimental support for learning svn revision number in git-svn based ↵Nick Mathewson
repositories. Fancy. svn:r17581
2008-12-11Fix memory leaks in test_util_smartlist_* functions.Nick Mathewson
svn:r17580
2008-12-11Fix memory leaks in test_v3_networkstatus.Nick Mathewson
svn:r17579
2008-12-11Fix memory leaks in test_dir_formatNick Mathewson
svn:r17578
2008-12-11Change test_memeq macro to not leak memory. Addresses coverity CID 47.Nick Mathewson
svn:r17577
2008-12-10Fix a logic error that would automatically reject all but the first ↵Nick Mathewson
configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for part of 813/868. Spotted by coderman svn:r17569
2008-12-10Add new internal-use-only option for controllers to use to prevent SIGHUP ↵Nick Mathewson
from reloading the configuration. Fixes bug 856. svn:r17567
2008-12-10Bug 691 fix: do not shutdown Tor servers right away if the network is down.Nick Mathewson
svn:r17566
2008-12-10Apply patch from Karsten to fix bug 879. Backport candidate.Nick Mathewson
svn:r17562
2008-12-10Give a better error when something has changed our descriptor cache out from ↵Nick Mathewson
under us. Based on patch from Karsten. Addresses bug 885. svn:r17550
2008-12-10When a directory authority gives us a new guess for our IP address, Roger Dingledine
log which authority we used. Hopefully this will help us debug the recent complaints about bad IP address guesses. svn:r17549
2008-12-10note a potential bug in status events. need to look at spec toRoger Dingledine
see if it's really a bug. svn:r17548
2008-12-10Resume using the correct "REASON=" stream when telling theRoger Dingledine
controller why we closed a stream. Bugfix in 0.2.1.1-alpha. svn:r17547
2008-12-09Better error message when told to setuid to ourself.Nick Mathewson
svn:r17543
2008-12-09remove a bogus comment. Now that there is no undocumented synonym for ↵Nick Mathewson
EXTENDED_EVENTS, we do not need to point out that EXTENDED_EVENTS is documented svn:r17542
2008-12-09Finally remove deprecated-since-0.1.2.4-alpha EXTENDED_FORMAT synonym for ↵Nick Mathewson
EXTENDED_EVENTS svn:r17538
2008-12-09Bump version to 0.2.1.8-alpha-devNick Mathewson
svn:r17537
2008-12-09Add a new status event for consensus arrivalNick Mathewson
svn:r17535
2008-12-08Compile without warnings on mingw.tor-0.2.1.8-alphaNick Mathewson
svn:r17522
2008-12-08bump to 0.2.1.8-alphaRoger Dingledine
svn:r17521
2008-12-08Mark DirPortFrontPage as a FILENAME rather than a STRING. Right now this ↵Nick Mathewson
has no effect. svn:r17520
2008-12-08this function is no longer used.Roger Dingledine
svn:r17515
2008-12-08When the client is choosing entry guards, now it selects at mostRoger Dingledine
one guard from a given relay family. Otherwise we could end up with all of our entry points into the network run by the same operator. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha. Not a backport candidate, since I think this might break for users who only have a given /16 in their reachableaddresses, or something like that. svn:r17514
2008-12-07Directory mirrors no longer fetch the v1 directory orRoger Dingledine
running-routers files. They are obsolete, and nobody asks for them anymore. This is the first step to making v1 authorities obsolete. svn:r17513
2008-12-07Small whitespace fix to properly format if () {} statement.Jacob Appelbaum
svn:r17503
2008-12-07This helps return a better error message when the file supplied to ↵Jacob Appelbaum
DirPortFrontPage is missing. svn:r17502
2008-12-07cleanups on r17500Roger Dingledine
svn:r17501
2008-12-07New DirPortFrontPage option that takes an html file and publishes it as "/" ↵Jacob Appelbaum
on the DirPort. Now relay operators can provide a disclaimer without needin to set up a separate webserver. There's a sample disclaimer in contrib/tor-exit-notice.html. svn:r17500
2008-12-07Add comment clarifying OpenSSL usage.Jacob Appelbaum
svn:r17498
2008-12-05Try to fix windows mmap code.Nick Mathewson
svn:r17493
2008-12-05Fix more leaks in test_util_memarea().Nick Mathewson
svn:r17491
2008-12-05Simplify mmap object layout to avoid confusing static analysis tools, and us ↵Nick Mathewson
too. svn:r17490
2008-12-05Fix a resource leak in test_dir_formats()Nick Mathewson
svn:r17488
2008-12-05Split test_util_smartlist into manageable chunks; make them free memory ↵Nick Mathewson
properly. svn:r17487
2008-12-05Add a few more tests to our tests so that our tests make sense to coverity. ↵Nick Mathewson
CIDs 139, 138, 137. svn:r17486
2008-12-05Add a couple of sanity-checks for return values that coverity thinks we ↵Nick Mathewson
ought to have. CIDs 337, 335. svn:r17485
2008-12-05Fix a hard-to-trigger memory leak in log_credential status. Found by ↵Nick Mathewson
Coverity scan. CID 349. svn:r17484
2008-12-03fix bug 880: find the end of an authority cert by looking for the first ↵Nick Mathewson
----END SIGNATURE----- after the first dir-key-certification, not for the first ----END SIGNATURE. Harmless bug, but it made us non-spec-compliant. svn:r17470
2008-12-02Do not use O_APPEND on fd-based operations that do not really want it; have ↵Nick Mathewson
them just lseek instead. svn:r17460
2008-12-02style cleanupRoger Dingledine
svn:r17457
2008-12-02Change logging code to use fds instead of stdio. Fixes bug 861, and ↵Nick Mathewson
probably makes logging slightly faster. Not a backport candidate: bug 861 is too obscure and harmless. svn:r17456
2008-12-02Add two lseek wrappers to compat.[ch]: one to return current fd position, ↵Nick Mathewson
and one to move the fd to the end of the file. svn:r17454