aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
Commit message (Expand)AuthorAge
* general cleanups from looking through or-cvs•••svn:r8855 Roger Dingledine2006-10-29
* r9307@Kushana: nickm | 2006-10-20 13:53:54 -0400••• Have connection_about_to_close use an end_reason field in edge_connection_t to tell what reason to tell the controller for closing the stream. Set end_reason in connection_edge_end, connection_mark_unattached_ap, and everwhere we set edge_has_sent_end. Add a changelog entry. svn:r8779 Nick Mathewson2006-10-20
* r9306@Kushana: nickm | 2006-10-20 13:27:43 -0400••• Enable reasons for stream events in all cases but CLOSED in about_to_close_connection. That one will take a little longer. svn:r8778 Nick Mathewson2006-10-20
* r9298@dhcp-18-188-67-85: nickm | 2006-10-20 11:25:07 -0400••• Weasel correctly notes that we should not discard the return value from connection_exit_begin_con. Right now, the return value is always discardable, so this does not actually cause a bug, but it might later. So fix it. svn:r8774 Nick Mathewson2006-10-20
* r9289@31-35-219: nickm | 2006-10-20 09:43:22 -0400••• Fix longstanding bug in connection_exit_begin_conn(): Since connection_edge_end() exits when the connection is unattached, we were never sending RELAY_END cells back for failed RELAY_BEGIN attempts. Fix this. This might make clients that were otherwise timing out either fail faster or retry faster, which is good news for us. svn:r8770 Nick Mathewson2006-10-20
* clean up and downgrade some log messages•••svn:r8727 Roger Dingledine2006-10-15
* r9017@totoro: nickm | 2006-10-13 01:27:33 -0400••• Second patch to work on circuit close reasons from Mike Perry. Disabled partially; see comment. Whitespace cleaned up. svn:r8699 Nick Mathewson2006-10-13
* more minor cleanups•••svn:r8630 Roger Dingledine2006-10-07
* if we fail to build a circuit to an intended enclave, and it's•••not mandatory that we use that enclave, stop wanting it. svn:r8559 Roger Dingledine2006-10-01
* r9032@Kushana: nickm | 2006-09-29 18:51:42 -0400••• Now, all log messages should be distinct. svn:r8545 Nick Mathewson2006-09-29
* r8997@Kushana: nickm | 2006-09-28 23:40:22 -0400••• [Needs review.] Add a BEGIN_DIR relay cell type for an easier in-protocol way to connect to directory servers through Tor. Previously, clients could only connect to director servers over Tor from exit nodes, but couldn't get directory information anonymously from a non-exit cache without getting a directory server involved. This needs testing, and needs client-side code to actually exercise it. svn:r8527 Nick Mathewson2006-09-29
* r8895@Kushana: nickm | 2006-09-21 20:05:11 -0400••• Debug client-side reverse dns code. svn:r8452 Nick Mathewson2006-09-22
* remove some loud log messages•••svn:r8450 Roger Dingledine2006-09-22
* prefer calling it a client rather than an OP•••svn:r8334 Roger Dingledine2006-09-07
* r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700••• Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS. svn:r7007 Nick Mathewson2006-08-10
* r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400••• Rename some fields, compress a bitfield, and document some structs and fields svn:r6919 Nick Mathewson2006-07-27
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400••• Clean up wide lines from last patch. svn:r6907 Nick Mathewson2006-07-26
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400••• Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906 Nick Mathewson2006-07-26
* Don't tell anybody, but we're going OO here. This patch splits•••circuit_t into origin_circuit_t and or_circuit_t. I fixed some segaults; there may be more. We still need to move more rendezvous stuff into subtypes. This is a trial run for splitting up connection_t; if the approach is insane, please say so soon so we can do something smarter. Also, this discards the old HALF_OPEN code, which nobody seems to want. svn:r6817 Nick Mathewson2006-07-23
* If we are using an exit enclave and we can't connect, e.g. because•••its webserver is misconfigured to not listen on localhost, then back off and try connecting from somewhere else before we fail. svn:r6783 Roger Dingledine2006-07-18
* minor fixes•••svn:r6709 Roger Dingledine2006-07-04
* Add a new warning to our "warn a lot" list: unused parameters. This means we...•••svn:r6532 Nick Mathewson2006-06-04
* the last of the log convention conversion. finally.•••svn:r6005 Roger Dingledine2006-02-13
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* Jan 05 19:39:27.356 [warn] connection_edge_process_end_not_open():•••Got an end because of misc error, but we're not an AP. Closing. svn:r5744 Roger Dingledine2006-01-07
* Add reasons to DESTROY and RELAY_TRUNCATED cells.•••svn:r5734 Nick Mathewson2006-01-05
* Some tor servers process billions of cells in a matter of days.•••These statistics need to be uint64_t's. svn:r5686 Roger Dingledine2005-12-31
* when we fail three times to resolve or connect, we were telling the•••user it was because we failed to resolve. svn:r5620 Roger Dingledine2005-12-19
* Choose directory servers from routerstatus list, not from routerinfo list. T...•••svn:r5586 Nick Mathewson2005-12-14
* 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
* crank the max line limit down to 150 chars.•••svn:r5550 Roger Dingledine2005-12-10
* Rename connection_get_by_identity_digest to reflect that it is OR-only. Make...•••svn:r5469 Nick Mathewson2005-11-30
* we used to kill the circuit when we receive a relay command we•••don't recognize. now we just drop it. perhaps this will make us more forward-compatible? or perhaps it will bite us? one day we will find out. svn:r5405 Roger Dingledine2005-11-17
* another case where the poor server operator doesn't need to•••hear about lexi's bugs. svn:r5388 Roger Dingledine2005-11-15
* Remove last vestiges of old logging interface.•••svn:r5317 Nick Mathewson2005-10-25
* fix a segv•••svn:r5311 Nick Mathewson2005-10-25
* Convert circuituse, command, config, connection, relay, router, test to new l...•••svn:r5308 Nick Mathewson2005-10-25
* Use LD_BUG as appropriate; convert rend* and router* to new logging interface...•••svn:r5302 Nick Mathewson2005-10-24
* more log uncluttering•••svn:r5254 Roger Dingledine2005-10-17
* start the process of reducing clutter in server logs•••svn:r5253 Roger Dingledine2005-10-17
* bugfix: we were automatically condemning an exit node (concluding•••its advertised exit policy is different from its real one) as soon as it refused any requests. After fixing that bug, another bug appeared: we would try the same server again and again, since once we learned an IP address for a hostname, we still kept think of it as the hostname. now pass it to the remapper before trying to reattach. svn:r4962 Roger Dingledine2005-09-09
* and another byte counting error.•••svn:r4902 Nick Mathewson2005-09-03
* Excellent. We have at least 8 bytes, so I can safely get the 9th.•••svn:r4901 Nick Mathewson2005-09-03
* Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells. Also, add ...•••svn:r4894 Nick Mathewson2005-09-02
* after failing from resolve failed or misc, reset the num failures.•••svn:r4780 Roger Dingledine2005-08-15
* i'm sick of having my streams fail because of a confused exit node.•••try this band-aid to see if it gets better. svn:r4773 Roger Dingledine2005-08-13
* Replace (Fascist)Firewall* with a new ReachableAddresses option that understa...•••svn:r4751 Nick Mathewson2005-08-08
* Logic to implement rendezvous/introduction via unknown servers.•••- Add a new extend_info_t datatype to hold information needed to extend a circuit (addr,port,keyid,onion_key). Use it in cpath and build_state. Make appropriate functions take or return it instead of routerinfo_t or keyid. - #if 0 needless check in circuit_get_by_edge_conn; if nobody triggers this error in 0.1.0.10, nobody will trigger it. - Implement new hidden service descriptor format, which contains "extend info" for introduction points, along with protocol version list. - Parse new format. - Generate new format - Cache old and new formats alongside each other. - Directories serve "old" format if asked in old way, "newest available" format if asked in new way. - Use new format to find introduction points if possible; otherwise fall back. Keep nickname lists and extendinfo lists in sync. - Tests for new format. - Implement new "v2" INTRODUCE cell format. - Accept new format - Use new format if we have a versioned service descriptor that says the server accepts the new format. - Add documentation for functions and data types. svn:r4506 Nick Mathewson2005-06-29
* fix stray funny-character•••svn:r4458 Roger Dingledine2005-06-19