| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
connection_ap_handshake_attach_circuit attaches to a circ of the
right purpose
add a skeletal rendclient.c
svn:r1441
|
|
|
|
| |
svn:r1434
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to do a directory connection *through* tor just
as if we're doing it as an application.
Make ap_conns tolerate it when the application sends stuff before
The socks handshake is done (it just buffers it).
Tell directory_initiate_command the length of the payload (because
it might include nuls).
Add a directory_has_arrived function to, for example, start building
the rendezvous service descriptor.
svn:r1412
|
|
|
|
| |
svn:r1409
|
|
|
|
| |
svn:r1408
|
|
|
|
|
|
|
|
| |
teach directory.c about which places it needs to nul-terminate
body before it uses it, and which places it must not
svn:r1407
|
|
|
|
| |
svn:r1406
|
|
|
|
|
|
| |
directory_handle_command
svn:r1404
|
|
|
|
| |
svn:r1402
|
|
|
|
|
|
|
|
|
|
|
| |
* read all the time (before we would ignore eof sometimes, oops)
* we can handle different urls now
* send back 404 for an un-handled url
* commands initiated by the client can handle payloads now
* introduce conn->purpose to avoid exponential state-space explosion
svn:r1400
|
|
|
|
| |
svn:r1373
|
|
|
|
| |
svn:r1371
|
|
|
|
|
|
|
| |
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
|