Nick Mathewson
|
0ef85f6dba
Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware.
|
20 lat temu |
Nick Mathewson
|
c66e4c4870
Flush more changes from sandbox
|
20 lat temu |
Nick Mathewson
|
ecf414f05e
Stop using separate defaults for no-config-file and empty-config-file
|
20 lat temu |
Nick Mathewson
|
4b4bfd500a
Improve log message to make it obvious _why_ reading the configuration has failed.
|
20 lat temu |
Roger Dingledine
|
99e367f045
authdirservers don't need to be treated specially on hup for
|
20 lat temu |
Roger Dingledine
|
6e9e467b1d
dirservers now don't build circuits until they have fetched a
|
20 lat temu |
Nick Mathewson
|
e19af3fa0f
We are an OR if ORPort *or* ORBindAddress is set; similarly for being an OP
|
20 lat temu |
Roger Dingledine
|
cd3da3fc12
o clients choose nodes proportional to advertised bandwidth
|
20 lat temu |
Roger Dingledine
|
dda2e44222
compile again on win32 (i think)
|
20 lat temu |
Roger Dingledine
|
1e415817a3
minor fix
|
20 lat temu |
Roger Dingledine
|
7068dd8e87
make "%llu" less likely to warn on weird platforms
|
20 lat temu |
Roger Dingledine
|
05790d1722
let children survive sigint, sigterm, etc.
|
20 lat temu |
Nick Mathewson
|
f6cc218742
Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests.
|
20 lat temu |
Roger Dingledine
|
e95ae1c9ad
let purging routerinfos and descriptors take an age argument
|
20 lat temu |
Roger Dingledine
|
967a762fe1
they're uint64 and uint32, not int and int
|
20 lat temu |
Roger Dingledine
|
f32e34044f
list total traffic and total uptime in -usr1 stats
|
20 lat temu |
Roger Dingledine
|
0c8542d889
fix rare race condition that causes infinite loop
|
20 lat temu |
Nick Mathewson
|
75684a48d5
<arma> did you get it working on win32? or just compiling
|
20 lat temu |
Roger Dingledine
|
a328aab316
clean whitespace and tabs
|
20 lat temu |
Roger Dingledine
|
aebec8ab9e
stop using atexit() to remove our pid, since it's called
|
20 lat temu |
Roger Dingledine
|
06b72cc8f2
publish advertised_bandwidth in descriptor
|
20 lat temu |
Roger Dingledine
|
6c56f34aaf
clients shouldn't create datadir until we have something to put there
|
20 lat temu |
Roger Dingledine
|
3c2c8ed42b
0.0.8 ORs should autoconnect to authdirservers and 0.0.7 servers
|
20 lat temu |
Roger Dingledine
|
ce7fcd110c
solve the authdirserver initialization precedence problem
|
20 lat temu |
Roger Dingledine
|
3e97c12f24
rearrange to prepare to solve the authdirserver initialization
|
20 lat temu |
Roger Dingledine
|
30d6b1479b
clients exit immediately on interrupt; they don't wait
|
20 lat temu |
Nick Mathewson
|
334de84cbe
Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify behavior
|
20 lat temu |
Roger Dingledine
|
73ffcc5cef
add a new advertised_server_mode() to distinguish ORs that
|
20 lat temu |
Roger Dingledine
|
0da256ef97
when we get a sigint, don't accept new connections/circuits,
|
20 lat temu |
Roger Dingledine
|
d5999a24af
also don't hang up on him if we're an OR and he's an authdirserver
|
20 lat temu |