Age | Commit message (Collapse) | Author |
|
comments so that they will get recognized as doxygen.
svn:r17729
|
|
svn:r17727
|
|
svn:r17692
|
|
per write, or once per cell with calls to a function that looks at a cached value of time. This is tricksy to benchmark, since it will only help on systems where time() is a syscall and syscalls are relatively slow.
svn:r17690
|
|
svn:r17662
|
|
svn:r17650
|
|
svn:r17646
|
|
svn:r17643
|
|
"connecting" and it receives an "end" relay cell, the exit relay
would silently ignore the end cell and not close the stream. If
the client never closes the circuit, then the exit relay never
closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
reported by "wood".
svn:r17625
|
|
446. Based on patch from rovv.
svn:r17162
|
|
The "ClientDNSRejectInternalAddresses" config option wasn't being
consistently obeyed: if an exit relay refuses a stream because its
exit policy doesn't allow it, we would remember what IP address
the relay said the destination address resolves to, even if it's
an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
svn:r17135
|
|
Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you.
svn:r16435
|
|
Implement most of proposal 110.
svn:r16156
|
|
svn:r15115
|
|
svn:r15112
|
|
svn:r15111
|
|
svn:r15083
|
|
tell the controller how we're doing at bootstrapping, and it can
tell the user.
svn:r15008
|
|
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
|
|
When writing relay cells to a buffer, update timestamp_last_added_nonpadding. Bugfix on 0.2.0.1-alpha. Backport candidate.
svn:r14329
|
|
Likely fix for bug 632: do not call start_reading on a placeholder connection.
svn:r14109
|
|
Part of fix for bug 617: allow connection_ap_handshake_attach_circuit() to mark connections, to avoid double-mark warnings. Note that this is an incomplete refactoring.
svn:r14066
|
|
policy. Not using this router as exit for now." message, since it
legitimately appears every so often and there's no need to alarm users.
svn:r13677
|
|
five circuit attempts fail for a given stream. part of the fix
for bug 437. still an XXX020rc remaining.
svn:r13648
|
|
squeeze it into a uint8_t later. also reported by veracode.
svn:r13607
|
|
triggering the assert. reported by veracode.
svn:r13601
|
|
Fix or downgrade a bunch of xxx020 items.
svn:r13527
|
|
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 a couple of (currently disabled) strategies for trying to avoid using too much ram in memory pools: prefer putting new cells in almost-full chunks, and be willing to free the last empty chunk if we have not needed it for a while. Also add better output to mp_pool_log_status to track how many mallocs a given memory pool strategy is saving us, so we can tune the mempool parameters.
svn:r13428
|
|
Be more thorough about memory poisoning and clearing. Add an in-place version of aes_crypt in order to remove a memcpy from relay_crypt_one_payload.
svn:r13414
|
|
svn:r13412
|
|
svn:r13403
|
|
Remove a dead function.
svn:r13389
|
|
Tor can warn and/or refuse connections to ports commonly used with
vulnerable-plaintext protocols.
We still need to figure out some good defaults for them.
svn:r13198
|
|
Use reference-counting to avoid allocating a zillion little addr_policy_t objects. (This is an old patch that had been sitting on my hard drive for a while.)
svn:r13017
|
|
svn:r12786
|
|
Initial phase of proposal 110: accept RELAY_EARLY cells, and turn them into RELAY cells when sending them on over a v1 OR connection.
svn:r12496
|
|
Add a new ClientDNSRejectInternalAddresses option (default: on) to refuse to believe that any address can map to or from an internal address. This blocks some kinds of potential browser-based attacks, especially on hosts using DNSPort. Also clarify behavior in some comments. Backport candiate?
svn:r11287
|
|
Include fewer redundant headers; use the compiler search paths better.
svn:r11060
|
|
Try to call time(NULL) a little less.
svn:r10980
|
|
traffic when RelayBandwidthRate is set. (Refines proposal 111.)
svn:r10974
|
|
bug may have allowed other routers on a given circuit to inject
cells into streams. Reported by lodger; fixes bug 446. [Bugfix
on 0.1.2.x]
svn:r10818
|
|
Get the RESOLVE controller code working.
svn:r10781
|
|
Try to fix some mipspro compiler warnings. There will still be some left.
svn:r10444
|
|
Resolve all but 3 DOCDOCs.
svn:r10393
|
|
svn:r10335
|
|
Review XXXX comments without a version; upgrade some to XXXX020.
svn:r10315
|
|
Fix warnings from -Wunsafe-loop-optimizations, which incidentally turned up a logic bug in connection_or_flush_from_first_active_circuit that would overcount the number of cells flushed.
svn:r10199
|
|
Fix GCC warnings related to local parameters/variables getting shadowed.
svn:r10198
|
|
svn:r10050
|