aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
Commit message (Collapse)AuthorAge
* fix the latest bug: don't explode when some router declares aRoger Dingledine2005-02-03
| | | | | | | | | bandwidthburst of 500 gigabytes. this bug seems to have taken down most of the network. oops. svn:r3523
* define TOR_FRAGILE if you want tor to give you a core whenRoger Dingledine2005-02-01
| | | | | | | | something goes wrong. this should only be used by people actively tracking bugs. svn:r3487
* be less noisy about complaining when a jap client tries to connectRoger Dingledine2005-01-30
| | | | | | | and we refuse him. svn:r3472
* we should handle the case where the client has no cert, forRoger Dingledine2005-01-30
| | | | | | | backwards compatibility with jap clients. svn:r3466
* get rid of 0.0.8 backwards compatibilityRoger Dingledine2005-01-13
| | | | svn:r3353
* Make Tor use Niels Provos's libevent instead of it's currentNick Mathewson2005-01-12
| | | | | | | | | | | | poll-but-sometimes-select mess. This will let us use faster async cores (like epoll, kpoll, and /dev/poll), and hopefully work better on Windows too. There are some fairly nasty changes to main.c here; this will almost certainly break something. But hey, that's what alphas are for. svn:r3341
* 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
* stop checking for clock skew, even for servers.Roger Dingledine2005-01-03
| | | | | | | | | this means we are vulnerable to an attack where somebody recovers and uses a really old certificate. however, if they do that, they probably can get our identity key just as easily. svn:r3241
* clean up logging,Roger Dingledine2004-12-13
| | | | | | | | | make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine2004-11-28
| | | | | | | totally unacceptable to me. svn:r3005
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Clarify a bunch of log messagesNick Mathewson2004-11-25
| | | | svn:r2983
* Compile cleanly on windows; prevent some insane bandwidth cases (e.g., ↵Nick Mathewson2004-11-22
| | | | | | "BandwidthBurst 1000 TB" from occuring. svn:r2941
* break reached_eof() out of process_inbuf()Roger Dingledine2004-11-21
| | | | svn:r2930
* Add "MEMUNIT" and "INTERVAL" types to configuration. Also tweak Accounting ↵Nick Mathewson2004-11-20
| | | | | | setup. More docs needed svn:r2911
* Change "warn if unverified routers are very skewed" to "never warn about ↵Nick Mathewson2004-11-15
| | | | | | unverified router skew" svn:r2885
* Allow more clock skew from unrecognized hosts than from recognized ones.Nick Mathewson2004-11-14
| | | | svn:r2874
* Use the data, *then* free it. It works so much better.Nick Mathewson2004-11-13
| | | | svn:r2837
* Resolve a bunch of FIXME items; mark a lot more for attention; ask for ↵Nick Mathewson2004-11-12
| | | | | | clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs. svn:r2808
* Resolve a FIXME: use identity comparison, not nickname comparison, toNick Mathewson2004-11-10
| | | | | | | | | | | | | | | choose circuit ID types. This is important because our view of "the nickname of the router on the other side of this connection" is skewed, and depends on whether we think the other rotuer is verified--and there's no way to know whether another router thinks you are verified. For backward compatibility, we notice when the other router chooses the same circuit ID type as us (because it's running an old version), and switch our type to be polite. svn:r2797
* Clean up copyrights.Roger Dingledine2004-11-07
| | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
* Make options no longer a global variable.Roger Dingledine2004-11-06
| | | | | | | | | Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692
* clarify the bandwidthburst and bandwidthrate are in bytesRoger Dingledine2004-11-04
| | | | | | | (niels had thought they were in bits, or kb, or something) svn:r2669
* - Implement all of control interface except authentication, setconfig,Nick Mathewson2004-11-03
| | | | | | | | | and actually making the sockets. - Make sure that identity-based nicknames start with $. - Use new string_join interface. svn:r2661
* start the process of making 0.0.7* obsoleteRoger Dingledine2004-10-17
| | | | svn:r2565
* don't assert multiple things in the same tor_assert()Roger Dingledine2004-10-16
| | | | svn:r2544
* Unify tests for "did I originate this nonopen OR connection?"Nick Mathewson2004-10-13
| | | | svn:r2468
* Check fingerprint list before generating running-routers lists; also add ↵Nick Mathewson2004-10-13
| | | | | | as-yet-uncalled function to update an OR connection nickname on the fly svn:r2458
* If we are an authoritative dirserver, check out the fingerprint list when ↵Nick Mathewson2004-09-28
| | | | | | setting connection nicknames svn:r2389
* checking only 0.0.7 and 0.0.8 didn't work, because some dirserversRoger Dingledine2004-09-27
| | | | | | | | | | | | | | | files have really old descriptors for the authdirservers, so we're asking them in the new format because they're too old. now we actually compare the version to a cutoff version, and act appropriately. also take this chance to use only >=0.0.8 servers for dns resolves, because of the recent bugs. we'll bump to >=0.0.9pre1 once there are some servers running that. svn:r2380
* cleanup: use strcmpstart() in more placesRoger Dingledine2004-09-23
| | | | svn:r2372
* commit some minor fixes from this sandbox so i can commit the next oneRoger Dingledine2004-08-15
| | | | svn:r2229
* fix a race condition in 008pre2: don't try to extend onto a connectionRoger Dingledine2004-08-08
| | | | | | | | | | that's still handshaking. for servers in clique mode, require the conn to be open before you'll choose it for your path. svn:r2198
* populate router_get_my_routerinfo()->is_verifiedRoger Dingledine2004-07-22
| | | | svn:r2097
* bugfix: only require the correct key if the nickname is forRoger Dingledine2004-07-21
| | | | | | | a verified router svn:r2084
* fix some bool logicRoger Dingledine2004-07-21
| | | | svn:r2075
* make connection_tls_finish_handshake() more plausible.Roger Dingledine2004-07-21
| | | | | | | now we accept connections from unknown routers. svn:r2074
* Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify ↵Nick Mathewson2004-07-21
| | | | | | behavior svn:r2073
* add a new advertised_server_mode() to distinguish ORs thatRoger Dingledine2004-07-21
| | | | | | | are willing to become servers from ones that really are servers. svn:r2071
* abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), ↵Nick Mathewson2004-07-18
| | | | | | clique_mode(), etc. Dont change underlying comments. svn:r2054
* Finish most pre2 items: make running-routers list work right; rename secret ↵Nick Mathewson2004-07-13
| | | | | | key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. svn:r2043
* if connecting to an OR fails immediately, mark it as downRoger Dingledine2004-07-12
| | | | svn:r2029
* More digest/nickname fixesNick Mathewson2004-07-02
| | | | svn:r2000
* some of the infrastructure to let ORs connect on demandRoger Dingledine2004-07-02
| | | | svn:r1998
* Switch most uses of *_by_addr_port to *_by_identity_digestNick Mathewson2004-07-01
| | | | svn:r1997
* Track routers by hash of identity key; use hex hash of identity key in place ↵Nick Mathewson2004-07-01
| | | | | | of nickname; accept (and use) hash of identity key in EXTEND cells. svn:r1994
* don't flush the buf from inside connection_write_to_bufRoger Dingledine2004-05-12
| | | | svn:r1859
* break connection_edge_end out of connection_mark_for_closeRoger Dingledine2004-05-12
| | | | svn:r1858