aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* r19273@catbus: nickm | 2008-04-09 14:44:23 -0400Nick Mathewson2008-04-09
| | | | | | | Do a slightly better fix for r14329: don't call time() quite so much. Also note the time(NULL) hack we wanted to do in the TODO. svn:r14334
* r19202@catbus: nickm | 2008-04-04 17:18:47 -0400Nick Mathewson2008-04-04
| | | | | | | Make last_served_at optional; make last_listed_as_valid_until take account (partially) of v2 statuses. svn:r14299
* r19118@catbus: nickm | 2008-03-29 00:27:08 -0400Nick Mathewson2008-03-29
| | | | | | | Code (disabled) to get way too much info about the contents of old_routers on USR1. svn:r14230
* when our onehop circuits were failing, nobody was telling theRoger Dingledine2008-03-24
| | | | | | | | | streams. so they waited 120 seconds before timing out. this was particularly bad during bootstrapping, if an authority is down or not answering right. svn:r14163
* r18937@catbus: nickm | 2008-03-18 14:50:39 -0400Nick Mathewson2008-03-18
| | | | | | | Fix the other lingering part of bug 617: make ClientDNSRejectInternalAddresses actually work. svn:r14107
* forward-port the 0.2.0.22-rc changelog entry, plus removeRoger Dingledine2008-03-18
| | | | | | | some duplicate items. svn:r14086
* r18880@catbus: nickm | 2008-03-17 12:51:24 -0400Nick Mathewson2008-03-17
| | | | | | | Fix policy-related crash bug found by lodger. svn:r14077
* r18787@catbus: nickm | 2008-03-13 11:11:52 -0400Nick Mathewson2008-03-13
| | | | | | | Make set-option functions return sensible error codes from an enum, not mysterious negative integers svn:r14004
* different exit codes for options_init_from_string()Peter Palfrader2008-03-10
| | | | | | | | | Change options_init_from_string() so that it returns different exit codes in the error case, depending on what went wrong. Also push the responsibility to log the error to the caller. svn:r13947
* options_init_from_torrc(): split off options_init_from_string()Peter Palfrader2008-03-10
| | | | svn:r13946
* fix most of pnx's warnings on irix64Roger Dingledine2008-02-24
| | | | svn:r13706
* r14421@tombo: nickm | 2008-02-24 17:05:18 -0500Nick Mathewson2008-02-24
| | | | | | | Patch from mwenge: always willingly serve our own extrainfo from the controlport svn:r13699
* r14410@tombo: nickm | 2008-02-23 16:51:46 -0500Nick Mathewson2008-02-24
| | | | | | | Fix the last of the -Wshorten-64-to-32 warnings. svn:r13696
* r18345@catbus: nickm | 2008-02-21 13:45:04 -0500Nick Mathewson2008-02-21
| | | | | | | Do the last part of arma's fix for bug 437: Track the origin of every addrmap, and use this info so we can remove all the trackhostexits-originated mappings for a given exit. svn:r13660
* start allowing clients to give up on trackhostexits targets ifRoger Dingledine2008-02-21
| | | | | | | | five circuit attempts fail for a given stream. part of the fix for bug 437. still an XXX020rc remaining. svn:r13648
* r18272@catbus: nickm | 2008-02-20 18:20:33 -0500Nick Mathewson2008-02-20
| | | | | | | add a flag to suppress overwriting the certificates file with new certificates, so we do not overwrite all certs when starting as an authority. svn:r13630
* r18269@catbus: nickm | 2008-02-20 17:28:24 -0500Nick Mathewson2008-02-20
| | | | | | | Apply patch from Sebastian Hahn: stop imposing an arbitrary maximum on the number of file descriptors used for busy servers. Bug reported by Olaf Selke. svn:r13626
* pass bucket sizes num_read and num_written around as size_tsRoger Dingledine2008-02-20
| | | | | | | rather than ints svn:r13610
* similarly, don't throw around an int for the uint8_t circ->stateRoger Dingledine2008-02-20
| | | | svn:r13608
* don't throw around an int for relay_command if we're going toRoger Dingledine2008-02-20
| | | | | | | squeeze it into a uint8_t later. also reported by veracode. svn:r13607
* r18195@catbus: nickm | 2008-02-19 14:11:15 -0500Nick Mathewson2008-02-19
| | | | | | | TOR_PERF has not not been a sane thing for ages. Remove it. svn:r13579
* document that if you enable TOR_PERF, you won't be compatible with theRoger Dingledine2008-02-19
| | | | | | | main Tor network. svn:r13577
* r18142@catbus: nickm | 2008-02-18 14:24:31 -0500Nick Mathewson2008-02-18
| | | | | | | Our preferred spelling for a bitfield is "unsigned int", not "unsigned" or "uint8_t". svn:r13560
* r14236@tombo: nickm | 2008-02-17 13:44:55 -0500Nick Mathewson2008-02-17
| | | | | | | Partial fix for bug 586: Add an ephemeral __HashedControlSessionPassword. svn:r13543
* patch from karsten:Roger Dingledine2008-02-17
| | | | | | | | | | | Resolved problems with (re-)fetching hidden service descriptors. Before, v0 descriptors were not fetched at all (fix on 0.2.0.18-alpha), re-fetching of v2 descriptors did not stop when a v0 descriptor was received (fix on 0.2.0.18-alpha), and re-fetching of v2 descriptors did not work in all cases (fix on 0.2.0.19-alpha). svn:r13540
* r14181@tombo: nickm | 2008-02-15 16:48:17 -0500Nick Mathewson2008-02-15
| | | | | | | Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs). svn:r13529
* r18051@catbus: nickm | 2008-02-12 15:20:43 -0500Nick Mathewson2008-02-12
| | | | | | | Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484
* r14108@tombo: nickm | 2008-02-10 20:09:10 -0500Nick Mathewson2008-02-11
| | | | | | | add some documentation svn:r13462
* r14102@tombo: nickm | 2008-02-10 13:30:04 -0500Nick Mathewson2008-02-10
| | | | | | | Remove some deadcode. svn:r13459
* r14101@tombo: nickm | 2008-02-10 13:24:27 -0500Nick Mathewson2008-02-10
| | | | | | | Merge connection_or_act_on_netinfo into command.c; remove some fields from or_handshake_state(). svn:r13458
* cleanups on r13442.Roger Dingledine2008-02-09
| | | | | | | oh, and this should be backported too. svn:r13444
* Patch from "Andrew S. Lists" to catch when we contact a directory mirrorRoger Dingledine2008-02-09
| | | | | | | at IP address X and he says we look like we're coming from IP address X. svn:r13442
* r17991@catbus: nickm | 2008-02-08 18:41:26 -0500Nick Mathewson2008-02-08
| | | | | | | More protocol negotiation work. Make the negotiation actually complete and set the state to open. Fix a crash bug that occured when we forcibly stopped the connection from writing. svn:r13434
* r14063@tombo: nickm | 2008-02-08 15:48:32 -0500Nick Mathewson2008-02-08
| | | | | | | Add a bunch more code documentation; change the interface of fetch_var_cell_from_buf() so it takes the current link protocol into account and can't get confused by weird command bytes on v1 connections. svn:r13430
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* r17947@catbus: nickm | 2008-02-06 11:57:53 -0500Nick Mathewson2008-02-06
| | | | | | | Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405
* New config option ServerDNSAllowBrokenResolvConf to start a relayRoger Dingledine2008-02-06
| | | | | | | | | | even when the local resolv.conf file is missing, broken, or contains only unusable nameservers. Now I can run a local network on my laptop when I'm on an airplane. svn:r13402
* If the networkstatus consensus lists no recommended versions, don'tRoger Dingledine2008-02-06
| | | | | | | complain to the user and demand that they upgrade to one of "". svn:r13401
* r17936@catbus: nickm | 2008-02-06 00:31:11 -0500Nick Mathewson2008-02-06
| | | | | | | Fix/downgrade some more XXX020s. svn:r13397
* r17930@catbus: nickm | 2008-02-05 18:20:40 -0500Nick Mathewson2008-02-05
| | | | | | | Initial attempts to track down bug 600, and refactor possibly offending code. 1) complain early if circuit state is set to OPEN when an onionskin is pending. 2) refactor onionskin field into one only used when n_conn is pending, and a separate onionskin field waiting for attention by a cpuworker. This might even fix the bug. More likely, it will make it fail with a more useful core. svn:r13394
* r17918@catbus: nickm | 2008-02-05 16:39:17 -0500Nick Mathewson2008-02-05
| | | | | | | Remove a few #if-0d items. svn:r13392
* r17915@catbus: nickm | 2008-02-05 16:28:57 -0500Nick Mathewson2008-02-05
| | | | | | | Remove a dead function. svn:r13389
* r17913@catbus: nickm | 2008-02-05 16:11:33 -0500Nick Mathewson2008-02-05
| | | | | | | Correctly register failures in connection_add() in dnsserv_launch_request() svn:r13387
* r17911@catbus: nickm | 2008-02-05 15:53:22 -0500Nick Mathewson2008-02-05
| | | | | | | Fix a potential bug that would make authorities fail to vote under bizarre circumstances that probably never happened. svn:r13385
* r17910@catbus: nickm | 2008-02-05 15:36:29 -0500Nick Mathewson2008-02-05
| | | | | | | Check for correctness of AuthDir* options in options_validate; check for possible bugs where options_validate() is happy but parse_policies_from_options() is sad. svn:r13384
* r17909@catbus: nickm | 2008-02-05 14:48:22 -0500Nick Mathewson2008-02-05
| | | | | | | As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete. svn:r13383
* r17903@catbus: nickm | 2008-02-05 14:40:03 -0500Nick Mathewson2008-02-05
| | | | | | | Remove some dead code; fix some XXX020s; turn some XXX020s into XXXX_IP6s (i.e., "needs to be fixed when we add ipv6 support"). svn:r13382
* Don't trigger an assert if we start a directory authority with aRoger Dingledine2008-02-04
| | | | | | | private IP address (like 127.0.0.1). svn:r13371
* Revert r13301 and part of r13304. I guess nick's svk messed up.Roger Dingledine2008-01-27
| | | | svn:r13305
* Fix bug 571: associate certificates with keys, not dirservers, so that we ↵Nick Mathewson2008-01-26
| | | | | | can have certificates for dirservers we do not recognize. svn:r13304