summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2010-08-11Refactor exit port statistics code and add unit tests.Karsten Loesing
2010-08-11tiny change i found in my other sandboxRoger Dingledine
2010-08-09tiny changes i found in my sandboxRoger Dingledine
2010-08-05Move exit-stats code to the end of rephist.c.Karsten Loesing
2010-08-05Only delay counting bridge users if we were a relay beforeSebastian Hahn
2010-08-05Allow enabling or disabling *Statistics while Tor is running.Karsten Loesing
With this patch we stop scheduling when we should write statistics using a single timestamp in run_scheduled_events(). Instead, we remember when a statistics interval starts separately for each statistic type in geoip.c and rephist.c. Every time run_scheduled_events() tries to write stats to disk, it learns when it should schedule the next such attempt. This patch also enables all statistics to be stopped and restarted at a later time. This patch comes with a few refactorings, some of which were not easily doable without the patch.
2010-08-03Fix 'make distcheck'Sebastian Hahn
We were leaving doc/config.log and src/or/micro-revision.i in place during a make clean. Fix that.
2010-08-02Merge branch 'bug1384'Nick Mathewson
2010-08-02Fix a compile warning on OS X 10.6Sebastian Hahn
Also update the changes file to contain a note on which bug was fixed by this.
2010-08-02Bug #919: Don't rebind ports if we receive SIGHUP while hibernating.Chris Ball
2010-08-02Bug #928: Disallow BridgeRelay 1 and ORPort 0 configurationChris Ball
2010-08-02Bug #1107: Complain if PublishServerDescriptor receives 0 or 1 in a listChris Ball
0 or 1 should only be passed as the sole argument. Warn for now, reject in 0.2.3.x.
2010-08-02Merge commit 'sebastian/bug1776_v2'Nick Mathewson
2010-08-02Merge branch 'bug1094_v2'Nick Mathewson
2010-07-31Bug #1222: Clarify new circuit after sleep noticeChris Ball
("Application request when we're believed to be offline." -> "Application request when we haven't used client functionality lately.")
2010-07-31Set up the geoip country table right even if not called normallyNick Mathewson
2010-07-31Move the "nowhereland" logic into geoip.cNick Mathewson
2010-07-31Make "Nowhere" explicitly listable in torrc.Nick Mathewson
We already had the country code ?? indicating an unknown country, so all we needed to do to make unknown countries excludable was to make the ?? code discoverable.
2010-07-31Warn when encounter the same (non-list) option twice in the same placeNick Mathewson
It's okay to get (say) a SocksPort line in the torrc, and then a SocksPort on the command line to override it, and then a SocksPort via a controller to override *that*. But if there are two occurrences of SocksPort in the torrc, or on the command line, or in a single SETCONF command, then the user is likely confused. Our old code would not help unconfuse the user, but would instead silently ignore all but the last occurrence. This patch changes the behavior so that if the some option is passed more than once to any torrc, command line, or SETCONF (each of which coincidentally corresponds to a call to config_assign()), and the option is not a type that allows multiple occurrences (LINELIST or LINELIST_X), then we can warn the user. This closes trac entry 1384.
2010-07-31Allow using regular relays as bridgesSebastian Hahn
2010-07-28Fix typos, make all \brief's conformant, end sentences with a period.Linus Nordberg
2010-07-27Move the header for bandwidth_weight_rule_to_string into reasons.hSebastian Hahn
2010-07-27Don't include crypto, compat and util.h in or.hSebastian Hahn
2010-07-27Add the new header files to noinst_HEADERSSebastian Hahn
Also add a changes/ file.
2010-07-27Create routerparse.hSebastian Hahn
2010-07-27Create rephist.hSebastian Hahn
2010-07-27Create rendmid.hSebastian Hahn
2010-07-27Create relay.hSebastian Hahn
2010-07-27Create reasons.hSebastian Hahn
2010-07-27Create policies.hSebastian Hahn
2010-07-27Create onion.hSebastian Hahn
2010-07-27Create ntmain.hSebastian Hahn
2010-07-27Create networkstatus.hSebastian Hahn
2010-07-27Create microdesc.hSebastian Hahn
2010-07-27Create main.hSebastian Hahn
2010-07-27Create hibernate.hSebastian Hahn
2010-07-27Create dns.hSebastian Hahn
2010-07-27Create dirvote.hSebastian Hahn
2010-07-27Create dirserv.hSebastian Hahn
2010-07-27Create directory.hSebastian Hahn
2010-07-27Create cpuworker.hSebastian Hahn
2010-07-27Create control.hSebastian Hahn
2010-07-27Create connection_or.hSebastian Hahn
2010-07-27Create connection_edge.hSebastian Hahn
2010-07-27Create connection.hSebastian Hahn
2010-07-27Create config.hSebastian Hahn
2010-07-27Create command.hSebastian Hahn
2010-07-27Create circuituse.hSebastian Hahn
2010-07-27Create circuitlist.hSebastian Hahn
2010-07-27Create circuitbuild.hSebastian Hahn