aboutsummaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2006-06-18write_to_buf != connection_write_to_buf. Also, add a ↵Nick Mathewson
connection_write_to_buf_zlib wrapper that sucks. svn:r6650
2006-06-18Temporarily disable sentinels on buffersNick Mathewson
svn:r6649
2006-06-18make zlib buffer function set buf_highwater properlyNick Mathewson
svn:r6648
2006-06-18Stop trying to refresh when we are out of data.Nick Mathewson
svn:r6647
2006-06-18And actually check the url when it exists. that might work better.Nick Mathewson
svn:r6646
2006-06-18That dir_refresh_src fix will only work if I enable it.Nick Mathewson
svn:r6645
2006-06-18Fix a couple of bugs in last patch.Nick Mathewson
svn:r6644
2006-06-18add coverage for a default caseNick Mathewson
svn:r6643
2006-06-18Oops. conn->requested_resource is client only.Nick Mathewson
svn:r6642
2006-06-18Instead of adding servers and v1 directories to buffers en masse, directory ↵Nick Mathewson
servers add them on the fly as their outbufs are depleted. This will save ram on busy dirservers. svn:r6641
2006-06-18Add tests for several of the more recently committed functions.Nick Mathewson
svn:r6639
2006-06-18Part of incremental encryption logic for buffers: there is a subtle yucky ↵Nick Mathewson
point documented in a comment. svn:r6637
2006-06-15And a minor bugfix to the weaselhackPeter Palfrader
svn:r6629
2006-06-15fix spacingRoger Dingledine
svn:r6628
2006-06-15Add a /tor/dir-all-weaselhack directory resource so I do not have to update ↵Peter Palfrader
my scripts svn:r6627
2006-06-15lower the number of seconds before we yell about clock jump.Roger Dingledine
and make the yelling only happen if you're a server. svn:r6625
2006-06-14upgrade the severity of the 'clock jump' warn, and ask peopleRoger Dingledine
to report if it occurs. svn:r6623
2006-06-14bugfix: discourage picking directory authorities as our TestViaRoger Dingledine
hops, even if they're running the right versions, since we probably already have a connection established to them. svn:r6622
2006-06-13eventdns: Apply a couple of patches from AGL; start working on windows ↵Nick Mathewson
compat; note some TODOs. svn:r6621
2006-06-13back off and add the $ at the beginning of the preferrednodes listRoger Dingledine
we generate. svn:r6620
2006-06-13be more lax about recognizing valid hexdigests.Roger Dingledine
svn:r6619
2006-06-13now we can tell dirserv_dump_directory_to_string() whether we wantRoger Dingledine
it to include down/invalid descriptors or not. svn:r6618
2006-06-13bugfix in exit_policy_is_general_exit() that weasel found.Roger Dingledine
this time for sure! svn:r6617
2006-06-13first cut at a workaround for the reachability bug: explicitly find aRoger Dingledine
server running the right version, if we can, and ask for that one. svn:r6616
2006-06-13export the default exit policy via the control port, so controllersRoger Dingledine
don't need to guess what it is / will be later. svn:r6615
2006-06-13Defense in depth: fix the reachability bug a second way too.Roger Dingledine
Now if we establish a connection with the right digest, regardless of what the addr/port is, and we have pending create cells, use it. svn:r6614
2006-06-13harmless typoRoger Dingledine
svn:r6613
2006-06-13Fix the bug that was causing servers to not find themselvesRoger Dingledine
reachable if they changed IP addresses. This happened because middle servers knew the old descriptor, and kept swapping the addr/port we asked for with the one they thought was right. So the create cell never got sent, because it was asking for a different addr/port than we believed we had connected to. svn:r6610
2006-06-13reintroduce the logic to exit_policy_is_general_exit() to countRoger Dingledine
how many ports are allowd. require two ports open, not just one. svn:r6609
2006-06-12Make the Exit tag in status documents actually work in head tooPeter Palfrader
svn:r6608
2006-06-12Finally solve the "closing wedged cpuworkers" bug. Woo.Roger Dingledine
This happened when we got two create cells in a row from the same TLS connection. It would hand one to the cpuworker, and then immediately handle the second one -- after it had registered that the first one was busy, but before it had updated the timestamp that we use to decide how *long* it's been busy. svn:r6606
2006-06-12allow people to start their tor with runasdaemon set butRoger Dingledine
with no logs set at all. svn:r6604
2006-06-10take out the reachability bandaid in 0.1.2.x as well.Roger Dingledine
maybe we will actually be able to fix it, instead. svn:r6585
2006-06-10Add a new config option TestVia, that lets you specify preferred middleRoger Dingledine
hops to use for testing circuits. Perhaps this will let me debug the reachability problem better. svn:r6581
2006-06-09actually, don't fix it that far. we should still do someRoger Dingledine
error checking. svn:r6576
2006-06-09when only one router is labelled as a guard, and we'veRoger Dingledine
already picked him, we would cycle endlessly picking him again, being unhappy about it, and so forth. now we specifically exclude guards when picking a new guard. svn:r6575
2006-06-09and forward-port too.Roger Dingledine
svn:r6573
2006-06-09fix a bootstrapping check we ignored that prevents us from runningRoger Dingledine
with only one dir authority. svn:r6570
2006-06-09try a better string at the top of torrc's autogenerated torrc.Roger Dingledine
svn:r6569
2006-06-08ok, ok, maybe *this* time my rep_hist_circbuilding_dormant() will work.Roger Dingledine
svn:r6568
2006-06-08remove a bit more obsolete codeRoger Dingledine
svn:r6566
2006-06-08ah, that explains why we weren't going dormant withRoger Dingledine
respect to descriptor fetches. maybe now it will work. svn:r6565
2006-06-07re-enable per-connection rate limiting. get rid of the "OP bandwidth"Roger Dingledine
concept. lay groundwork for "bandwidth classes" -- separate global buckets that apply depending on what sort of conn it is. svn:r6563
2006-06-07put a bandaid in place so servers will have an easier timeRoger Dingledine
believing that they're reachable. this may help resolve the servers-on-dynamic-ip-addresses problem. svn:r6561
2006-06-07make connection_or_nonopen_was_started_here() based on something lessRoger Dingledine
voodooey. it turns out we already do keep a flag like that around. svn:r6560
2006-06-07and now the exciting part: there is now no such thing as doingRoger Dingledine
a client-only tls, that is, one with no certs. svn:r6558
2006-06-07simplify the tortls api: we only support being a "server", thatRoger Dingledine
is, even tor clients do the same sort of handshake. this has been true for years, so it's best to get rid of the stale code. svn:r6557
2006-06-06fix the bug where we sometimes would fail to send some create cellsRoger Dingledine
once we'd connected to a(nother) tor server. svn:r6552
2006-06-06Also, add a temporary hack to make sure eventdns.c is distributd.Nick Mathewson
svn:r6551
2006-06-06We got an obscure report of an assert error on a windows Tor server withRoger Dingledine
connection_add being called with socket = -1. The only places I can see where that happen would be if our tor_socketpair succeeds but it hands back negative values for some of its file descriptors. Perhaps this will produce more useful assert errors next time. svn:r6550