aboutsummaryrefslogtreecommitdiff
path: root/src/or/reasons.c
AgeCommit message (Collapse)Author
2012-06-05Merge remote-tracking branch 'public/bug4710'Nick Mathewson
2012-06-04Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson
2012-05-16Report EADDRNOTAVAIL and EADDRINUSE as RESOURCELIMITNick Mathewson
These errors usually mean address exhaustion; reporting them as such lets clients adjust their load to try other exits. Fix for bug 4710; bugfix on 0.1.0.1-rc, which started using END_STREAM_REASON_RESOURCELIMIT.
2012-01-31Use the standard _WIN32, not the Torism MS_WINDOWS or deprecated WIN32Nick Mathewson
This commit is completely mechanical; I used this perl script to make it: #!/usr/bin/perl -w -i.bak -p if (/^\s*\#/) { s/MS_WINDOWS/_WIN32/g; s/\bWIN32\b/_WIN32/g; }
2011-03-28Send END_STREAM_REASON_NOROUTE: clients that didn't grok it are now obsoleteNick Mathewson
2011-03-25Triage the XXX022 and XXX021 comments remaining in the codeNick Mathewson
Remove some, postpone others, leave some alone. Now the only remaining XXX022s are ones that seem important to fix or investigate.
2011-01-25Add client code to detect attempts to connect to 127.0.0.1 etcNick Mathewson
We detect and reject said attempts if there is no chosen exit node or circuit: connecting to a private addr via a randomly chosen exit node will usually fail (if all exits reject private addresses), is always ill-defined (you're not asking for any particular host or service), and usually an error (you've configured all requests to go over Tor when you really wanted to configure all _remote_ requests to go over Tor). This can also help detect forwarding loop requests. Found as part of bug2279.
2011-01-03Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
Conflicts: src/common/test.h src/or/test.c
2011-01-03Bump copyright statements to 2011Nick Mathewson
2010-11-23Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes ↵Nick Mathewson
0.2.1 compilation on windows
2010-09-29Send control port events for timeouts.Mike Perry
We now differentiate between timeouts and cutoffs by the REASON string and the PURPOSE string.
2010-08-19Fix up compilation on windows.Nick Mathewson
2010-08-18Merge commit 'origin/maint-0.2.1'Nick Mathewson
Conflicts: src/or/reasons.c
2010-08-18Backport END_STREAM_REASON_NOROUTE for client use.Sebastian Hahn
(Partial backport of 150ed553dfce9, 161b275028e90, and 4c948ffd6.)
2010-08-15Make Sebastian's misc-reasons branch compile; frob the changes fileNick Mathewson
2010-08-15Merge commit 'sebastian/misc-reason'Nick Mathewson
2010-08-03Introduce END_STREAM_REASON_NOROUTESebastian Hahn
2010-08-03Handle EHOSTUNREACH in errno_to_stream_end_reason()Sebastian Hahn
We used to not recognize it and returned END_STREAM_REASON_MISC. Instead, return END_STREAM_REASON_INTERNAL.
2010-07-27Create reasons.hSebastian Hahn
2010-07-27Create config.hSebastian Hahn
2010-04-12Log bandwidth_weight_rule_t as a string, not an integer.Nick Mathewson
I'm adding this because I can never remember what stuff like 'rule 3' means. That's the one where if somebody goes limp or taps out, the fight is over, right?
2010-02-27Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
Conflicts: src/common/test.h src/or/test.c
2010-02-27Update Tor Project copyright yearsNick Mathewson
2009-08-26A changelog entry and a bit more documentation for socks-clientNick Mathewson
2009-08-25Clean up a couple of style issues in the socks-client branch.Nick Mathewson
2009-06-19Move SOCKS reason-decoding switches into reasons.cNick Mathewson
2009-05-04Update copyright to 2009.Karsten Loesing
2009-05-02Update copyright to 2009.Karsten Loesing
2009-01-04Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson
The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
2008-12-18Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this ↵Nick Mathewson
patch. svn:r17686
2008-06-13Actually reinstate errors that did not work on windows, and add a comment ↵Nick Mathewson
about reading the documentation of the S_CASE and E_CASE macros before adding new cases to the switch statements there. svn:r15179
2008-06-13ignore some errnos in hopes of building on windows againRoger Dingledine
svn:r15178
2008-06-11start sending "bootstrap problem" status events when we're having troublesRoger Dingledine
reaching relays. svn:r15116
2008-06-11consolidate all our edge/circ/orconn reason-to-foo-or-back functionsRoger Dingledine
svn:r15115