aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* And actually check the url when it exists. that might work better.Nick Mathewson2006-06-18
| | | | svn:r6646
* That dir_refresh_src fix will only work if I enable it.Nick Mathewson2006-06-18
| | | | svn:r6645
* Fix a couple of bugs in last patch.Nick Mathewson2006-06-18
| | | | svn:r6644
* add coverage for a default caseNick Mathewson2006-06-18
| | | | svn:r6643
* Oops. conn->requested_resource is client only.Nick Mathewson2006-06-18
| | | | svn:r6642
* Instead of adding servers and v1 directories to buffers en masse, directory ↵Nick Mathewson2006-06-18
| | | | | | servers add them on the fly as their outbufs are depleted. This will save ram on busy dirservers. svn:r6641
* Add tests for several of the more recently committed functions.Nick Mathewson2006-06-18
| | | | svn:r6639
* Part of incremental encryption logic for buffers: there is a subtle yucky ↵Nick Mathewson2006-06-18
| | | | | | point documented in a comment. svn:r6637
* And a minor bugfix to the weaselhackPeter Palfrader2006-06-15
| | | | svn:r6629
* fix spacingRoger Dingledine2006-06-15
| | | | svn:r6628
* Add a /tor/dir-all-weaselhack directory resource so I do not have to update ↵Peter Palfrader2006-06-15
| | | | | | my scripts svn:r6627
* lower the number of seconds before we yell about clock jump.Roger Dingledine2006-06-15
| | | | | | | and make the yelling only happen if you're a server. svn:r6625
* upgrade the severity of the 'clock jump' warn, and ask peopleRoger Dingledine2006-06-14
| | | | | | | to report if it occurs. svn:r6623
* bugfix: discourage picking directory authorities as our TestViaRoger Dingledine2006-06-14
| | | | | | | | hops, even if they're running the right versions, since we probably already have a connection established to them. svn:r6622
* eventdns: Apply a couple of patches from AGL; start working on windows ↵Nick Mathewson2006-06-13
| | | | | | compat; note some TODOs. svn:r6621
* back off and add the $ at the beginning of the preferrednodes listRoger Dingledine2006-06-13
| | | | | | | we generate. svn:r6620
* be more lax about recognizing valid hexdigests.Roger Dingledine2006-06-13
| | | | svn:r6619
* now we can tell dirserv_dump_directory_to_string() whether we wantRoger Dingledine2006-06-13
| | | | | | | it to include down/invalid descriptors or not. svn:r6618
* bugfix in exit_policy_is_general_exit() that weasel found.Roger Dingledine2006-06-13
| | | | | | | this time for sure! svn:r6617
* first cut at a workaround for the reachability bug: explicitly find aRoger Dingledine2006-06-13
| | | | | | | server running the right version, if we can, and ask for that one. svn:r6616
* export the default exit policy via the control port, so controllersRoger Dingledine2006-06-13
| | | | | | | don't need to guess what it is / will be later. svn:r6615
* Defense in depth: fix the reachability bug a second way too.Roger Dingledine2006-06-13
| | | | | | | | 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
* harmless typoRoger Dingledine2006-06-13
| | | | svn:r6613
* Fix the bug that was causing servers to not find themselvesRoger Dingledine2006-06-13
| | | | | | | | | | | | 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
* reintroduce the logic to exit_policy_is_general_exit() to countRoger Dingledine2006-06-13
| | | | | | | how many ports are allowd. require two ports open, not just one. svn:r6609
* Make the Exit tag in status documents actually work in head tooPeter Palfrader2006-06-12
| | | | svn:r6608
* Finally solve the "closing wedged cpuworkers" bug. Woo.Roger Dingledine2006-06-12
| | | | | | | | | | | 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
* allow people to start their tor with runasdaemon set butRoger Dingledine2006-06-12
| | | | | | | with no logs set at all. svn:r6604
* take out the reachability bandaid in 0.1.2.x as well.Roger Dingledine2006-06-10
| | | | | | | maybe we will actually be able to fix it, instead. svn:r6585
* Add a new config option TestVia, that lets you specify preferred middleRoger Dingledine2006-06-10
| | | | | | | | hops to use for testing circuits. Perhaps this will let me debug the reachability problem better. svn:r6581
* actually, don't fix it that far. we should still do someRoger Dingledine2006-06-09
| | | | | | | error checking. svn:r6576
* when only one router is labelled as a guard, and we'veRoger Dingledine2006-06-09
| | | | | | | | | | 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
* and forward-port too.Roger Dingledine2006-06-09
| | | | svn:r6573
* fix a bootstrapping check we ignored that prevents us from runningRoger Dingledine2006-06-09
| | | | | | | with only one dir authority. svn:r6570
* try a better string at the top of torrc's autogenerated torrc.Roger Dingledine2006-06-09
| | | | svn:r6569
* ok, ok, maybe *this* time my rep_hist_circbuilding_dormant() will work.Roger Dingledine2006-06-08
| | | | svn:r6568
* remove a bit more obsolete codeRoger Dingledine2006-06-08
| | | | svn:r6566
* ah, that explains why we weren't going dormant withRoger Dingledine2006-06-08
| | | | | | | respect to descriptor fetches. maybe now it will work. svn:r6565
* re-enable per-connection rate limiting. get rid of the "OP bandwidth"Roger Dingledine2006-06-07
| | | | | | | | concept. lay groundwork for "bandwidth classes" -- separate global buckets that apply depending on what sort of conn it is. svn:r6563
* put a bandaid in place so servers will have an easier timeRoger Dingledine2006-06-07
| | | | | | | | believing that they're reachable. this may help resolve the servers-on-dynamic-ip-addresses problem. svn:r6561
* make connection_or_nonopen_was_started_here() based on something lessRoger Dingledine2006-06-07
| | | | | | | voodooey. it turns out we already do keep a flag like that around. svn:r6560
* and now the exciting part: there is now no such thing as doingRoger Dingledine2006-06-07
| | | | | | | a client-only tls, that is, one with no certs. svn:r6558
* simplify the tortls api: we only support being a "server", thatRoger Dingledine2006-06-07
| | | | | | | | | | 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
* fix the bug where we sometimes would fail to send some create cellsRoger Dingledine2006-06-06
| | | | | | | once we'd connected to a(nother) tor server. svn:r6552
* Also, add a temporary hack to make sure eventdns.c is distributd.Nick Mathewson2006-06-06
| | | | svn:r6551
* We got an obscure report of an assert error on a windows Tor server withRoger Dingledine2006-06-06
| | | | | | | | | | 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
* fix typoRoger Dingledine2006-06-06
| | | | svn:r6549
* ship the event*.h files too. perhaps this will make my 'make dist'Roger Dingledine2006-06-06
| | | | | | | produce a tarball that i can build. svn:r6548
* Try to log useful messages at info and debug about what we are resolving and ↵Nick Mathewson2006-06-05
| | | | | | what answers we are getting wrt eventdns. svn:r6547
* don't tell people that the testing circuit failed if we alreadyRoger Dingledine2006-06-05
| | | | | | | consider ourselves reachable. this just confuses them. svn:r6546