aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* weasel wanted us to log the source of v3 votes we don't likeRoger Dingledine2007-12-04
| | | | svn:r12665
* r15106@tombo: nickm | 2007-12-04 00:08:35 -0500Nick Mathewson2007-12-04
| | | | | | | Change tor_addr_t to be a tagged union of in_addr and in6_addr, not of sockaddr_in and sockaddr_in6. It's hardly used in the main code as it is, but let's get it right before it gets popular. svn:r12660
* Stop thinking that 0.1.2.x directory servers can handle "begin_dir"Roger Dingledine2007-12-03
| | | | | | | | requests. Should ease bugs 406 and 419 where 0.1.2.x relays are crashing or mis-answering these requests. svn:r12658
* minor touchupsRoger Dingledine2007-12-03
| | | | svn:r12657
* We were ignoring our RelayBandwidthRate for the first 30 secondsRoger Dingledine2007-12-02
| | | | | | | | after opening a circuit -- even relayed circuits. Bugfix on 0.2.0.3-alpha. svn:r12638
* Reject uploaded descriptors and extrainfo documents if they'reRoger Dingledine2007-12-02
| | | | | | | | huge. Otherwise we'll cache them all over the network and it'll clog everything up. svn:r12633
* minor cleanupsRoger Dingledine2007-12-02
| | | | svn:r12631
* clean up the dirserv_add_multiple_descriptors() apiRoger Dingledine2007-12-02
| | | | svn:r12630
* backport candidate:Roger Dingledine2007-12-01
| | | | | | | | Start purging old entries from the "rephist" database, and the hidden service descriptor databases, even when DirPort is zero. svn:r12628
* Authorities and caches fetch the v2 networkstatus documentsRoger Dingledine2007-12-01
| | | | | | | less often, now that v3 is encouraged. svn:r12627
* download the (admittedly tiny) v1 dir blobs even less often.Roger Dingledine2007-12-01
| | | | | | | we can't make them totally obsolete yet but we can get closer. svn:r12626
* r15094@tombo: nickm | 2007-12-01 03:46:07 -0500Nick Mathewson2007-12-01
| | | | | | | server-side code (for when v2 negotiation occurred) to check for renegotiation and adjust client ID info accordingly. server-side of new TLS code is now implemented, but needs testing and debugging. svn:r12624
* r15088@tombo: nickm | 2007-11-30 23:47:29 -0500Nick Mathewson2007-12-01
| | | | | | | Add support to get a callback invoked when the client renegotiate a connection. Also, make clients renegotiate. (not enabled yet, until they detect that the server acted like a v2 server) svn:r12623
* r15087@tombo: nickm | 2007-11-30 22:32:26 -0500Nick Mathewson2007-12-01
| | | | | | | Start getting freaky with openssl callbacks in tortls.c: detect client ciphers, and if the list doesn't look like the list current Tors use, present only a single cert do not ask for a client cert. Also, support for client-side renegotiation. None of this is enabled unless you define V2_HANDSHAKE_SERVER. svn:r12622
* start to refactor dirserver_mode()Roger Dingledine2007-12-01
| | | | svn:r12621
* fix two trivial potential onionkey leaks. neither of theseRoger Dingledine2007-12-01
| | | | | | | should happen in practice. but now they really won't. svn:r12620
* karsten's bugfix on r12607Roger Dingledine2007-11-30
| | | | svn:r12619
* r12617 broke the compileRoger Dingledine2007-11-30
| | | | svn:r12618
* r16881@catbus: nickm | 2007-11-30 15:07:42 -0500Nick Mathewson2007-11-30
| | | | | | | Do not keep a string representation of every single addr_policy_t lying around. This might save a few hundred K. svn:r12617
* other trivial tweaksRoger Dingledine2007-11-30
| | | | svn:r12614
* two pieces of r12607 for karsten to look at closerRoger Dingledine2007-11-29
| | | | svn:r12609
* easy tweaks on r12607Roger Dingledine2007-11-29
| | | | svn:r12608
* karsten's second refactoring patchRoger Dingledine2007-11-29
| | | | svn:r12607
* doxygen tweaksRoger Dingledine2007-11-29
| | | | svn:r12606
* cleanups on r12579Roger Dingledine2007-11-27
| | | | svn:r12580
* Our new v2 hidden service descriptor format allows descriptorsRoger Dingledine2007-11-27
| | | | | | | | | | that have no introduction points. But Tor crashed when we tried to build a descriptor with no intro points (and it would have crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch by Karsten Loesing. svn:r12579
* minor cleanupsRoger Dingledine2007-11-26
| | | | svn:r12571
* Only update guard status (usable / not usable) once we haveRoger Dingledine2007-11-26
| | | | | | | | | | enough directory information. This was causing us to always pick two new guards on startup (bugfix on 0.2.0.9-alpha), and it was causing us to discard all our guards on startup if we hadn't been running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448. svn:r12570
* if we think our ip address just changed, log what we thought itRoger Dingledine2007-11-22
| | | | | | | changed *to*. svn:r12551
* stop lying in the config file comment we write out regardingRoger Dingledine2007-11-22
| | | | | | | PublishServerDescriptor. svn:r12550
* Don't crash if we get an unexpected value for theRoger Dingledine2007-11-22
| | | | | | | | PublishServerDescriptor config option. Reported by Matt Edman; bugfix on 0.2.0.9-alpha. svn:r12549
* get rid of the __ConsiderAllRoutersAsHidServDirectories config optionRoger Dingledine2007-11-17
| | | | svn:r12528
* get rid of the separate reachability window for the hsdir flag.Roger Dingledine2007-11-17
| | | | svn:r12527
* note a log message that might want to get quieterRoger Dingledine2007-11-17
| | | | svn:r12526
* The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 networkRoger Dingledine2007-11-17
| | | | | | | | consensus documents when there are too many relays at a single IP address. Now clear it in v2 network status documents too. svn:r12522
* cleanups, bump to 0.2.0.12-alphaRoger Dingledine2007-11-17
| | | | svn:r12516
* back out r12509 and fix a better bug instead:Roger Dingledine2007-11-17
| | | | | | | | | | | | When authorities detected more than two relays running on the same IP address, they were clearing all the status flags but forgetting to clear the "hsdir" flag. So clients were being told that a given relay was the right choice for a v2 hsdir lookup, yet they never had its descriptor because it was marked as 'not running' in the consensus. svn:r12515
* If we're using bridges or have strictentrynodes set, and ourRoger Dingledine2007-11-16
| | | | | | | | chosen exit is in the same family as all our bridges/entry guards, then be flexible about families. svn:r12514
* i'm a little teapot, ...Roger Dingledine2007-11-16
| | | | svn:r12513
* If we're trying to fetch a bridge descriptor and there's no wayRoger Dingledine2007-11-16
| | | | | | | | | the bridge authority could help us (for example, we don't know a digest, or there is no bridge authority), don't be so eager to fall back to asking the bridge authority. svn:r12512
* minor touchups on or.hRoger Dingledine2007-11-16
| | | | svn:r12511
* Nov 16 02:20:50.089 [info] update_consensus_router_descriptor_downloads(): 0 ↵Roger Dingledine2007-11-16
| | | | | | | | | | | router descriptors downloadable. 0 delayed; 1676 present (0 of those were in old_routers); 0 would_reject; 582 wouldnt_use, 0 in progress. Nov 16 02:20:50.089 [info] launch_router_descriptor_downloads(): There are not many downloadable routerdescs, but we haven't tried downloading descriptors recently. Downloading. Get rid of the second line. svn:r12510
* Karsten: you should look at this and decide if we should skip overRoger Dingledine2007-11-16
| | | | | | | | | | | non-running hsdirs, or not give them the flag if they're not running, or what. When picking v2 hidden service directories, don't pick ones that aren't listed as Running. svn:r12509
* Changing the ExitPolicyRejectPrivate setting should cause us to rebuild thePeter Palfrader2007-11-15
| | | | | | | descriptor. svn:r12507
* Fix a small memory leak whenever we decide against using aRoger Dingledine2007-11-15
| | | | | | | newly picked entry guard. Reported by Mike Perry. svn:r12506
* r16670@catbus: nickm | 2007-11-14 14:56:30 -0500Nick Mathewson2007-11-14
| | | | | | | Initial phase of proposal 110: accept RELAY_EARLY cells, and turn them into RELAY cells when sending them on over a v1 OR connection. svn:r12496
* r16669@catbus: nickm | 2007-11-14 14:50:03 -0500Nick Mathewson2007-11-14
| | | | | | | When we complete an OR handshake, set up all the internal fields and mark the connection as open. svn:r12495
* r16665@catbus: nickm | 2007-11-14 13:36:11 -0500Nick Mathewson2007-11-14
| | | | | | | Fix bug spotted by karsten: when we have no consensus, do not try to continue finding directories for a hidden service. svn:r12493
* r16663@catbus: nickm | 2007-11-13 21:51:28 -0500Nick Mathewson2007-11-14
| | | | | | | Back out parts of r12376: replace file locations in scripts. svn:r12490
* make r12485 more likely to work on tonga tooRoger Dingledine2007-11-12
| | | | svn:r12486