summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2008-12-17Resolve many DOCDOCs.Nick Mathewson
svn:r17662
2008-12-17Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig.Nick Mathewson
(Many users have no idea what a resolv.conf is, and shouldn't be forced to learn. The old option will keep working for now.) Also, document it. svn:r17661
2008-12-17declare that we're putting out 0.2.1.9-alpha next weekRoger Dingledine
svn:r17659
2008-12-17Clip the MaxCircuitDirtiness config option to a minimum of 10Roger Dingledine
seconds. Warn the user if lower values are given in the configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian. Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the user if lower values are given in the configuration. Bugfix on 0.1.1.17-rc. Patch by Sebastian. svn:r17657
2008-12-17Make return code from router_add_to_routerlist a nice sensible enum. Based ↵Nick Mathewson
on patch from Sebastian. svn:r17656
2008-12-17Rename a couple of v2-networkstatus-only fields so that it is clear they are ↵Nick Mathewson
v2-networkstatus-only. svn:r17652
2008-12-17Use ctags and a python script to find identifiers that are never used ↵Nick Mathewson
anywhere, and remove the ones that we really want gone. svn:r17651
2008-12-17Whitespace fix.Nick Mathewson
svn:r17650
2008-12-17Add some missing documentation in or.hNick Mathewson
svn:r17649
2008-12-17Make ALLOW_INVALID_* into an enum.Nick Mathewson
svn:r17648
2008-12-17Remove the no-longer-used incoming_cmd_type field from control_connection_t.Nick Mathewson
svn:r17647
2008-12-17Change CELL_DIRECTION_* to an enum.Nick Mathewson
svn:r17646
2008-12-17Oops; remove extraneous comma.Nick Mathewson
svn:r17644
2008-12-17Move edge-only flags from connection_t to edge_connection_t.Nick Mathewson
svn:r17643
2008-12-17Rename or_is_obsolete and move it to or_connection_t where it belongs.Nick Mathewson
svn:r17642
2008-12-15Don't extend circuits over noncanonical connections with mismatched addresses.Nick Mathewson
Also, refactor the logic to check whether we will use a connection or launch a new one into a new function. svn:r17628
2008-12-15Apply rovv's bug 805 fix: take more care never to prefer a non-canonical ↵Nick Mathewson
connection. svn:r17627
2008-12-14When a stream at an exit relay is in state "resolving" orRoger Dingledine
"connecting" and it receives an "end" relay cell, the exit relay would silently ignore the end cell and not close the stream. If the client never closes the circuit, then the exit relay never closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha; reported by "wood". svn:r17625
2008-12-14comment tweakRoger Dingledine
svn:r17624
2008-12-12Implement proposal 148: Make client stream end reasons uniform.Nick Mathewson
This patch makes every RELAY_COMMAND_END cell that we send pass through one of two functions: connection_edge_end and relay_send_end_cell_from_edge. Both of these functions check the circuit purpose, and change the reason to MISC if the circuit purpose means that it's for client use. svn:r17612
2008-12-12Implement the /tor/keys/fp-sk/ URL format. That mostly finishes the server ↵Nick Mathewson
side of 157. svn:r17611
2008-12-12Add cross-certification to authority key certificates. Partial ↵Nick Mathewson
implementation of proposal 157. svn:r17610
2008-12-11Do not discard sign on return values of iv crypto functions in tests. May ↵Nick Mathewson
fix CID 9. Might not. svn:r17603
2008-12-11Note that a couple of line in control.c are supposed to be dead-code.Nick Mathewson
I'm hoping not to have to litter the rest of our codebase with Coverity ignores, but I think these are the only one we need right now. svn:r17602
2008-12-11If we are building under Coverity, enable geoip_stats and instrument_downloads.Nick Mathewson
This makes sure that a) optional code gets analyzed too, and b) it doesn't look like dead code to Coverity. svn:r17601
2008-12-11Fix two more unit-test bugs (deadcode this time) spotted by Coverity run 7.Nick Mathewson
CIDs == 357, 356. svn:r17599
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-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-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-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-09Add a new status event for consensus arrivalNick Mathewson
svn:r17535
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