aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
Commit message (Collapse)AuthorAge
* clean up directory.c APIRoger Dingledine2004-05-12
| | | | svn:r1860
* Split directory/router parsing functionality into separate file from ↵Nick Mathewson2004-05-10
| | | | | | routerlist.c svn:r1846
* it's amazing what a bit of punctuation can do for appearancesRoger Dingledine2004-05-10
| | | | svn:r1843
* More doxygenation.Nick Mathewson2004-05-10
| | | | svn:r1832
* more doxygen markupRoger Dingledine2004-05-09
| | | | | | | plenty more remains svn:r1824
* bugfix: add a circ->resolving_streams field, and make dns resolving ↵Roger Dingledine2004-05-06
| | | | | | | | | | | | streams not actually in the connection_array until they're done resolving. bugfix: actually complain if we duplicate mark-for-close a circuit add more logging for relay ends that claim dns resolve failed, so we can find out why they're not being retried. svn:r1798
* More documentationNick Mathewson2004-05-05
| | | | svn:r1785
* accept port 81 by default also, since people have been asking for itRoger Dingledine2004-05-04
| | | | svn:r1784
* Comment router*.cNick Mathewson2004-05-04
| | | | svn:r1783
* clean some dead code (right?)Roger Dingledine2004-04-28
| | | | svn:r1733
* Refactor crypto error handling to be more like TLS error handling:Nick Mathewson2004-04-26
| | | | | | | | | | | | | crypto_perror is a no-no, since an operation can set more than one error. Also, fix a bug in the unix crypto_seed_rng: mixing stdio with /dev/urandom is a bad idea, since fopen can make all kinds of weird extraneous syscalls (mmap, fcntl, stat64, etc.) and since fread tends to buffer data in big chunks, thus depleting the entropy pool. svn:r1717
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* Remove onion_pkey from connection, since onion keys can change more often ↵Nick Mathewson2004-04-25
| | | | | | than connections. Also add more log messages svn:r1693
* don't build and upload a new desc twice in a rowRoger Dingledine2004-04-25
| | | | svn:r1691
* bugfix: when rotating onion key, do it (more) correctlyRoger Dingledine2004-04-25
| | | | svn:r1688
* more touch-upsRoger Dingledine2004-04-24
| | | | svn:r1687
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683
* Fix unit tests (now that platform code works differently)Nick Mathewson2004-04-08
| | | | svn:r1573
* Don't use Tor version 0.0.5 for intro/rendezvous points. (We don't needNick Mathewson2004-04-07
| | | | | | | to worry about 0.0.4 or earlier, because nobody is running them any more.) svn:r1533
* Put ourself in router list; act accordingly.Nick Mathewson2004-04-07
| | | | svn:r1521
* routerinfo->addr is host orderRoger Dingledine2004-04-07
| | | | svn:r1515
* Set routerinfo->addr properly for own routerinfo; do casei routerinfo compareNick Mathewson2004-04-06
| | | | svn:r1514
* make router_get_by_nickname consider this router.Nick Mathewson2004-04-05
| | | | svn:r1497
* Refactor the heck out of crypto interface: admit that we will stick with one ↵Nick Mathewson2004-04-03
| | | | | | ciphersuite at a time, make const things const, and stop putting openssl in the headers. svn:r1458
* outline what bob does to initialize his hidden servicesRoger Dingledine2004-04-01
| | | | | | | let circuit_launch_new return the circ it just made svn:r1424
* 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
* 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
* inform unapproved servers when we reject their descriptorsRoger Dingledine2004-03-12
| | | | svn:r1263
* New, more flexible directory parsing backend. Uses a bit more RAM, but ↵Nick Mathewson2004-03-05
| | | | | | implements the new spec. Uses more RAM, but not so you would notice. svn:r1235
* Store options->Address as IP, not hostnameRoger Dingledine2004-03-04
| | | | | | | | And figure it out while reading config, not every time you rebuild the descriptor svn:r1226
* go back to a single exitpolicy parameterRoger Dingledine2004-02-18
| | | | | | | | | if your exitpolicy includes " *:*" then it is final, else we append the default exit policy. (thanks weasel) svn:r1105
* Get rid of the notion of a separate default default exit policy.Roger Dingledine2004-02-18
| | | | | | | | Create ExitPolicyPrepend config parameter, to customize the default exit policy. svn:r1103
* Propagate yes/no/maybe a little farther forward.Nick Mathewson2004-02-17
| | | | svn:r1096
* Fix router_compare_addr_to_exit_policy, and name its return codes. The bug ↵Nick Mathewson2004-02-17
| | | | | | was: "maybe reject,accept" should be "maybe", not "accept". svn:r1093
* prevent picking middleman nodes as the last node in the circuitRoger Dingledine2004-02-17
| | | | svn:r1088
* split the token bucket into 'rate' and 'burst' paramsRoger Dingledine2004-01-10
| | | | | | | | | | | we're not entirely migrated to burst yet, for backward compatibility note some win32 probable-bugs clean up routerlist.c svn:r982
* remove trailing whitespaceRoger Dingledine2003-12-17
| | | | svn:r951
* make fetch_from_buf_http malloc its strings ratherRoger Dingledine2003-12-17
| | | | | | | | | | than use fixed-size strings reorganize directory_handle_command so it'll be easier to do more with our directory servers svn:r950
* Make compile warning-free on cygwinNick Mathewson2003-12-15
| | | | svn:r936
* Add port ranges to exit policiesNick Mathewson2003-12-13
| | | | svn:r899
* Make router/directory parsing nondestructive and more const-friendlyNick Mathewson2003-12-08
| | | | svn:r890
* break routers.c into router.c for stuff the router does,Roger Dingledine2003-12-06
and routerlist.c for handling routerlist. svn:r887