aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* Fix a tricky crash: making the_directory heap-allocated (so we could ↵Nick Mathewson2006-06-18
| | | | | | refcount it and have multiple instances as neeeded) means that calls to dirserv_regenerate_directory could invalidate the auth_dir value passed to dirserv_pick_cached_dir_obj. Big fun. svn:r6663
* Fix an assert that still isnt the assert we are hunting.Nick Mathewson2006-06-18
| | | | svn:r6662
* correct a function comment in compute_preferred_testing_list()Roger Dingledine2006-06-18
| | | | svn:r6660
* Become capable of noticing that we are done sending a directory.Nick Mathewson2006-06-18
| | | | svn:r6659
* Resolve control flow warning.Nick Mathewson2006-06-18
| | | | svn:r6658
* Ah. That seems to work.Nick Mathewson2006-06-18
| | | | svn:r6657
* another write_to_buf_zlib fix.Nick Mathewson2006-06-18
| | | | svn:r6656
* Backport candidate: implement the "is this uptime change cosmetic" test ↵Nick Mathewson2006-06-18
| | | | | | properly. svn:r6654
* Re-enable buffer RAM guard values.Nick Mathewson2006-06-18
| | | | svn:r6653
* Another _zlib fix.Nick Mathewson2006-06-18
| | | | svn:r6652
* Make connection_write_to_buf_zlib set outbuf_flushlen right.Nick Mathewson2006-06-18
| | | | svn:r6651
* write_to_buf != connection_write_to_buf. Also, add a ↵Nick Mathewson2006-06-18
| | | | | | connection_write_to_buf_zlib wrapper that sucks. svn:r6650
* Temporarily disable sentinels on buffersNick Mathewson2006-06-18
| | | | svn:r6649
* make zlib buffer function set buf_highwater properlyNick Mathewson2006-06-18
| | | | svn:r6648
* Stop trying to refresh when we are out of data.Nick Mathewson2006-06-18
| | | | svn:r6647
* 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