aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
Commit message (Collapse)AuthorAge
* Implement new (reduced-frequency) upload rules. arma, you should review this.Nick Mathewson2005-08-22
| | | | svn:r4806
* Replace (Fascist)Firewall* with a new ReachableAddresses option that ↵Nick Mathewson2005-08-08
| | | | | | understands address policies. svn:r4751
* Make clients regenerate their keys when their IP address changes.Nick Mathewson2005-08-03
| | | | svn:r4688
* Rename cross-format config.c stuff to config_* and or_options_t-specific ↵Nick Mathewson2005-07-23
| | | | | | stuff to option[s]_* svn:r4641
* if you're an auth dir server, always publish your dirport,Roger Dingledine2005-07-15
| | | | | | | | | even if you haven't yet found yourself to be reachable. this is the cause of Jan Tore Morken's recent or-talk bug. svn:r4575
* forward-port the 0.1.0.11 stuffRoger Dingledine2005-07-01
| | | | svn:r4515
* Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson2005-06-11
| | | | | | function definition format uniform. svn:r4411
* don't tell people you're publishing the server descriptor if you'reRoger Dingledine2005-06-09
| | | | | | | actually not. svn:r4387
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* pay more attention to the ClientOnly config optionRoger Dingledine2005-06-09
| | | | svn:r4367
* don't upload your descriptor if rebuilding it failedRoger Dingledine2005-06-08
| | | | svn:r4352
* clean up a few more log entriesRoger Dingledine2005-05-27
| | | | svn:r4304
* i screwed up the dirport reachability testing when we don't yetRoger Dingledine2005-05-23
| | | | | | | have a cached version of the directory. hopefully now fixed. svn:r4284
* doxygeny goodness from tyranixRoger Dingledine2005-05-17
| | | | svn:r4262
* Append default exit policy before checking for implicit internal addresses: ↵Nick Mathewson2005-05-14
| | | | | | fix bug 129. svn:r4201
* Patch from goodell for task 131: Do not die on internal address if we are ↵Nick Mathewson2005-05-09
| | | | | | not publishing. svn:r4186
* Functions work better when you call them. Resolve a bug which would prevent ↵Nick Mathewson2005-05-07
| | | | | | unreachable dirports from getting suppressed. svn:r4183
* first iteration of scrubbing sensitive strings from logs.Roger Dingledine2005-05-03
| | | | | | | also generally clean up log messages. svn:r4174
* Remove support for looking at old directory/routerdesc elements; mark ↵Nick Mathewson2005-05-02
| | | | | | non-new elements optional; switch to new format for dir-signing-key; start accepting newer elements so we can mark them as non-opt later; make tor-spec say the right stuff. svn:r4154
* add geoff's NoPublish patchRoger Dingledine2005-04-21
| | | | svn:r4084
* We're printing the host mask wrong in exit policies in server descriptors.Roger Dingledine2005-04-02
| | | | | | | | I believe this isn't a critical bug tho, since we're still obeying the exit policy internally. svn:r3987
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* when you decide you're reachable, actually publish your descriptorRoger Dingledine2005-04-01
| | | | | | | right then. svn:r3968
* fix assert: if our dirport isn't reachable yet, don't trickRoger Dingledine2005-04-01
| | | | | | | | *ourselves* into thinking the dirport is zero. but continue to tell other people that it is. svn:r3952
* authdirservers shouldn't do orport reachability detection,Roger Dingledine2005-04-01
| | | | | | | | since they're in clique mode, so it will be rare to find a server not already connected to them. svn:r3949
* still publish your descriptor if orport is reachable but dirport isn'tRoger Dingledine2005-03-31
| | | | | | | | | when building testing circs for orport testing, require high-bandwidth nodes, so fewer circs fail. complain about unreachable orport separately from unreachable dirport. svn:r3935
* but only do the rapid reachability testing if we're hoping to be a server.Roger Dingledine2005-03-27
| | | | svn:r3902
* make it clearer to the human that his server is testingRoger Dingledine2005-03-26
| | | | | | | | its reachability. tell him when it succeeds, or when 20 minutes pass and it hasn't succeeded yet. svn:r3882
* options->MaxAdvertisedBandwidth only replaces advertisedRoger Dingledine2005-03-22
| | | | | | | bandwidthrate, not advertised bandwidthcapacity svn:r3818
* Implement an option to cap bandwidth-to-advertise. Arma: can you improve the ↵Nick Mathewson2005-03-22
| | | | | | manpage entry by explaining why you would want to do this? svn:r3813
* Add opt hibernating; fix bug 78Nick Mathewson2005-03-22
| | | | svn:r3807
* Implement controller's "extendcircuit" directive.Roger Dingledine2005-03-22
| | | | | | | | Also refactor circuit building so we plan the whole path ahead of time. svn:r3797
* stop logging at -l notice every single time a create cell successfullyRoger Dingledine2005-03-19
| | | | | | | gets processed svn:r3791
* Turn addr_policy_compare from a tristate to a quadstate; this should help ↵Nick Mathewson2005-03-19
| | | | | | address our "Ah, you allow 1.2.3.4:80. You are a good choice for google.com" problem. svn:r3786
* Commit fixes for several pending tor core tasks: document all DOCDOCed ↵Nick Mathewson2005-03-17
| | | | | | functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value. svn:r3769
* re-enable reachability testing stuff.Roger Dingledine2005-03-15
| | | | | | | | also, consider your ORPort reachable after you've processed a create cell from any non-local address. svn:r3763
* redefining default exit policy as per or-talk discussionGeoff Goodell2005-03-11
| | | | svn:r3739
* disable the reachability detection stuff in cvs, so people canRoger Dingledine2005-02-28
| | | | | | | run servers from cvs while i'm gone. svn:r3712
* Checkpoint in-progress fixes:Roger Dingledine2005-02-27
| | | | | | | | | | | | | Add 'testing' circuit purpose, for reachability testing. Notice when our IP changes, and reset stats. Try to pull down a directory via Tor to see if our DirPort is working. Try to extend a circuit back to us to see if our ORPort is working. Only publish a descriptor if they're both reachable. These mostly work, and I'd better get them in before I cause conflicts. svn:r3703
* Implement more control spec functionalityNick Mathewson2005-02-25
| | | | | | | | | | | | | | | | | | - Mapaddress - Postdescriptor - GetInfo on descriptors Required changes elsewhere: - Keep the most recent running_routers_t in the routerlist_t. That way we can learn about new routers and remember whether we were last told that they were up or down. Also enables more simplifications. - Keep the signed descriptor inside routerinfo_t. This makes descriptor_entry_t in dirservers.c unneeded. - Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun. - Check addresses for plausibility before mapping them. svn:r3696
* Change from inet_ntoa to a threadproof tor_inet_ntoa.Nick Mathewson2005-02-22
| | | | svn:r3656
* Do not try to double-aquire lock when rotating keys. May fix deadlock bug ↵Nick Mathewson2005-02-11
| | | | | | found by weasel. svn:r3616
* Free even more things on shutdown. Temporarily move tor_free_all out from ↵Nick Mathewson2005-02-11
| | | | | | #ifdef so it gets tested more. svn:r3614
* reject more default filesharing ports by default.Roger Dingledine2005-02-02
| | | | svn:r3500
* accept LDAP (389/tcp) and LDAPS (636/tcp) in default exit policyRoger Dingledine2005-01-29
| | | | svn:r3457
* don't let a corrupt directory cache keep us from startingRoger Dingledine2005-01-29
| | | | svn:r3456
* Have reason string for serverdesc post requests contain actual serverdesc ↵Nick Mathewson2005-01-20
| | | | | | status. Also fix return values of dirserv_add_descriptor to work as advertised. svn:r3391
* separate time_of_process_start from stats_n_seconds_uptime:Roger Dingledine2005-01-10
| | | | | | | | | now we reset uptime when a dir fetch entirely fails. this hopefully has something to do with stability of being on the network. svn:r3333
* Nothing actually _uses_ socks_port, so why publish it? For backward ↵Nick Mathewson2005-01-04
| | | | | | compatibility, publish a socks_port of 0, and never read socks_port. svn:r3279
* Resolve task 42: find where 19-char nicknames were getting truncated when ↵Nick Mathewson2005-01-03
| | | | | | read from certs, and fix it. Also audit use of MAX_NICKNAME_LEN; no other badness found, but some docs/code cleaned up a touch. svn:r3244