Age | Commit message (Collapse) | Author |
|
its hsdir status
svn:r13037
|
|
svn:r12900
|
|
svn:r12826
|
|
svn:r12825
|
|
svn:r12786
|
|
svn:r12619
|
|
svn:r12607
|
|
svn:r12580
|
|
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
|
|
Try to make hidden service directory lookup functions a bit more efficient: go for fewer O(n) operations, and look at the consensus rather than the routerinfo list.
svn:r12361
|
|
More tweaks from karsten, with some cleanup and commentary.
svn:r12319
|
|
svn:r12315
|
|
Clients download and cache new hidden descriptor format.
svn:r12302
|
|
Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate.
svn:r12299
|
|
Tidy last patch a bit.
svn:r12273
|
|
Patch from Karsten: Code to act as (and use) v2 hidden service directories.
svn:r12272
|
|
Tidy v2 hidden service descriptor format code: fix memory leaks, fix reference problems, note magic numbers, note questions, remove redundant checks, remove a possible stack smashing bug when encoding a descriptor with no protocols supported.
svn:r12255
|
|
Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors.
svn:r12254
|
|
clients specify their chosen rendezvous point by identity digest
rather than by (potentially ambiguous) nickname. This change could
speed up hidden service connections dramatically.
svn:r11499
|
|
svn:r11498
|
|
them anyway, and the code has probably rotted by now. Based on
patch from Karsten Loesing.
svn:r11496
|
|
Check correct circuit type when calling functions from rend_process_relay_cell. Backport candidate.
svn:r11336
|
|
svn:r10111
|
|
svn:r10077
|
|
Minor cleanups on hidden service usage patch from Karsten: tidy documentation; make free_all idempotent (and safe to call even if we have not yet initialized rephist); and stop using "l" as a variable name (it is too easy to confuse with "1").
svn:r10068
|
|
Initial version of patch from Karsten Loesing: Add an HSAuthorityRecordStats option to track statistics of overall hidden service usage without logging information that would be useful to an attacker.
svn:r10067
|
|
svn:r10022
|
|
Update copyright dates.
svn:r9570
|
|
Dump breakdown of PK operations when we get a USR2 signal. This should help us figure out of we are doing some of them for stupid reasons.
svn:r8881
|
|
The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx.
svn:r8664
|
|
circuit_t into origin_circuit_t and or_circuit_t. I fixed some
segaults; there may be more. We still need to move more rendezvous
stuff into subtypes.
This is a trial run for splitting up connection_t; if the approach is
insane, please say so soon so we can do something smarter.
Also, this discards the old HALF_OPEN code, which nobody seems to
want.
svn:r6817
|
|
svn:r6549
|
|
add a comment in a few places where we add weird numbers to buffer lengths
svn:r6161
|
|
svn:r6143
|
|
1) Surround all constants by (parens), whether we'll be using them
in a denominator or not.
2) Express all time periods as products (24*60*60), not as multiplied-out
constants (86400).
3) Comments like "(60*60) /* one hour */" are as pointless as comments
like "c = a + b; /* set c to the sum of a and b */". Remove them.
4) All time periods should be #defined constants, not given inline.
5) All time periods should have doxygen comments.
6) All time periods, unless specified, are in seconds. It's not necessary
to say so.
To summarize, the old (lack of) style would allow:
#define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */
next_try = now + 3600;
The new style is:
/** How often do we reattempt foo? */
#define FOO_RETRY_INTERVAL (60*60)
next_try = now + RETRY_INTERVAL;
svn:r6142
|
|
we can't do anything about them anyway.
svn:r6073
|
|
svn:r6005
|
|
svn:r5949
|
|
intended.
svn:r5582
|
|
weasel with valgrind. Backport candidate.
svn:r5579
|
|
we screwed up the formatting in wild and unpredictable ways.
fix it before it becomes convention to format logs in wild and
unpredictable ways.
still need to do src/common/ someday.
svn:r5551
|
|
svn:r5317
|
|
interface; use new circ_log_path interface
svn:r5302
|
|
svn:r5286
|
|
svn:r5257
|
|
svn:r5160
|
|
svn:r4966
|
|
svn:r4964
|
|
for the hidserv desc
nick can you check that this is enough now?
svn:r4628
|
|
nick, please check the logic here
svn:r4627
|