Nick Mathewson
|
6290d027c9
Continue attack on magic numbers; use new crypto wrappers where possible
|
20 年之前 |
Roger Dingledine
|
7793078dff
alice can now look up bob's service descriptor,
|
20 年之前 |
Nick Mathewson
|
b3c2b62a14
Make "common" no longer depend on or.h
|
20 年之前 |
Roger Dingledine
|
83c88c55fd
old or skewed descriptor doesn't mean we failed to parse it
|
20 年之前 |
Roger Dingledine
|
155c777a84
fix typo
|
20 年之前 |
Nick Mathewson
|
6a79b1cb57
Re-enable unit tests for directory generation.
|
20 年之前 |
Nick Mathewson
|
0e6084d751
Remove descriptors that are older than 24 hours from the directory. Use strlcat instead of strncat to generate directories.
|
20 年之前 |
Roger Dingledine
|
fdc5751c60
bugfix: address that strcat vulnerability in circuit.c
|
20 年之前 |
Roger Dingledine
|
6af8d0606f
inform unapproved servers when we reject their descriptors
|
20 年之前 |
Roger Dingledine
|
30969421d3
stop troubling router operators with unapproved router connect attempts
|
20 年之前 |
Roger Dingledine
|
6e22801e0f
when you get a desc from an unknown router, log its fingerprint
|
20 年之前 |
Nick Mathewson
|
1e5b7bc6f1
New, more flexible directory parsing backend. Uses a bit more RAM, but implements the new spec. Uses more RAM, but not so you would notice.
|
21 年之前 |
Roger Dingledine
|
6a19e64066
remove trailing whitespace
|
21 年之前 |
Roger Dingledine
|
4a1e05de51
betcha didn't know strncpy could leave an unterminated string
|
21 年之前 |
Roger Dingledine
|
36ea39ec9c
on hup, close and rebind listener ports too (in case their config has changed)
|
21 年之前 |
Roger Dingledine
|
50e17d633b
clean up some file-scope-global directory variables
|
21 年之前 |
Roger Dingledine
|
8222fe8e4f
clean up some copyrights
|
21 年之前 |
Nick Mathewson
|
ac552573dd
Make router/directory parsing nondestructive and more const-friendly
|
21 年之前 |
Roger Dingledine
|
e0952d0773
terminology shift:
|
21 年之前 |
Roger Dingledine
|
ac56486bf6
use the tor_malloc_zero wrapper
|
21 年之前 |
Roger Dingledine
|
56cd147eb9
let getconfig survive repeated calls. now we call it again when we hup.
|
21 年之前 |
Roger Dingledine
|
4ba8bc0a73
make dir parsing robust to invalid but well-formed descriptors
|
21 年之前 |
Nick Mathewson
|
7604cfe61b
Clock skew fixes.
|
21 年之前 |
Roger Dingledine
|
e4127e4d36
move closer to being able to reload config on HUP
|
21 年之前 |
Roger Dingledine
|
a3962bf6fc
fix two more memory problems
|
21 年之前 |
Roger Dingledine
|
35dcfcb145
put a blank line in the directory, before the first router
|
21 年之前 |
Roger Dingledine
|
b9628f266f
change WARNING to WARN
|
21 年之前 |
Roger Dingledine
|
be874358a4
wrap strdup; prefer time() to gettimeofday()
|
21 年之前 |
Nick Mathewson
|
df5c7534b1
Move dirserv/routers code out of main.c
|
21 年之前 |
Nick Mathewson
|
1cd57b8466
make sure router descriptor doesnt eat the directory-signature
|
21 年之前 |