aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
Commit message (Expand)AuthorAge
* 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
* Docment or add DOCDOC comments to undocumented functions in src/or. Make fun...•••svn:r4411 Nick Mathewson2005-06-11
* Change end-of-file NLNL convention. It turns out arma I and I agree.•••svn:r4382 Nick Mathewson2005-06-09
* New whitespace normalization rule: no blank line at EOF.•••svn:r4378 Nick Mathewson2005-06-09
* Handle relay cells with rh.length too large.•••svn:r4264 Nick Mathewson2005-05-17
* remove archaic debugging aid that was probably unsafe•••svn:r4176 Roger Dingledine2005-05-03
* first iteration of scrubbing sensitive strings from logs.•••also generally clean up log messages. svn:r4174 Roger Dingledine2005-05-03
* New and frightening code to implement fast-path first-hop CREATE_FAST cells. ...•••svn:r4162 Nick Mathewson2005-05-02
* allow servers to publish descriptors from 12 hours in the future.•••hopefully this will allow more slack and let crummier servers help out too. svn:r4046 Roger Dingledine2005-04-07
* Change conn_(type|state)_to_string from const arrays to switch functions so w...•••svn:r4045 Nick Mathewson2005-04-07
* Rename circuit_get_by_stream to circuit_get_by_edge_conn, and actually start ...•••svn:r4026 Nick Mathewson2005-04-06
* Hopefully, this will make ORs much faster, and not break them: keep a big spl...•••svn:r4020 Nick Mathewson2005-04-06
* client now retries when streams end early for 'hibernating' or•••'resource limit' reasons; refactor. svn:r4004 Roger Dingledine2005-04-04
* Give better warnings if connection_close_unattached_ap gets called twice or c...•••svn:r3990 Nick Mathewson2005-04-02
* update copyright notices.•••svn:r3982 Nick Mathewson2005-04-01
* clean up socks reply stuff more.•••add a few more reasons so we can be more informative. svn:r3895 Roger Dingledine2005-03-27
* stop most cases of hanging up on a socks connection without sending•••the socks reject. audit for remaining ones. also make things more uniform so we always remember to hold-open-until-flushed, etc. svn:r3891 Roger Dingledine2005-03-27
* fix assert: stop trying to send a socks reply to an *exit*•••connection when we get an end cell before it's finished opening. svn:r3886 Roger Dingledine2005-03-26
* fix another case where we need to send a socks reply (reject)•••back before we close the conn. svn:r3876 Roger Dingledine2005-03-25
* forward-port the circuit_resume_edge_reading_helper fix.•••svn:r3863 Roger Dingledine2005-03-24
* whoops, fix seg fault i just introduced•••svn:r3828 Roger Dingledine2005-03-23
* fix assert triggers (bugs 109 and 96), and put in some•••debugging logs to notice future repeat bugs. svn:r3826 Roger Dingledine2005-03-23
* Specify and implement close-stream and close-circuit control messages•••svn:r3814 Nick Mathewson2005-03-22
* remove obsolete code•••svn:r3809 Roger Dingledine2005-03-22
* Commit fixes for several pending tor core tasks: document all DOCDOCed functi...•••svn:r3769 Nick Mathewson2005-03-17
* Raise common code for "detach this stream and try it with a different circuit...•••svn:r3756 Nick Mathewson2005-03-14
* bugfix: now that we don't do the client dns thing, our checks•••to see if somebody was contradicting his exit policy were wrong. svn:r3755 Roger Dingledine2005-03-13
* Remove unused macro; add a comment on remaining macros.•••svn:r3744 Nick Mathewson2005-03-11
* Fix error codes to work on windows•••svn:r3738 Nick Mathewson2005-03-10
* Still more code to make sure we send the right number and kind of RELAY END c...•••svn:r3723 Nick Mathewson2005-03-02
* Revise all calls to connection_edge_end to avoid sending MISC, and to take er...•••svn:r3720 Nick Mathewson2005-03-01
* Forward-port new reasons; clean up code more; add code to convert new reasons...•••svn:r3719 Nick Mathewson2005-03-01
* cache .exit address better (i think)•••svn:r3684 Roger Dingledine2005-02-24
* stop a potential overflow (pointed out by ilja)•••svn:r3681 Roger Dingledine2005-02-24
* Add a new AddressMap directive to rewrite incoming socks addresses.•••Add a new TrackHostExits directive to trigger addressmaps for certain incoming socks addresses, for sites that break when your exit keeps changing. Redo the client-side dns cache so it's just an addressmap too. svn:r3641 Roger Dingledine2005-02-22
* remove redundant unpack in critical path•••svn:r3620 Nick Mathewson2005-02-13
* be safe: if you got a resolvefailed end cell but you're not an AP, bail.•••svn:r3469 Roger Dingledine2005-01-30
* Introduce a notion of 'internal' circs, which are chosen without regard•••to the exit policy of the last hop. Intro and rendezvous circs must be internal circs, to avoid leaking information. Resolve and connect streams can use internal circs if they want. New circuit pooling algorithm: make sure to have enough circs around to satisfy any predicted ports, and also make sure to have 2 internal circs around if we've required internal circs lately (with high uptime if we've seen that lately). Split NewCircuitPeriod config option into NewCircuitPeriod (30 secs), which describes how often we retry making new circuits if current ones are dirty, and MaxCircuitDirtiness (10 mins), which describes how long we're willing to make use of an already-dirty circuit. Once rendezvous circuits are established, keep using the same circuit as long as you attach a new stream to it at least every 10 minutes. (So web browsing doesn't require you to build new rend circs every 30 seconds.) Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND circ as necessary, if there are any completed ones lying around when we try to launch one. Re-instate the ifdef's to use version-0 style introduce cells, since there was yet another bug in handling version-1 style. We'll try switching over again after 0.0.9 is obsolete. Bugfix: when choosing an exit node for a new non-internal circ, don't take into account whether it'll be useful for any pending x.onion addresses -- it won't. Bugfix: we weren't actually publishing the hidden service descriptor when it became dirty. So we only published it every 20 minutes or so, which means when you first start your Tor, the hidden service will seem broken. svn:r3360 Roger Dingledine2005-01-17
* clean up string printing in relay logs•••svn:r3317 Roger Dingledine2005-01-06
* fix trivial typo in log entry•••svn:r3316 Roger Dingledine2005-01-06
* Fix a double-mark-for-close bug, where we were finding a conn•••for a cell even if that conn is already marked for close. Don't back-port to 0.0.9.x, since this fix could have weird implications. svn:r3235 Roger Dingledine2005-01-01
* clarify a log entry•••svn:r3142 Roger Dingledine2004-12-13
* clean up logging,•••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 Roger Dingledine2004-12-13