aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Expand)AuthorAge
* start using OR_CONN_EVENT_NEW.•••also fixes a seg fault in tor (bug 261). svn:r6101 Roger Dingledine2006-03-08
* Add some functions to escape values from the network before sending them to t...•••svn:r6087 Nick Mathewson2006-03-05
* more log conversions.•••whee. svn:r6003 Roger Dingledine2006-02-13
* Let the users set ControlListenAddress in the torrc.•••This can be dangerous, but there are some cases (like a secured LAN) where it makes sense. svn:r5997 Roger Dingledine2006-02-13
* enforce whitespace style•••svn:r5984 Nick Mathewson2006-02-12
* When a client asks for an old-style directory and our write bucket•••is empty, don't give it to him. This way small servers can continue to serve the directory *sometimes*, without getting overloaded. svn:r5968 Roger Dingledine2006-02-11
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* and make sure that never happens again•••svn:r5932 Roger Dingledine2006-02-09
* char *x = "y"; is not good C.•••svn:r5926 Nick Mathewson2006-02-06
* Fix a major load balance bug: we were round-robining in 16 KB chunks, and•••servers with bandwidthrate of 20 KB, while downloading a 600 KB directory, would starve their other connections. Now we try to be a bit more fair. svn:r5906 Roger Dingledine2006-02-04
* when we fail to bind a listener, try to provide a more useful log msg.•••svn:r5900 Roger Dingledine2006-02-03
* attempted patch for bug 220: don't assert when we've tried all the•••intro points for a hidden service and we try fetching the service descriptor again. svn:r5838 Roger Dingledine2006-01-17
* entry nodes are now entry guards.•••this is our last easy chance for a wholesale change. heave ho. svn:r5782 Roger Dingledine2006-01-10
* fix typo•••svn:r5750 Roger Dingledine2006-01-07
* Add reasons to DESTROY and RELAY_TRUNCATED cells.•••svn:r5734 Nick Mathewson2006-01-05
* fix a wrong string•••svn:r5733 Roger Dingledine2006-01-05
* helper nodes are dead. long live entry nodes.•••(config options EntryNodes and StrictEntryNodes still not implemented.) svn:r5673 Roger Dingledine2005-12-28
* fix typo•••svn:r5667 Roger Dingledine2005-12-27
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14
* when we changed from log_fn to debug/info/notice/warn/err,•••we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551 Roger Dingledine2005-12-10
* Change how OR conns get removed from the identity map; fix some warnings on s...•••svn:r5509 Nick Mathewson2005-12-05
* Move connection_or_remove_from_identity_map() to connection_unlink, but dont ...•••svn:r5470 Nick Mathewson2005-11-30
* Rename connection_get_by_identity_digest to reflect that it is OR-only. Make...•••svn:r5469 Nick Mathewson2005-11-30
* "How about 'never'? Does 'never' work for you?"•••Weasel says circuit_get_by_conn is his main timesink. Most of its users were just checking whether OR conns had circuits, so add a circuit count to OR conns, and check that. One was circuit_about_to_close_conn, which was doing an O(n^2) series of calls to get all circs on an OR conn, so make an O(n) function for that. Finally, circuit_get_by_edge_conn was using it as a sanity test that has been around for a while but never found any actualy insanity, so kill that. circuit_get_by_conn is finally dead, which is good, since it was never sane to begin with. svn:r5460 Nick Mathewson2005-11-26
* Cut down a common call to circuit_get_by_conn by about half.•••svn:r5459 Nick Mathewson2005-11-26
* when calling connection_get_by_identity_digest, don't do a memcmp•••for non-OR conns. this should save a bit of time. svn:r5456 Roger Dingledine2005-11-25
* Recover better from TCP connections to Tor servers that are broken but•••don't tell you (it happens!); and rotate TLS connections once a week. 1) If an OR conn becomes more than a week old, make it obsolete. 2) If it's obsolete and empty, kill it. 3) When an OR makes a second connection to you, allow it. 4) If we want to send a new create cell, but the best conn we've got is obsolete, and the router is 0.1.1.9-alpha-cvs or later, ask for a new conn instead. 5) When we time out on circuit building on the first hop, make that connection obsolete. svn:r5429 Roger Dingledine2005-11-19
* and another overly common log entry•••svn:r5417 Roger Dingledine2005-11-18
* simplify a log entry•••svn:r5353 Roger Dingledine2005-11-11
* fix a signed/unsigned warning•••svn:r5344 Nick Mathewson2005-11-01
* Do round-robin writes of at most 16 kB per write. This might•••be more fair on loaded Tor servers, and it might resolve our Windows crash bug. It might also slow things down. svn:r5332 Roger Dingledine2005-10-29
* Remove last vestiges of old logging interface.•••svn:r5317 Nick Mathewson2005-10-25
* Convert circuituse, command, config, connection, relay, router, test to new l...•••svn:r5308 Nick Mathewson2005-10-25
* Downgrade a few INFO level logs to DEBUG again. Also add two or three new•••logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263 Peter Palfrader2005-10-17
* start calling it *ListenAddress rather than *BindAddress,•••since none of our users know what it means to bind an address or port. svn:r5260 Roger Dingledine2005-10-17
* Make a few INFO log lines into DEBUG•••svn:r5257 Peter Palfrader2005-10-17
* more log uncluttering•••svn:r5254 Roger Dingledine2005-10-17
* fix a malformed warning entry•••svn:r5219 Roger Dingledine2005-10-07
* Print address too when we say we cannot bind/listen•••svn:r5213 Peter Palfrader2005-10-07
* Using RAND_pseudo_bytes instead of RAND_bytes is an accident waiting to happe...•••svn:r5210 Nick Mathewson2005-10-06
* Downgrade too-frequent "nothing happened" message from info to debug•••svn:r5200 Nick Mathewson2005-10-05
* and another leak.•••svn:r5175 Nick Mathewson2005-09-30
* by convention, addr is a uint32_t and address is a string.•••that's why we hadn't caught that leak. svn:r5174 Roger Dingledine2005-09-30
* Fix a leak when launching listeners.•••svn:r5173 Nick Mathewson2005-09-30
* Reformat inconsistent function declarations.•••svn:r5160 Nick Mathewson2005-09-30
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ...•••svn:r5150 Nick Mathewson2005-09-29
* Add new config.c function to set options that can fail, and roll back if they...•••svn:r5046 Nick Mathewson2005-09-14
* be more thorough about noticing when a directory request has failed:•••it has failed not only when the connection attempt fails, but also if the conn reaches eof before we get a response that we're happy with. svn:r5013 Roger Dingledine2005-09-12
* Numerous changes to move towards client-side v2 directories.•••connection.c: - Add some more connection accessor functions to make directory download redundancy checking work. directory.c, or.h, router.c, routerlist.c: - Start on logic to note when networkstatus downloads fail. dirserv.c, routerlist.c, routerparse.c: - Start maintaining an is_named field in routerstatus_t. Don't actually look at it yet. dirserv.c, routerlist.c: - Remove expired networkstatus objects. or.h: - Make some booleans into bitfields - Add prototypes routerlist.c: - Sort networkstatus list by publication time - Function to remove old (older than 10 days) networkstatus objects. - Function to set a list of routerinfo_ts' status info from the current set of networkstatus objects. - Function to tell which routerinfos we need to download based no the current set of networkstatus objects. - Do not launch a networkstatus download if a redundant one is in progress. routerparse.c: - Keep router entries in networkstatus sorted by digest. svn:r5012 Nick Mathewson2005-09-12
* add conn->requested_resource to connection_t checks.•••svn:r4951 Nick Mathewson2005-09-08