| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r12896
|
|
|
|
| |
svn:r12886
|
|
|
|
|
|
|
| |
Also, dump our bridge router status entries to disk every 30 minutes.
svn:r12871
|
|
|
|
|
|
|
| |
Fix some xxx020 items.
svn:r12864
|
|
|
|
|
|
|
| |
Added two XXX020's that we need to think harder about.
svn:r12859
|
|
|
|
|
|
|
| |
First wodge of geoip code so bridges can figure out which countries are blocking them.
svn:r12845
|
|
|
|
| |
svn:r12786
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on but your ORPort is off.
Add a new config option BridgeRelay that specifies you want to
be a bridge relay. Right now the only difference is that it makes
you answer begin_dir requests, and it makes you cache dir info,
even if your DirPort isn't on.
Refactor directory_caches_dir_info() into some more functions.
svn:r12668
|
|
|
|
|
|
|
|
| |
Start purging old entries from the "rephist" database, and the
hidden service descriptor databases, even when DirPort is zero.
svn:r12628
|
|
|
|
|
|
|
| |
we can't make them totally obsolete yet but we can get closer.
svn:r12626
|
|
|
|
| |
svn:r12621
|
|
|
|
|
|
|
|
|
|
| |
enough directory information. This was causing us to always pick
two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
causing us to discard all our guards on startup if we hadn't been
running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
svn:r12570
|
|
|
|
|
|
|
| |
Try to bulletproof the parse logic for router-stability.
svn:r12441
|
|
|
|
|
|
|
| |
Keep track, for each OR connection, of the last time we added a non-padding cell to its outbuf. Use this timestamp, not "lastwritten" to tell if it is time to close a circuitless connection. (We can'tuse lastwritten, since lastwritten is updated when ever the connection flushes anything, and by that point we can no longer tell what is a padding cell and what is not.)
svn:r12437
|
|
|
|
|
|
|
| |
Better log messages for "not enough to build a circuit" message.
svn:r12324
|
|
|
|
|
|
|
| |
More tweaks from karsten, with some cleanup and commentary.
svn:r12319
|
|
|
|
|
|
|
| |
Implement --quiet.
svn:r12306
|
|
|
|
|
|
|
| |
Keep circuitless TLS connections open for 1.5 x MaxCircuitDirtiness: this ensures that we don't thrash closing and repoening connections to our guards.
svn:r12218
|
|
|
|
|
|
|
|
| |
ports are reachable" if we haven't been able to build any circuits
yet. Bug found by spending four hours without a v3 consensus.
svn:r12133
|
|
|
|
|
|
|
| |
When we have plenty of directory information, don't try to launch descriptor downloads quite so eagerly.
svn:r12033
|
|
|
|
|
|
|
| |
Stop incessant notices about when we think the expected valid-after time should be, if we are not an authority.
svn:r12022
|
|
|
|
|
|
|
| |
When a networkstatus consensus download fails, do not wait 60 seconds to decide whether to retry. (Also, log the time at which we'll try to replace the current networkstatus.)
svn:r12005
|
|
|
|
|
|
|
| |
Remove nearly all calls to routerlist_remove_old(). Backport candidate.
svn:r11994
|
|
|
|
|
|
|
| |
Implement v3 networkstatus client code. Remove v2 networkstatus client code, except as needed for caches to fetch and serve v2 networkstatues and the routers they list.
svn:r11957
|
|
|
|
|
|
|
|
|
| |
when we find our DirPort to be reachable but won't actually publish
it. Extra descriptors without any real changes are dropped by the
authorities, and can screw up our "publish every 18 hours" schedule.
svn:r11915
|
|
|
|
|
|
|
| |
Remove code to generate v1 directories.
svn:r11866
|
|
|
|
|
|
|
| |
Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode().
svn:r11817
|
|
|
|
|
|
|
| |
Refactor out about a third of routerlist.c into a new networkstatus.c. I\m not sure that I got everything that needed to move, but so far so good.
svn:r11791
|
|
|
|
|
|
|
| |
Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke.
svn:r11761
|
|
|
|
|
|
|
| |
Check V3 authority certificates for expiry, and warn the authority op as they get old.
svn:r11427
|
|
|
|
| |
svn:r11395
|
|
|
|
|
|
|
| |
Move NT services code into its own C file. Probably will not build happily on win32 yet; more hacking needed.
svn:r11388
|
|
|
|
|
|
|
| |
Clean up MTBF storage code. Do not count times that we have been down toward the current run. Handle backward timewarps correctly. Store MTBF data on exit in addition to periodically.
svn:r11225
|
|
|
|
|
|
|
| |
Trigger load and save of MTBF data.
svn:r11219
|
|
|
|
| |
svn:r11148
|
|
|
|
|
|
|
| |
Initial work on proposal 108: have rephist.c track the information we want to be tracking for OR stability.
svn:r11147
|
|
|
|
|
|
|
| |
Cache v3 networkstatus consensuses on disk.
svn:r11086
|
|
|
|
|
|
|
| |
Glibc (and maybe others) define a mallinfo() that can be used to see how the platform malloc is acting inside. When we have it, dump its output on dumpmemusage().
svn:r10996
|
|
|
|
|
|
|
| |
Try to call time(NULL) a little less.
svn:r10980
|
|
|
|
|
|
|
| |
More directory voting code. Now, if everything works, and I haven't forgotten anything, it is possible to set up some v3 authorities and start voting. Of course, I have probably forgotten something, and there are probably bugs in there somewhere too.
svn:r10976
|
|
|
|
| |
svn:r10961
|
|
|
|
|
|
|
| |
When dumping memory usage, list bytes used in buffer memory free-lists.
svn:r10947
|
|
|
|
|
|
|
| |
Maintain a detached-signatures document along with pending consensus document. Add a dirvote_free_all() to clean up static vars in dirvote.c
svn:r10945
|
|
|
|
|
|
|
| |
Make all code to generate v1 directories into conditional code.
svn:r10926
|
|
|
|
|
|
|
| |
Once more with feeling.
svn:r10907
|
|
|
|
|
|
|
| |
esc_router_info static field should not be cleared postfork, to avoid races.
svn:r10906
|
|
|
|
|
|
|
| |
Fix/note some relatively trivial mem usage issues
svn:r10905
|
|
|
|
| |
svn:r10903
|
|
|
|
| |
svn:r10902
|
|
|
|
| |
svn:r10898
|