| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Do a slightly better fix for r14329: don't call time() quite so much. Also note the time(NULL) hack we wanted to do in the TODO.
svn:r14334
|
|
|
|
|
|
|
| |
Make last_served_at optional; make last_listed_as_valid_until take account (partially) of v2 statuses.
svn:r14299
|
|
|
|
|
|
|
| |
Code (disabled) to get way too much info about the contents of old_routers on USR1.
svn:r14230
|
|
|
|
|
|
|
|
|
| |
streams. so they waited 120 seconds before timing out. this
was particularly bad during bootstrapping, if an authority is
down or not answering right.
svn:r14163
|
|
|
|
|
|
|
| |
Fix the other lingering part of bug 617: make ClientDNSRejectInternalAddresses actually work.
svn:r14107
|
|
|
|
|
|
|
| |
some duplicate items.
svn:r14086
|
|
|
|
|
|
|
| |
Fix policy-related crash bug found by lodger.
svn:r14077
|
|
|
|
|
|
|
| |
Make set-option functions return sensible error codes from an enum, not mysterious negative integers
svn:r14004
|
|
|
|
|
|
|
|
|
| |
Change options_init_from_string() so that it returns different exit codes in the
error case, depending on what went wrong. Also push the responsibility to log
the error to the caller.
svn:r13947
|
|
|
|
| |
svn:r13946
|
|
|
|
| |
svn:r13706
|
|
|
|
|
|
|
| |
Patch from mwenge: always willingly serve our own extrainfo from the controlport
svn:r13699
|
|
|
|
|
|
|
| |
Fix the last of the -Wshorten-64-to-32 warnings.
svn:r13696
|
|
|
|
|
|
|
| |
Do the last part of arma's fix for bug 437: Track the origin of every addrmap, and use this info so we can remove all the trackhostexits-originated mappings for a given exit.
svn:r13660
|
|
|
|
|
|
|
|
| |
five circuit attempts fail for a given stream. part of the fix
for bug 437. still an XXX020rc remaining.
svn:r13648
|
|
|
|
|
|
|
| |
add a flag to suppress overwriting the certificates file with new certificates, so we do not overwrite all certs when starting as an authority.
svn:r13630
|
|
|
|
|
|
|
| |
Apply patch from Sebastian Hahn: stop imposing an arbitrary maximum on the number of file descriptors used for busy servers. Bug reported by Olaf Selke.
svn:r13626
|
|
|
|
|
|
|
| |
rather than ints
svn:r13610
|
|
|
|
| |
svn:r13608
|
|
|
|
|
|
|
| |
squeeze it into a uint8_t later. also reported by veracode.
svn:r13607
|
|
|
|
|
|
|
| |
TOR_PERF has not not been a sane thing for ages. Remove it.
svn:r13579
|
|
|
|
|
|
|
| |
main Tor network.
svn:r13577
|
|
|
|
|
|
|
| |
Our preferred spelling for a bitfield is "unsigned int", not "unsigned" or "uint8_t".
svn:r13560
|
|
|
|
|
|
|
| |
Partial fix for bug 586: Add an ephemeral __HashedControlSessionPassword.
svn:r13543
|
|
|
|
|
|
|
|
|
|
|
| |
Resolved problems with (re-)fetching hidden service descriptors.
Before, v0 descriptors were not fetched at all (fix on 0.2.0.18-alpha),
re-fetching of v2 descriptors did not stop when a v0 descriptor was
received (fix on 0.2.0.18-alpha), and re-fetching of v2 descriptors did
not work in all cases (fix on 0.2.0.19-alpha).
svn:r13540
|
|
|
|
|
|
|
| |
Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs).
svn:r13529
|
|
|
|
|
|
|
| |
Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation.
svn:r13484
|
|
|
|
|
|
|
| |
add some documentation
svn:r13462
|
|
|
|
|
|
|
| |
Remove some deadcode.
svn:r13459
|
|
|
|
|
|
|
| |
Merge connection_or_act_on_netinfo into command.c; remove some fields from or_handshake_state().
svn:r13458
|
|
|
|
|
|
|
| |
oh, and this should be backported too.
svn:r13444
|
|
|
|
|
|
|
| |
at IP address X and he says we look like we're coming from IP address X.
svn:r13442
|
|
|
|
|
|
|
| |
More protocol negotiation work. Make the negotiation actually complete and set the state to open. Fix a crash bug that occured when we forcibly stopped the connection from writing.
svn:r13434
|
|
|
|
|
|
|
| |
Add a bunch more code documentation; change the interface of fetch_var_cell_from_buf() so it takes the current link protocol into account and can't get confused by weird command bytes on v1 connections.
svn:r13430
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items.
svn:r13405
|
|
|
|
|
|
|
|
|
|
| |
even when the local resolv.conf file is missing, broken, or contains
only unusable nameservers.
Now I can run a local network on my laptop when I'm on an airplane.
svn:r13402
|
|
|
|
|
|
|
| |
complain to the user and demand that they upgrade to one of "".
svn:r13401
|
|
|
|
|
|
|
| |
Fix/downgrade some more XXX020s.
svn:r13397
|
|
|
|
|
|
|
| |
Initial attempts to track down bug 600, and refactor possibly offending code. 1) complain early if circuit state is set to OPEN when an onionskin is pending. 2) refactor onionskin field into one only used when n_conn is pending, and a separate onionskin field waiting for attention by a cpuworker. This might even fix the bug. More likely, it will make it fail with a more useful core.
svn:r13394
|
|
|
|
|
|
|
| |
Remove a few #if-0d items.
svn:r13392
|
|
|
|
|
|
|
| |
Remove a dead function.
svn:r13389
|
|
|
|
|
|
|
| |
Correctly register failures in connection_add() in dnsserv_launch_request()
svn:r13387
|
|
|
|
|
|
|
| |
Fix a potential bug that would make authorities fail to vote under bizarre circumstances that probably never happened.
svn:r13385
|
|
|
|
|
|
|
| |
Check for correctness of AuthDir* options in options_validate; check for possible bugs where options_validate() is happy but parse_policies_from_options() is sad.
svn:r13384
|
|
|
|
|
|
|
| |
As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete.
svn:r13383
|
|
|
|
|
|
|
| |
Remove some dead code; fix some XXX020s; turn some XXX020s into XXXX_IP6s (i.e., "needs to be fixed when we add ipv6 support").
svn:r13382
|
|
|
|
|
|
|
| |
private IP address (like 127.0.0.1).
svn:r13371
|
|
|
|
| |
svn:r13305
|
|
|
|
|
|
| |
can have certificates for dirservers we do not recognize.
svn:r13304
|