summaryrefslogtreecommitdiff
path: root/src/or/relay.c
AgeCommit message (Collapse)Author
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-28wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine
totally unacceptable to me. svn:r3005
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-28one of the debugging aids was misleadingRoger Dingledine
svn:r3000
2004-11-26give up trying to track down the reason we're calling package_inbufRoger Dingledine
with a package window of 0. it's safe to just catch the error cases there and do the right thing. svn:r2988
2004-11-21clean up some more.Roger Dingledine
i think i'm getting closer. svn:r2931
2004-11-21some more debugging aidsRoger Dingledine
svn:r2929
2004-11-21be more greedy about filling up all relay cells.Roger Dingledine
this may have some bugs in it still. and it may end up not being what we want to do. svn:r2928
2004-11-15clean up socks handling, refuse connections to port 0Roger Dingledine
svn:r2888
2004-11-12Rename exit_policy to addr_policy, since it gets used for SOCKS and ↵Nick Mathewson
directory connections too. Make all policies get validated in options_validate, and make SOCKS/directory policies get set in options_act. svn:r2819
2004-11-09Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson
target; fix a braino in dirserv.c svn:r2758
2004-11-07Clean up copyrights.Roger Dingledine
Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
2004-11-06Make options no longer a global variable.Roger Dingledine
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
2004-11-02Use a stricter set of warnings; make them all pass.Nick Mathewson
svn:r2645
2004-11-02canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine
svn:r2644
2004-10-16don't assert multiple things in the same tor_assert()Roger Dingledine
svn:r2544
2004-10-14Build without warnings on mac gcc 3.3Nick Mathewson
svn:r2487
2004-10-14more int to size_t conversions, fixing one or more amd64 bugsRoger Dingledine
plus a whitespace patch on config.c from vicman svn:r2482
2004-08-15fix assert triggers in 0.0.7.x: if the other side returnsRoger Dingledine
an address 0.0.0.0, don't put it into the client dns cache. svn:r2233
2004-08-15o clients choose nodes proportional to advertised bandwidthRoger Dingledine
o and/or while avoiding unreliable nodes, depending on goals o 'fascistfirewall' option to pick dirservers on port 80 and ORs on port 443. o if a begin failed due to exit policy, but we believe the IP should have been allowed, switch that router to exitpolicy reject *:* until we get our next directory. svn:r2231
2004-08-07avoid racing the mark-for-close when the client hangs up on usRoger Dingledine
at the same time we get an end relay cell. (thanks to wmf for reminding me) svn:r2181
2004-08-05bugfix: when you finish answering a 'resolve' request, hold theRoger Dingledine
connection open so you can flush the answer svn:r2148
2004-07-23don't send an end back for a malformed resolved cell,Roger Dingledine
since they don't establish streams svn:r2119
2004-07-23tor-resolve triggered a has_sent_end warningRoger Dingledine
svn:r2116
2004-07-22clean whitespace and tabsRoger Dingledine
svn:r2115
2004-06-17Implement RESOLVE/RESOLVED cells and socks resolve codeNick Mathewson
svn:r1978
2004-05-15bugfix: if a circuit if borderline too old, then count it as too old.Roger Dingledine
bugfix: we were retrying the same circuit after getting a resolve failure. so of course the next two tries would fail too. now we try a new circuit each time (at most three times). svn:r1867
2004-05-13Break files apart into more modulesRoger Dingledine
* \file circuitbuild.c * \brief The actual details of building circuits. * \file circuitlist.c * \brief Manage the global circuit list. * \file circuituse.c * \brief Launch the right sort of circuits, attach streams to them. * \file connection_edge.c * \brief Handle edge streams. * \file onion.c * \brief Functions to queue create cells, and handle onionskin * parsing and creation. * \file relay.c * \brief Handle relay cell encryption/decryption, plus packaging and * receiving from circuits. svn:r1863
2004-05-12break part of circuit.c into relay.cRoger Dingledine
svn:r1854