| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
Remove token enum constant in routerparse.c that we do not actually use.
svn:r15841
|
|
|
|
|
|
|
| |
Implement a proposal to let a directory authority migrate its identity key without ceasing to sign consensuses.
svn:r14584
|
|
|
|
|
|
| |
my git-svn repository. Undo r14451
svn:r14452
|
|
|
|
| |
svn:r14451
|
|
|
|
| |
svn:r14449
|
|
|
|
| |
svn:r14446
|
|
|
|
|
|
|
| |
Start new address policies with refcount of 1, not 2. Backport candidate once tested more.
svn:r14204
|
|
|
|
|
|
|
| |
Add code to debug memory area size. Use results of this code to set a couple of area sizes more sanely.
svn:r14201
|
|
|
|
|
|
|
| |
Fix whitespace
svn:r14197
|
|
|
|
|
|
|
| |
Now that every thing in routerparse.c is switched over to use memareas, there is no need to keep the heap-allocated token code.
svn:r14196
|
|
|
|
|
|
|
| |
Make v2 hidden service descriptors use the new area allocation logic. This works for me, but Karsten should definitely have a look at it.
svn:r14195
|
|
|
|
|
|
|
| |
Add new stacklike, free-all-at-once memory allocation strategy. Use it when parsing directory information. This helps parsing speed, and may well help fragmentation some too. hidden-service-related stuff still uses the old tokenizing strategies.
svn:r14194
|
|
|
|
|
|
|
| |
16, not 64.
svn:r14094
|
|
|
|
|
|
|
| |
stunning and i want to know why. :)
svn:r14088
|
|
|
|
|
|
|
| |
Fix bug in earlier bugfix. Note stupidness of allowing NULL policies at all. Disallow empty exit policies in router descriptors.
svn:r14082
|
|
|
|
|
|
|
| |
More 64-to-32 fixes. Partial backport candidate. still not done.
svn:r13680
|
|
|
|
|
|
|
| |
Add asserts and refactor some comparisons in order to fix some veracode-identified issues. Note a bug in buffers.c
svn:r13618
|
|
|
|
|
|
|
| |
Explain why I am right and veracode is wrong in routerparse.c line 1141. Using math!
svn:r13602
|
|
|
|
|
|
|
| |
Add a few asserts to catch possible errors found by veracode.
svn:r13598
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
complain to the user and demand that they upgrade to one of "".
svn:r13401
|
|
|
|
|
|
|
| |
Fix/downgrade some more XXX020s.
svn:r13397
|
|
|
|
|
|
|
| |
Stamp out a bunch of atoi users; make more tor_parse_long() users check their outputs.
svn:r13395
|
|
|
|
|
|
|
| |
As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete.
svn:r13383
|
|
|
|
|
|
| |
can have certificates for dirservers we do not recognize.
svn:r13304
|
|
|
|
| |
svn:r13243
|
|
|
|
|
|
|
| |
Fix some hard to trigger but nonetheless real memory leaks spotted by an anonymous contributor. Needs review. Partial backport candidate.
svn:r13147
|
|
|
|
|
|
|
| |
Add a missing "goto err" when parsing v2 ns docs
svn:r13133
|
|
|
|
|
|
|
| |
Fix a bogus free() call on a base64 failure in router_append_dirobj_signature().
svn:r13129
|
|
|
|
| |
svn:r13095
|
|
|
|
|
|
|
| |
Do not send bridge descriptors over unencrypted connections.
svn:r13094
|
|
|
|
|
|
|
| |
Use reference-counting to avoid allocating a zillion little addr_policy_t objects. (This is an old patch that had been sitting on my hard drive for a while.)
svn:r13017
|
|
|
|
| |
svn:r12901
|
|
|
|
| |
svn:r12900
|
|
|
|
|
|
|
|
|
|
|
| |
create the "cached-status" directory in their datadir. All Tors
used to create it. Bugfix on 0.1.2.x.
Bridge relays with DirPort set to 0 no longer cache v1 or v2
directory information; there's no point. Bugfix on trunk.
svn:r12887
|
|
|
|
|
|
|
|
| |
the annotations -- including reading in bridge-purpose descriptors
as general-purpose descriptors.
svn:r12867
|
|
|
|
| |
svn:r12841
|
|
|
|
|
|
|
| |
fix two actual memory leaks found while cleaning up a bit.
svn:r12829
|
|
|
|
| |
svn:r12786
|
|
|
|
|
|
|
|
| |
requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
crashing or mis-answering these requests.
svn:r12658
|
|
|
|
| |
svn:r12621
|
|
|
|
|
|
|
| |
Do not keep a string representation of every single addr_policy_t lying around. This might save a few hundred K.
svn:r12617
|
|
|
|
| |
svn:r12608
|
|
|
|
| |
svn:r12607
|
|
|
|
|
|
|
|
|
|
| |
that have no introduction points. But Tor crashed when we tried
to build a descriptor with no intro points (and it would have
crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
by Karsten Loesing.
svn:r12579
|
|
|
|
|
|
|
| |
Clean up log messages from bug 543 fix, and make old_routers also keep track of their indices. This will probably crash some until all the bugs are fixed.
svn:r12412
|
|
|
|
|
|
|
|
|
|
| |
consensus directory (size 330543) from server '86.59.21.38:80'
Nov 03 11:15:13.129 [info] networkstatus_set_current_consensus(): Got a consensus we already have
Nov 03 11:15:13.129 [warn] Unable to load consensus directory dowloaded from server '86.59.21.38:80'
svn:r12359
|
|
|
|
|
|
|
| |
Space fixes.
svn:r12345
|
|
|
|
|
|
|
| |
More tweaks from karsten, with some cleanup and commentary.
svn:r12319
|
|
|
|
|
|
|
| |
Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate.
svn:r12299
|