aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-08-19Some final (?) cleanups of proposal 166 implementation.Karsten Loesing
2009-08-19Fix a couple of bugs that showed up at runtime.Karsten Loesing
2009-08-19Don't write extra-info document to debug logs.Karsten Loesing
2009-08-19Move all *-stats file to subdirectory stats/.Karsten Loesing
2009-08-19Include only the last 24 hours of stats in extra-info documents.Karsten Loesing
2009-08-19Write all statistics to disk exactly every 24 hours.Karsten Loesing
2009-08-18Clean up proposal 166 and its implementation.Karsten Loesing
2009-08-17Use memory pool for insertion times.Karsten Loesing
2009-08-17Implement queue with O(1) operations, and correct some math.Karsten Loesing
2009-08-17Reduce cell statistics accuracy from 1 ms to 10 ms.Karsten Loesing
2009-08-17Fix trivial bug when uploading extra-info documents.Karsten Loesing
2009-08-17Include contents of *-stats files in descriptor.Karsten Loesing
2009-08-17Remove ./configure option for cell statistics.Karsten Loesing
2009-08-17Remove ./configure option for entry and dir request statistics.Karsten Loesing
2009-08-14Remove ./configure option for exit port statistics.Karsten Loesing
2009-08-12Merge commit 'origin/maint-0.2.1'Nick Mathewson
2009-08-11Fix possible segmentation fault on directory authorities.Karsten Loesing
The more verbose logs that were added in ee58153 also include a string that might not have been initialized. This can lead to segfaults, e.g., when setting up private Tor networks. Initialize this string with NULL.
2009-08-10Merge branch 'maint-0.2.1'Roger Dingledine
2009-08-10Send sendmes when we're down 100 cells, not 101.Roger Dingledine
Send circuit or stream sendme cells when our window has decreased by 100 cells, not when it has decreased by 101 cells. Bug uncovered by Karsten when testing the "reduce circuit window" performance patch. Bugfix on the 54th commit on Tor -- from July 2002, before the release of Tor 0.0.0. This is the new winner of the oldest-bug prize.
2009-08-10Merge branch 'maint-0.2.1' into tmp_mergeRoger Dingledine
2009-08-10Set up urras as the seventh v3 directory authority.Roger Dingledine
2009-08-08LetsKillNoConnect removes support for .noconnectJacob Appelbaum
This is a patch to remove support for .noconnect. We are removing .noconnect because of a talk at Defcon 17 by Gregory Fleischer.
2009-08-07Disable .exit notation unless AllowDotExit is 1.Roger Dingledine
2009-07-30Merge commit 'origin/maint-0.2.1'Nick Mathewson
Resolved onflicts in: ChangeLog src/or/config.c src/or/or.h
2009-07-30Cleaner fix for get_effective_bw(rate|burst), with comment on why it is ok.Nick Mathewson
2009-07-30Fix signed/unsigned comparison warnings in get_effective_bw(rate|burst)Nick Mathewson
2009-07-28Fix a signed/unsigned compile warning in 0.2.1.19Roger Dingledine
2009-07-28Merge branch 'maint-0.2.1' into masterRoger Dingledine
2009-07-28bump to 0.2.1.19tor-0.2.1.19Roger Dingledine
2009-07-27Changing MaxAdvertisedBW may not need a republishSebastian Hahn
Relays no longer publish a new server descriptor if they change their MaxAdvertisedBandwidth config option but it doesn't end up changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc; fixes bug 1026. Patch from Sebastian.
2009-07-27Write fingerprint to file and log without spacesRoger Dingledine
Now it will look like the fingerprints in our bridges documentation, and confuse fewer users.
2009-07-27Don't leak memory if we get too many create cellsRoger Dingledine
Specifically, every time we get a create cell but we have so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha; fixes bug 1034. Reported by BarkerJr.
2009-07-27three hacks to workaround bug 1038Roger Dingledine
The problem is that clients and hidden services are receiving relay_early cells, and they tear down the circuit. Hack #1 is for rendezvous points to rewrite relay_early cells to relay cells. That way there are never any incoming relay_early cells. Hack #2 is for clients and hidden services to never send a relay_early cell on an established rendezvous circuit. That works around rendezvous points that haven't upgraded yet. Hack #3 is for clients and hidden services to not tear down the circuit when they receive an inbound relay_early cell. We already refuse extend cells at clients.
2009-07-27Fix dirreq and cell stats on 32-bit architectures.Karsten Loesing
When determining how long directory requests take or how long cells spend in queues, we were comparing timestamps on microsecond detail only to convert results to second or millisecond detail later on. But on 32-bit architectures this means that 2^31 microseconds only cover time differences of up to 36 minutes. Instead, compare timestamps on millisecond detail.
2009-07-25Merge commit 'ioerror/DirFetchInfoExtraEarly'Nick Mathewson
Conflicts: ChangeLog
2009-07-24bump to 0.2.1.18tor-0.2.1.18Roger Dingledine
2009-07-24Fix unit tests.Karsten Loesing
Now that we require EntryStatistics to be 1 for counting connecting clients, unit tests need to set that config option, too. Reported by Sebastian Hahn.
2009-07-23don't warn about DirReqStatistics when the option is disabledSebastian Hahn
Reported by Zax on #tor
2009-07-18Make exit stats compile on 64-bit machines, too.Karsten Loesing
2009-07-16Clean up the accountingmax section in torrc.sampleRoger Dingledine
Also, suggest a default of 4GB/day (46KB/s) rather than 1GB/day (11.5KB/s). No use asking low.
2009-07-16Merge branch 'dirreq-timing'Nick Mathewson
2009-07-16Switch dirreq_map to use HT_ functions rather than strmap.Nick Mathewson
2009-07-16Include AccountingMax in torrc.sampleNick Mathewson
"There's room for one more till the end of creation." -- _Sandman_ (Based on patch from David [edeca]. Closes bug 1036.)
2009-07-15fix long lineSebastian Hahn
2009-07-15Some tweaks to statistics.Karsten Loesing
Changes to directory request statistics: - Rename GEOIP statistics to DIRREQ statistics, because they now include more than only GeoIP-based statistics, whereas other statistics are GeoIP-dependent, too. - Rename output file from geoip-stats to dirreq-stats. - Add new config option DirReqStatistics that is required to measure directory request statistics. - Clean up ChangeLog. Also ensure that entry guards statistics have access to a local GeoIP database.
2009-07-15Some tweaks to directory request download times.Karsten Loesing
- Use common prefixes DIRREQ_* and dirreq_*. - Replace enums in structs with bitfields.
2009-07-15Round up results to the next multiple of 4.Karsten Loesing
2009-07-15Right, the u in uint stands for unsigned.Karsten Loesing
2009-07-15Directories now also measure download times of network statuses.Karsten Loesing
2009-07-15Allow interval and memunit cfg variables to be set to fractions.Nick Mathewson