aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Collapse)AuthorAge
* Handle windows socket errors correctly; comment most of common.Nick Mathewson2004-05-01
| | | | svn:r1756
* tell us when we're rotating thingsRoger Dingledine2004-04-26
| | | | svn:r1712
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* remove spurious router_rebuild_descriptorNick Mathewson2004-04-25
| | | | svn:r1692
* more touch-upsRoger Dingledine2004-04-24
| | | | svn:r1687
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683
* only expire wedged dir conns that haven't already been expiredRoger Dingledine2004-04-20
| | | | svn:r1676
* expire wedged dir conns after 5min without write, not simply after 5minRoger Dingledine2004-04-19
| | | | svn:r1673
* give wedged dir conns a last chance to flushRoger Dingledine2004-04-19
| | | | svn:r1671
* reverse the logic, captainRoger Dingledine2004-04-18
| | | | svn:r1664
* expire dir connections that live for more than 5 minutesRoger Dingledine2004-04-18
| | | | svn:r1663
* clean up some warningsRoger Dingledine2004-04-17
| | | | svn:r1651
* only consider uploading descriptors every 5 secNick Mathewson2004-04-13
| | | | svn:r1612
* Separate "start-establishing-introduction" from "upload descriptors"; only ↵Nick Mathewson2004-04-13
| | | | | | upload descriptors containing fully established intro points. svn:r1607
* clean up circuit rebuilding some; fix some bugs we hadn't hit yetRoger Dingledine2004-04-13
| | | | svn:r1606
* break circuit_build_needed_circs into its own funcRoger Dingledine2004-04-12
| | | | svn:r1596
* expire old CIRCUIT_PURPOSE_C_REND_READY circs tooRoger Dingledine2004-04-09
| | | | svn:r1585
* Dump introduction point status on kill -USR1Nick Mathewson2004-04-09
| | | | svn:r1584
* Resolve init-services-in-do-hup issueNick Mathewson2004-04-09
| | | | svn:r1583
* don't call rend_services_init right before we fetch theRoger Dingledine2004-04-09
| | | | | | | dir, because we call it right after now. svn:r1582
* call directory_has_arrived has arrived every time we getRoger Dingledine2004-04-09
| | | | | | | a new directory, not just the first time svn:r1581
* Make comment more sensible. Still uncertain about when to call ↵Nick Mathewson2004-04-09
| | | | | | rend_services_init, though. svn:r1580
* Reload rendezvous service keys on sighup; otherwise, we wind up with aNick Mathewson2004-04-09
| | | | | | | | | | bunch of half-initialized services. This should solve half of weasel's current bug. The crash is the other half. (arma: should we also call rend_services_init on hup?) svn:r1578
* get more serious about hunting The BugRoger Dingledine2004-04-09
| | | | | | | (it has been haunting us since the days of 0.0.2preX) svn:r1576
* don't try to build intro circs until you've fetched the directoryRoger Dingledine2004-04-07
| | | | svn:r1541
* Make sure we have our own keys before we initialize our routerlistNick Mathewson2004-04-07
| | | | svn:r1535
* let bob replenish his intro points and republish service descRoger Dingledine2004-04-07
| | | | | | | as necessary svn:r1528
* we were uploading our server descriptor to each the dirserversRoger Dingledine2004-04-07
| | | | | | | when we boot, and then also on the first iteration of the main loop svn:r1520
* alice can now look up bob's service descriptor,Roger Dingledine2004-04-05
| | | | | | | | | | | | | | | | | choose an intro point, connect to it, choose a rend point, connect to it and establish a cookie, get an ack from the rendezvous point, and know when both circs are ready for her. APConns don't use conn->purpose anymore don't initiate a renddesc lookup if one is already in progress also fix a buffer overflow in nickname parsing (only exploitable by the operator though) svn:r1471
* tabsRoger Dingledine2004-04-03
| | | | svn:r1456
* now circuit_get_newest returns an appropriate circ for your purposeRoger Dingledine2004-04-02
| | | | | | | | | | connection_ap_handshake_attach_circuit attaches to a circ of the right purpose add a skeletal rendclient.c svn:r1441
* teach directory servers to handle renddesc responsesRoger Dingledine2004-04-01
| | | | svn:r1434
* let the circuit-launcher choose the exit node (if he wants)Roger Dingledine2004-04-01
| | | | svn:r1428
* outline what bob does to initialize his hidden servicesRoger Dingledine2004-04-01
| | | | | | | let circuit_launch_new return the circ it just made svn:r1424
* put in hooks for alice and bob logic when circuits finish/failRoger Dingledine2004-04-01
| | | | | | | | | let you specify the purpose of circuits you launch bugfix: we used to be declaring the first successful circuit too early -- when the first hop finished. now we're more accurate. svn:r1421
* allow conns to demand to be attached to a clean circuitRoger Dingledine2004-03-31
| | | | | | | (nobody uses this yet) svn:r1417
* Add an ap_bridge function to do a socketpair and skip socks.Roger Dingledine2004-03-31
| | | | | | | | | | | | | | | | | This allows us to do a directory connection *through* tor just as if we're doing it as an application. Make ap_conns tolerate it when the application sends stuff before The socks handshake is done (it just buffers it). Tell directory_initiate_command the length of the payload (because it might include nuls). Add a directory_has_arrived function to, for example, start building the rendezvous service descriptor. svn:r1412
* Add code to configure hidden services, parse configuration, generate keys ↵Nick Mathewson2004-03-31
| | | | | | and service IDs, and store/load them from disk svn:r1410
* rename hidserv_xxNick Mathewson2004-03-31
| | | | svn:r1406
* Implement hidserv_XX functions; there is still an XXX in ↵Nick Mathewson2004-03-31
| | | | | | directory_handle_command svn:r1404
* Refactor directory serversRoger Dingledine2004-03-30
| | | | | | | | | | | * read all the time (before we would ignore eof sometimes, oops) * we can handle different urls now * send back 404 for an un-handled url * commands initiated by the client can handle payloads now * introduce conn->purpose to avoid exponential state-space explosion svn:r1400
* use 'notice' loglevel for things the operator should hearRoger Dingledine2004-03-30
| | | | | | | but that aren't warnings svn:r1384
* Remove descriptors that are older than 24 hours from the directory. Use ↵Nick Mathewson2004-03-29
| | | | | | strlcat instead of strncat to generate directories. svn:r1361
* oh, i forgot to enable the find-munged-conn functionRoger Dingledine2004-03-28
| | | | svn:r1357
* only build circuits after we've fetched the directoryRoger Dingledine2004-03-27
| | | | | | | | | | | | this resolves a subtle bug where tor clients were preferentially using the directory servers, since when they start building circuits they know only about the directory servers on the other hand, it now takes longer after startup before there's a working circuit. so it goes. svn:r1350
* Add a RunTesting option to try to learn link state by creating test ↵Nick Mathewson2004-03-21
| | | | | | circuits, even when SocksPort is off. svn:r1327
* catch signals in a more portable way, so solaris can catch them tooRoger Dingledine2004-03-20
| | | | svn:r1324
* Integrate the new "rephist" [rep(utation) hist(ory)] module to traceNick Mathewson2004-03-20
| | | | | | | | | | | | | | successful/failed connections, successful/failed extends, and connection uptimes. It's still not done: more tests are needed, and not everything calls connection/circuit_mark_for_close properly. This skews the results. Also, there needs to be a 'testing' mode for non-OP ORs, where they periodically build circuits just to test whether extends work. svn:r1313
* clean up some presentation and commentsRoger Dingledine2004-03-18
| | | | svn:r1294
* bugfix: decrement OR connections from global_bucket tooRoger Dingledine2004-03-14
| | | | | | | | bugfix: don't return immediately for has_pending_tls_data unless the conn is allowed to read svn:r1270