Nick Mathewson
|
099b9ce2f9
|
Fix bug 230: add a rollback function to reverse all changes since the last mark_logs_temp(), and move log initialization into the two-phase part of option setting.
svn:r5803
|
2006-01-11 19:40:14 +00:00 |
|
Roger Dingledine
|
a8bb654c2b
|
bump to 0.1.1.11-alpha-cvs
svn:r5799
|
2006-01-11 06:19:00 +00:00 |
|
Roger Dingledine
|
5ca40affeb
|
we were leaking a smartlist every time we built a circuit
svn:r5795
|
2006-01-11 04:14:10 +00:00 |
|
Nick Mathewson
|
d60faa7c93
|
Fix another memleak. I love you, valgrind!
svn:r5794
|
2006-01-11 04:09:40 +00:00 |
|
Nick Mathewson
|
8907391ad6
|
Fix wide lines
svn:r5793
|
2006-01-11 04:04:42 +00:00 |
|
Nick Mathewson
|
5c78c89471
|
Appease verbose gcc warning: make dirserv_compute_stable_uptime() static.
svn:r5792
|
2006-01-11 03:59:55 +00:00 |
|
Roger Dingledine
|
284fe9cad5
|
if we learn that a down entry guard is up, count our working entry
guards correctly when logging.
svn:r5791
|
2006-01-11 03:58:59 +00:00 |
|
Nick Mathewson
|
eb78295e4e
|
Fix memory leak in routerlist_remove_old_routers().
svn:r5790
|
2006-01-11 03:58:07 +00:00 |
|
Nick Mathewson
|
6a9ca9e790
|
Convert some more ints to long longs in rephist.c, as suggested by windows compiler.
svn:r5789
|
2006-01-11 03:57:01 +00:00 |
|
Roger Dingledine
|
d1baa0c4a6
|
we were leaking 3KB every time the entry guards changed, every time
the controller called saveconf, and every 20 minutes.
svn:r5788
|
2006-01-11 03:20:53 +00:00 |
|
Roger Dingledine
|
8f271f2f5a
|
we changed the name of AccountingBytesReadInInterval
change its state file description too
svn:r5785
|
2006-01-10 23:26:59 +00:00 |
|
Roger Dingledine
|
906a2c8ef0
|
bump to 0.1.1.11-alpha in preparation for release
svn:r5783
|
2006-01-10 23:16:36 +00:00 |
|
Roger Dingledine
|
7d1f675c85
|
entry nodes are now entry guards.
this is our last easy chance for a wholesale change. heave ho.
svn:r5782
|
2006-01-10 22:42:44 +00:00 |
|
Nick Mathewson
|
55ac4f032c
|
Add a (diabled by default) option in crypto.h to disable most of the interesting crypto-related changes made on 0.1.1.9. This will help hunt bug 234.
svn:r5777
|
2006-01-10 21:12:06 +00:00 |
|
Roger Dingledine
|
210d9db54d
|
and even more so
svn:r5776
|
2006-01-10 21:01:30 +00:00 |
|
Roger Dingledine
|
aea0a78254
|
make entry node logging slightly less chatty.
still quite chatty. it's an alpha, that's ok.
svn:r5775
|
2006-01-10 20:59:39 +00:00 |
|
Nick Mathewson
|
bef879540a
|
#undef FOO is cleaner than #define FOO_XX
svn:r5774
|
2006-01-10 20:50:22 +00:00 |
|
Nick Mathewson
|
4a7ee9bd3d
|
Make unittests pass again.
svn:r5773
|
2006-01-10 20:47:24 +00:00 |
|
Roger Dingledine
|
b2d79f278b
|
or_state_validate() needs an extra arg too or it will crash
svn:r5772
|
2006-01-10 20:38:33 +00:00 |
|
Roger Dingledine
|
f4299f0f44
|
hack to address bug 238.
needs a better fix, but not for 0.1.1.11.
svn:r5771
|
2006-01-10 20:27:47 +00:00 |
|
Roger Dingledine
|
d114ea7125
|
implement getinfo desc/all-recent
closes bug 237.
svn:r5770
|
2006-01-10 20:09:31 +00:00 |
|
Roger Dingledine
|
f71273c216
|
fix bug 235
svn:r5768
|
2006-01-10 20:06:24 +00:00 |
|
Nick Mathewson
|
7fc62029d4
|
Refuse to use RunAsDaemon when torrc is a relative path. Fixes bug 229.
svn:r5767
|
2006-01-10 20:00:20 +00:00 |
|
Nick Mathewson
|
e1d1ce3da8
|
Warn about actual offending hiddenservice* config option, now that more than one is possible. Closes bug 239.
svn:r5766
|
2006-01-10 19:28:31 +00:00 |
|
Nick Mathewson
|
2fda7140e8
|
Fix bug 221 and bug 201: For 221, check return value from connection_add() when adding a rendezvous post connection. For 201, do not include a content-length 0 with a GET request.
svn:r5765
|
2006-01-10 19:24:40 +00:00 |
|
Roger Dingledine
|
c8e6003412
|
balance the reachability testing so a smidgen of it happens
every 10 seconds. this way we don't try to do 500 tls's at
once every 20 minutes.
svn:r5763
|
2006-01-10 07:21:01 +00:00 |
|
Nick Mathewson
|
43a4f8c7f3
|
Be more aggressive about throwing away expired router descriptors: they are of no use to anybody. Better still: dont serve expired descriptors by fingerprint. The only people who ask for them are busted 0.1.1.10 Tors that will throw them away and re-request them after 30 minutes.
svn:r5762
|
2006-01-10 04:57:12 +00:00 |
|
Nick Mathewson
|
56c55c343e
|
When picking a random directory, prefer non-authorities if any are known.
svn:r5761
|
2006-01-09 23:39:07 +00:00 |
|
Nick Mathewson
|
bec9b705cc
|
Instrument directory client bytes as well as server bytes.
svn:r5760
|
2006-01-09 23:13:53 +00:00 |
|
Nick Mathewson
|
10100c4315
|
Make instrmentation code a little cleaner.
svn:r5759
|
2006-01-08 22:19:41 +00:00 |
|
Roger Dingledine
|
fa05c1b21b
|
remove the loud logging of busted rendezvous descriptors
svn:r5758
|
2006-01-08 22:16:30 +00:00 |
|
Roger Dingledine
|
6dcbbda43b
|
remove typo
svn:r5757
|
2006-01-08 22:16:09 +00:00 |
|
Nick Mathewson
|
ff9cfa9644
|
Instrument how many directory bytes we are serving in what kind of request.
svn:r5756
|
2006-01-08 22:09:54 +00:00 |
|
Nick Mathewson
|
5d709e8517
|
Fix bug in last commit. Also, fix bug 231: authorities should never treat their own descriptor changes as cosmetic.
svn:r5755
|
2006-01-08 21:33:15 +00:00 |
|
Nick Mathewson
|
e30516f33f
|
Fix bug 236: caches should cache up to 16 unrecognized network-status docs.
svn:r5754
|
2006-01-08 21:26:33 +00:00 |
|
Roger Dingledine
|
1dd8ebf615
|
bugfix: we were leaving open duplicate connections to other ORs
for a week, rather than closing them once we detect a duplicate.
also, avoid some duplicate mark-for-closes in connection-housekeeping.
svn:r5752
|
2006-01-07 03:56:56 +00:00 |
|
Roger Dingledine
|
9796733e89
|
"Pending" is a bad term for a circuit that uses your server as its last hop.
svn:r5751
|
2006-01-07 02:31:14 +00:00 |
|
Roger Dingledine
|
d4d7a49411
|
fix typo
svn:r5750
|
2006-01-07 02:12:38 +00:00 |
|
Roger Dingledine
|
af54b73985
|
and get the log arguments right
svn:r5747
|
2006-01-07 01:43:09 +00:00 |
|
Roger Dingledine
|
ba339b8a4d
|
a more correct log message
svn:r5746
|
2006-01-07 01:41:17 +00:00 |
|
Roger Dingledine
|
654b61a2e8
|
Jan 05 19:39:27.356 [warn] connection_edge_process_end_not_open():
Got an end because of misc error, but we're not an AP. Closing.
svn:r5744
|
2006-01-07 01:02:21 +00:00 |
|
Roger Dingledine
|
f88fa3efc1
|
helper nodes are dead
svn:r5743
|
2006-01-07 00:41:50 +00:00 |
|
Nick Mathewson
|
50b6b3258d
|
Dont call directory_get_from_dirserver when you have a particular dirserver in mind; remove fetch-from-authority special-case in directory_get_from_dirserver.
svn:r5741
|
2006-01-06 18:19:17 +00:00 |
|
Nick Mathewson
|
f0fb9f6b0c
|
Directory authorities should go to the proper authority when asking for a networkstatus, even when they want a compressed one. (Also, bullet-proof the logic in case we ever accidentally request a networkstatus for a non-authority.)
svn:r5740
|
2006-01-06 18:05:48 +00:00 |
|
Nick Mathewson
|
65f76bad4f
|
Add descriptions for state variables; rename AccountingBytesRead{In}Interval; remove extraneous and unused struct member.
svn:r5739
|
2006-01-06 15:43:03 +00:00 |
|
Nick Mathewson
|
447e6ffffd
|
Fix bug where OPs would try to generate descriptor and crash.
svn:r5738
|
2006-01-06 15:40:34 +00:00 |
|
Nick Mathewson
|
878962bee1
|
Add reasons to DESTROY and RELAY_TRUNCATED cells.
svn:r5734
|
2006-01-05 21:23:03 +00:00 |
|
Roger Dingledine
|
d8e3bc0288
|
fix a wrong string
svn:r5733
|
2006-01-05 12:18:34 +00:00 |
|
Roger Dingledine
|
6aaa92f736
|
short-circuit half the cost of node-picking in the general case.
svn:r5732
|
2006-01-05 10:59:46 +00:00 |
|
Roger Dingledine
|
1107c40dc0
|
mention a recommended log level in the sample torrc file
svn:r5731
|
2006-01-05 10:37:22 +00:00 |
|