summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-03-27that extra punctuation distracts meRoger Dingledine
svn:r6250
2006-03-27re-order to avoid free-then-use. Thank goodness tor_free() zeroes things.Nick Mathewson
svn:r6249
2006-03-27Oops. We may not have a networkstatus list when we first parse the cached ↵Nick Mathewson
routers. svn:r6248
2006-03-27Fix for "but need_to_mirror=1" annoyance; is bug 273 fixed?Nick Mathewson
svn:r6247
2006-03-27Refactor and consolidate addr/exit policies into a new policies.c.Roger Dingledine
Fix some minor bugs and memory leaks along the way. svn:r6246
2006-03-26remove obsolete address policy codeRoger Dingledine
svn:r6243
2006-03-26also send syntax and parse errors back to the controller.Roger Dingledine
svn:r6242
2006-03-26When the controller's *setconf commands fail, collect an error messageRoger Dingledine
in a string and hand it back. This starts to resolve bug 275. svn:r6241
2006-03-26clean up the traces from tracking the 0.1.1.9-alpha stack-smashing bug.Roger Dingledine
svn:r6240
2006-03-26failing in a support function is a warn, not an err.Roger Dingledine
svn:r6239
2006-03-25Say private address instead of internal address.Peter Palfrader
Both are wrong or at least not entirely correct but nobody would understand "special-use address as listed in RFC3330" I guess. svn:r6236
2006-03-24fix a wordo, don't be so quick to yell at servers, and ask a question.Roger Dingledine
svn:r6235
2006-03-24bump up the magic number for how quickly we start notifyingRoger Dingledine
a server that it's unreachable. svn:r6234
2006-03-24Check return value from GetVersionEx (even though the MSDN example doesnt) ↵Nick Mathewson
and zero out the LPOSVERSIONINFOEX struct before getting the version. This may fix the "johnboy" [major=-858993460,minor=-858993460] problem. svn:r6233
2006-03-23Note a magic 2 that probably should be replaced now that we have more dirserversPeter Palfrader
svn:r6232
2006-03-22update getinfo info/names to reflect that we now supportRoger Dingledine
getinfo dir/server/* svn:r6231
2006-03-22Resolve problem found by weasel: the v1 directory was includingRoger Dingledine
servers as much as 48 hours old, because that's how the new routerlist->routers works. Now only include them if they're 20 hours old or less. svn:r6230
2006-03-22Maybe it compiles for devilproxy nowPeter Palfrader
svn:r6229
2006-03-22Note a vulnerability with our current recommended-version concensusRoger Dingledine
building. Make the warnings about invalid and unnamed nodes scale better, and update the text of the warnings. Change router_have_minimum_dir_info() to only be happy when it has enough network-statuses ("more than half") to be willing to actually build circuits. Not yet done: when we fail to get a networkstatus that we wanted, and !router_have_minimum_dir_info(), we should retry it quicker than a whole minute from now. svn:r6227
2006-03-22stop caching the v1 directory so often.Roger Dingledine
svn:r6226
2006-03-22whoops. inform circuits again when we failed to connect to theirRoger Dingledine
first hop, so they don't have to time out. svn:r6225
2006-03-22stop writing the "router.desc" file, ever. nothing uses it anymore.Roger Dingledine
svn:r6224
2006-03-22Log server fingerprint on startupPeter Palfrader
svn:r6223
2006-03-22parameterize two more timeout constants in circuit-land.Roger Dingledine
svn:r6220
2006-03-22freeing is not the same as setting to nullRoger Dingledine
svn:r6219
2006-03-21new config option SocksTimeout: How long do we let a socks connectionRoger Dingledine
wait unattached before we fail it? Use this value for controller socks timeout, for normal socks timeout, and for hidden-service socks timeout. svn:r6217
2006-03-21and dirservers don't call you a guard if you're running aRoger Dingledine
buggy version either. svn:r6216
2006-03-21when upgrading to newer versions, throw away entry guardsRoger Dingledine
picked by the old wrong algorithms. svn:r6215
2006-03-21don't call circuit_n_conn_done() if the closing conn is already open.Roger Dingledine
svn:r6214
2006-03-21Bugfix: looks like clients since 0.1.1.10-alpha have beenRoger Dingledine
expiring connections whenever 5 minutes pass and they *do* have circuits on them. svn:r6213
2006-03-21Be more patient before giving up on in-progress circuits.Roger Dingledine
I have absolutely no idea if this change helps or hurts. Somebody should study this. svn:r6212
2006-03-21Fix memory leak when uncompressing concatenated zlib streams. Unit tests and ↵Nick Mathewson
tor client work; looks ok. svn:r6211
2006-03-21put lefkada on port 80, officially.Roger Dingledine
svn:r6209
2006-03-21Point out a potential DoS flaw in caching untrusted networkRoger Dingledine
statuses to disk. We should resolve sometime. svn:r6206
2006-03-21add lefkada as a fourth auth dir server.Roger Dingledine
svn:r6205
2006-03-20Make guard bandwidth threshold higher than fast bandwidth threshold.Nick Mathewson
svn:r6204
2006-03-20Make "Fast" based on median capacity, just like "Stable" is based on median ↵Nick Mathewson
uptime. svn:r6203
2006-03-20ok, commenting that out broke things real bad.Roger Dingledine
leave it, and accept the memory leak for now. svn:r6201
2006-03-20Resolve a memory leak on clients. This disables someRoger Dingledine
functionality that we might still want. Nick? svn:r6200
2006-03-19bump to 0.1.1.16-rc-cvs so we can start fixing more bugsRoger Dingledine
svn:r6197
2006-03-19which brings us to 0.1.1.16-rctor-0.1.1.16-rcRoger Dingledine
svn:r6195
2006-03-19Allow non-printable characters for exit streams (both forRoger Dingledine
connecting and for resolving). Now we tolerate applications that don't follow the RFCs. But continue to block malformed names at the socks side. svn:r6193
2006-03-19i'm a little teapot, short and stoutRoger Dingledine
svn:r6192
2006-03-19Implement Jason Holt's SafeSocks config option.Roger Dingledine
Also put a URL in the warning message for unsafe socks4 use -- previously we'd only had the URL for unsafe socks5 use. Oops. svn:r6190
2006-03-19Finish the transition from the word 'verified' to the wordsRoger Dingledine
'named' and 'valid'. svn:r6188
2006-03-18simplify when we're picking a default address forRoger Dingledine
when people ask for "serifos.exit". svn:r6187
2006-03-18make it so there is one place to edit for new dirservers, not two.Roger Dingledine
svn:r6186
2006-03-18fix some typosRoger Dingledine
svn:r6185
2006-03-18authdirs shouldn't complain about unreachability when theyRoger Dingledine
fetch a descriptor from somebody else. this is not the right time to increment the failure count. svn:r6184
2006-03-18auth dir servers were only modifying a server's is_running fieldRoger Dingledine
when they created a network status. so if nobody asked for a network status, they would never discover that any servers are is_running, so they could never build a circuit. svn:r6183