Age | Commit message (Collapse) | Author |
|
TOR_PERF has not not been a sane thing for ages. Remove it.
svn:r13579
|
|
main Tor network.
svn:r13577
|
|
Fix a wide line in control.c; make the check-spaces target ignore the openbsd malloc file.
svn:r13566
|
|
Our preferred spelling for a bitfield is "unsigned int", not "unsigned" or "uint8_t".
svn:r13560
|
|
Clarify logic in trusted_dirs_load_certs_from_string(); avoid a maybe-impossible maybe-not double-free spotted by lodger.
svn:r13558
|
|
Better debugging to track down bug 606. Also remove a break; that may have been the possible culprit
svn:r13547
|
|
Partial fix for bug 586: Add an ephemeral __HashedControlSessionPassword.
svn:r13543
|
|
svn:r13542
|
|
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
|
|
Add an XXXX021 item so we eventually stop calling setuid() and setgid() unnecessarily.
svn:r13533
|
|
Replace the hefty tor_strpartition with a simple function to replace its only (trivial) use.
svn:r13532
|
|
Add initial unit tests for test_addr_compare_masked
svn:r13531
|
|
Defer, downgrade, or address more XXX020s. The remaining ones are all ones we should deal with before release.
svn:r13530
|
|
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
|
|
Fix or downgrade a bunch of xxx020 items.
svn:r13527
|
|
Patch from karsten: make hidden service code respect SafeLogging.
svn:r13493
|
|
Bugfix from Karsten: "Reversed r13439; v2 rendezvous descriptors were only re-fetched when a directory connection did not finish, not when a directory correctly replied with an error code like 404; bug found by nwf.
svn:r13492
|
|
Add roger's responses from IRC to some XXX020 items.
svn:r13487
|
|
bandwidth, rather than uniformly at random. This should speed up Tor
for bridge users. Also do this for people who set StrictEntryNodes.
svn:r13486
|
|
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
|
|
Make version negotiation and handshaking messages more useful and accurate.
svn:r13477
|
|
Fix command.c compilation with gcc 4.2 warnings enabled.
svn:r13475
|
|
svn:r13466
|
|
address if the connection appears to be coming from the same /24
network; it was producing too many wrong guesses.
svn:r13464
|
|
add some documentation
svn:r13462
|
|
Fix some XXX020s in command.c, and make it not-allowed to negotiate v1 using the v2 connection protocol: it is too hard to test, and pointless to support.
svn:r13460
|
|
Remove some deadcode.
svn:r13459
|
|
Merge connection_or_act_on_netinfo into command.c; remove some fields from or_handshake_state().
svn:r13458
|
|
svn:r13453
|
|
svn:r13450
|
|
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
|
|
svn:r13440
|
|
karsten.
svn:r13439
|
|
svn:r13437
|
|
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
|
|
Fix a new segfault when poisoning a non-present socks request.
svn:r13433
|
|
Bugfix from Karsten Loesing: Retry v2 rend descriptors on intro point failure.
svn:r13431
|
|
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
|
|
Change DNs in x509 certificates to be harder to fingerprint. Raise common code. Refactor random hostname generation into crypto.c
svn:r13429
|
|
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
|
|
Fix warning in onion.c
svn:r13427
|
|
downgrade xxxs in test.c
svn:r13426
|
|
Clean up IPv6-testing code in test.c; resolve a bunch of XXX020s.
svn:r13425
|
|
Fix some warnings identified by building with -D_FORTIFY_SOURCE=2. Remove a redundant (and nuts) definition of _FORTIFY_SOURCE from eventdns.c.
svn:r13424
|
|
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
|
|
The SSL portion of the revised handshake now seems to work: I just finally got a client and a server to negotiate versions. Now to make sure certificate verification is really happening, connections are getting opened, etc.
svn:r13409
|
|
Add more documentation; change the behavior of read_to_buf_tls to be more consistent. Note a longstanding problem with current read/write interfaces.
svn:r13407
|
|
Fix bandwidth bucked calculations again, I think. Bugfix on 0.1.2.x. Backport candidate.
svn:r13406
|