| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
maybe this will fix it
svn:r1347
|
|
|
|
|
|
|
|
| |
when connecting to a dirserver or OR and the network is down,
we would crash.
svn:r1340
|
|
|
|
| |
svn:r1328
|
|
|
|
| |
svn:r1303
|
|
|
|
| |
svn:r1263
|
|
|
|
|
|
|
| |
then give up on him
svn:r1238
|
|
|
|
| |
svn:r1178
|
|
|
|
| |
svn:r1151
|
|
|
|
|
|
| |
only a close path; add some missing end cells; change return conventions a little.
svn:r1149
|
|
|
|
|
|
|
| |
e.g., this breaks directory service
svn:r1033
|
|
|
|
| |
svn:r951
|
|
|
|
|
|
|
|
|
|
| |
than use fixed-size strings
reorganize directory_handle_command so it'll be easier to do more with
our directory servers
svn:r950
|
|
|
|
| |
svn:r938
|
|
|
|
| |
svn:r925
|
|
|
|
| |
svn:r907
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directory is the string that dirserv.c and directory.c deal with
routerlist is routerinfo's that are bundled together in routers.c
rename some of the get_routerlist functions to set_routerlist
preparing to break into router.c for stuff the router does,
and routerlist.c for handling routerlist.
svn:r886
|
|
|
|
|
|
|
|
| |
Nov 23 12:10:26.556 [warn] fetch_from_buf_http(): headerlen 1487 larger than 1023. Failing.
Nov 23 12:10:26.556 [warn] directory_handle_command(): input too large. Failing.
svn:r867
|
|
|
|
| |
svn:r857
|
|
|
|
| |
svn:r790
|
|
|
|
|
|
|
|
|
| |
fix badness in usage()
if neither socksport nor orrport is defined, quit
obsolete connection_flush_buf()
svn:r780
|
|
|
|
| |
svn:r580
|
|
|
|
|
|
|
| |
and fix a few typos
svn:r571
|
|
|
|
| |
svn:r560
|
|
|
|
| |
svn:r538
|
|
|
|
| |
svn:r537
|
|
|
|
| |
svn:r519
|
|
|
|
|
|
|
|
| |
we now add our own descriptor to the descriptor list
and we rebuild the directory (and dump to disk) after receiving a POST
svn:r509
|
|
|
|
|
|
|
|
|
|
|
| |
fix a variety of seg faults
don't try to list OPs in running-routers
write cached-directory to disk when rebuilding the dir
on boot, dirservers load approved-routers file
on boot, dirservers load cached directory file
svn:r508
|
|
|
|
|
|
|
| |
still not finished integrating new dirserv stuff
svn:r507
|
|
|
|
| |
svn:r506
|
|
|
|
| |
svn:r503
|
|
|
|
| |
svn:r502
|
|
|
|
| |
svn:r497
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ERR is if something fatal just happened
WARNING is something bad happened, but we're still running. The bad thing
is either a bug in the code, an attack or buggy protocol/implementation
of the remote peer, etc. The operator should examine the bad thing and
try to correct it.
(No error or warning messages should be expected. I expect most people
to run on -l warning eventually.)
NOTICE is never ever used.
INFO means something happened (maybe bad, maybe ok), but there's nothing
you need to (or can) do about it.
DEBUG is for everything louder than INFO.
svn:r486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
redo all the config files for the new format (we'll redo them again soon)
fix (another! yuck) segfault in log_fn when input is too large
tor_tls_context_new() returns -1 for error, not NULL
fix segfault in check_conn_marked() on conn's that die during tls handshake
make ORs also initialize conn from router when we're the receiving node
make non-dirserver ORs upload descriptor to every dirserver on startup
add our local address to the descriptor
add Content-Length field to POST command
revert the Content-Length search in fetch_from_buf_http() to previous code
fix segfault in memmove in fetch_from_buf_http()
raise maximum allowed headers/body size in directory.c
svn:r484
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'buf_t' is now an opaque type defined in buffers.c .
Router descriptors now include all keys; routers generate keys as
needed on startup (in a newly defined "data directory"), and generate
their own descriptors. Descriptors are now self-signed.
Implementation is not complete: descriptors are never published; and
upon receiving a descriptor, the directory doesn't do anything with
it.
At least "routers.or" and orkeygen are now obsolete, BTW.
svn:r483
|
|
|
|
| |
svn:r477
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deal with content-length headers better when reading http
don't assume struct socks4_info is a packed struct
fail the socks handshake if destip is zero
flesh out conn_state_to_string() for dir conn
fix typo (bug) in connection_handle_read()
directory get is now called fetch, post is now upload
reopen logs on sighup
svn:r475
|
|
|
|
|
|
|
|
|
|
|
| |
this paves the way for supporting socks5 and other handshakes
it also removes those pesky AP-only variables from connection_t
also hacked a fix for a bug where some streams weren't ending properly --
maybe because marked connections weren't flushing properly?
svn:r472
|
|
|
|
| |
svn:r471
|
|
|
|
| |
svn:r468
|
|
|
|
| |
svn:r461
|
|
|
|
| |
svn:r460
|
|
|
|
| |
svn:r434
|
|
|
|
| |
svn:r398
|
|
|
|
|
|
| |
sockets stuff
svn:r393
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- signal support
- forking for DNS farm
- changes for async IO
- daemonizing
In other words, some files still don't build, and the ones that do build,
do nonblocking IO incorrectly.
I'm also not checking in the project files till I have a good place
for them.
svn:r380
|
|
|
|
| |
svn:r354
|
|
|
|
| |
svn:r333
|
|
|
|
| |
svn:r298
|