aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-12-15implement weasel's suggestion to fix the bug that newly bootstrappedRoger Dingledine
tor networks couldn't do hidden services until they had nodes with high uptime: if you're trying to pick a node for your circuit and you demand uptime or capacity and nothing works, then abandon your need for uptime and capacity. svn:r5589
2005-12-14When we mark a router as down, also mark its local_routerstatus as not ↵Nick Mathewson
running. This way, we do not use directories that are believed to be down. svn:r5587
2005-12-14Choose directory servers from routerstatus list, not from routerinfo list. ↵Nick Mathewson
This way, as soon was we have a networkstatus, we can ask a cache to give us routers, rather than needing to ask the directories. svn:r5586
2005-12-14Make hashtables use a little less space on 64-bit architectures.Nick Mathewson
svn:r5585
2005-12-14Shave off 8 bytes per connection and 4 bytes per circuit by paying attention ↵Nick Mathewson
to padding warnings, moving fields around, and acknowledging that we have no files with over 64 kilolines. svn:r5583
2005-12-14Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson
intended. svn:r5582
2005-12-14another possible patch related to circuit_free and memory stomping.Nick Mathewson
svn:r5580
2005-12-14Fix a potential memory stomp on servers running hidden services. Found by ↵Nick Mathewson
weasel with valgrind. Backport candidate. svn:r5579
2005-12-14orconn_identity_map was another static variable that startedRoger Dingledine
out NULL and didn't change until it needed to change. svn:r5578
2005-12-14sometimes, when we just started tor, we haven't created thatRoger Dingledine
smartlist yet. so don't free it. svn:r5577
2005-12-13bugfix: when we removed a dead helper node, we never committed thatRoger Dingledine
change to disk. svn:r5576
2005-12-12extendcircuit and attachstream would complain about not enoughRoger Dingledine
arguments, but then just keep on going anyway. svn:r5575
2005-12-12Have dirctory authorites note which servers make good V2 directory caches in ↵Nick Mathewson
publishe network-status. svn:r5574
2005-12-12Make directory authorities ignore router uploads that have only cosmetic ↵Nick Mathewson
differences: now regardless of version! svn:r5573
2005-12-11Don't use helper nodes for circuits with purpose 'testing'.Roger Dingledine
Also, when picking the helper node for a given circuit, exclude the circuit's exit from your choices. svn:r5569
2005-12-11when removing dead helpers, only write or_state to disk once at theRoger Dingledine
end, not for every helper you remove. svn:r5568
2005-12-11mark the helper node as down if we time-out on the circuit handshakeRoger Dingledine
with him. svn:r5567
2005-12-11don't mark the helper node as down when we fail to connect toRoger Dingledine
our https proxy. svn:r5566
2005-12-11fix yet another time comparison bug. we were abandoning helpersRoger Dingledine
as soon as they became unavailable. (is this true?) svn:r5565
2005-12-11fix an error in reporting why we abandoned a helper nodeRoger Dingledine
svn:r5564
2005-12-11choose helper nodes to have high capacity alwaysRoger Dingledine
svn:r5563
2005-12-11a first go at fixing a bug matt edman reported: when he triesRoger Dingledine
to "setconf log" via the controller, it is friendly and gives him a log to stdout, even though he didn't ask for one. svn:r5562
2005-12-11setconf orport=9001Roger Dingledine
513 Unrecognized option value it's not unrecognized. it's unacceptable. (in this case, i still have to consult the logs to figure out why, but at least i have an inkling that maybe i should.) svn:r5561
2005-12-11whenever we hupped or did a controller setconf, we were prependingRoger Dingledine
another reachableaddresses *:80,*:443 if fascistfirewall was set, and we were appending another reject *:* regardless. svn:r5560
2005-12-11i think fascistfirewall still has its uses. it's a synonymRoger Dingledine
for a certain reachableaddresses line, but it's easier to remember and people already understand it. i think we should think about undeprecating it. svn:r5559
2005-12-11bump to 0.1.1.10-alpha-cvsRoger Dingledine
svn:r5558
2005-12-10bump to 0.1.1.10-alphaRoger Dingledine
svn:r5553
2005-12-10explain why 0.1.1.9-alpha-cvs is a special version.Roger Dingledine
svn:r5552
2005-12-10when we changed from log_fn to debug/info/notice/warn/err,Roger Dingledine
we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551
2005-12-10crank the max line limit down to 150 chars.Roger Dingledine
svn:r5550
2005-12-09In my private little universe, terminals are still 80 columns. Impose a ↵Nick Mathewson
160-character-per-line limit; this will creep down. svn:r5548
2005-12-09Normalize whitespaceNick Mathewson
svn:r5547
2005-12-09For some bizarre reason, MSVC does not implement GCC extensions. Who would ↵Nick Mathewson
have thought? svn:r5546
2005-12-09util.c:1308: error: conflicting types for "is_internal_IP"Nick Mathewson
svn:r5545
2005-12-09let the user configure a sockslistenaddress on other private IPsRoger Dingledine
besides 127.x.y.z without complaining. and give a better message in the log. svn:r5544
2005-12-09let is_internal_IP() know whether you're asking about an IPRoger Dingledine
address for connecting or an IP address for binding, because in the latter, 0.0.0.0 is a special case. svn:r5543
2005-12-08Make code to handle "private" alias work when assume_action is set.Nick Mathewson
svn:r5542
2005-12-08when we're checking reachability, make it clearer in the logsRoger Dingledine
what to expect. svn:r5538
2005-12-08remove a redundant memcpy when extending to a new serverRoger Dingledine
and attaching circuits to it. svn:r5537
2005-12-08Oops. 0.0.0.0/8 and 169.254.0.0/16 are also special.Nick Mathewson
svn:r5536
2005-12-08Release memory from conn_circid_circuit_map on exit.Nick Mathewson
svn:r5535
2005-12-08Add private:* as an alias in configuration for policies.Nick Mathewson
svn:r5534
2005-12-08Warn when binding to a public address for socks. This warning needs to be ↵Nick Mathewson
improved. Also, make options_validate() only warn when an option is changed to a bad value.. (Previously, it warned when an option was bad and any option was changed.) svn:r5532
2005-12-08Document CREATE_FAST better in the code. Move our key expansion algorithm ↵Nick Mathewson
into a separate function in crypto.c svn:r5530
2005-12-08Whitespace normalizationNick Mathewson
svn:r5528
2005-12-08Do not free a constant string.Nick Mathewson
svn:r5527
2005-12-07Make clients use CREATE_FAST cells. add an option to disable this.Nick Mathewson
svn:r5524
2005-12-07fix typo noticed by scrimblyRoger Dingledine
svn:r5522
2005-12-07what the heck is wrong with this little piece of code?Roger Dingledine
why can none of us get it right? it looks so simple. svn:r5521
2005-12-06tell the controller about new .onion streams too.Roger Dingledine
svn:r5520