aboutsummaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2008-02-19 r18195@catbus: nickm | 2008-02-19 14:11:15 -0500Nick Mathewson
TOR_PERF has not not been a sane thing for ages. Remove it. svn:r13579
2008-02-19document that if you enable TOR_PERF, you won't be compatible with theRoger Dingledine
main Tor network. svn:r13577
2008-02-19 r14246@tombo: nickm | 2008-02-17 19:33:02 -0500Nick Mathewson
Fix a wide line in control.c; make the check-spaces target ignore the openbsd malloc file. svn:r13566
2008-02-18 r18142@catbus: nickm | 2008-02-18 14:24:31 -0500Nick Mathewson
Our preferred spelling for a bitfield is "unsigned int", not "unsigned" or "uint8_t". svn:r13560
2008-02-18 r18139@catbus: nickm | 2008-02-18 13:14:05 -0500Nick Mathewson
Clarify logic in trusted_dirs_load_certs_from_string(); avoid a maybe-impossible maybe-not double-free spotted by lodger. svn:r13558
2008-02-17 r14243@tombo: nickm | 2008-02-17 14:51:26 -0500Nick Mathewson
Better debugging to track down bug 606. Also remove a break; that may have been the possible culprit svn:r13547
2008-02-17 r14236@tombo: nickm | 2008-02-17 13:44:55 -0500Nick Mathewson
Partial fix for bug 586: Add an ephemeral __HashedControlSessionPassword. svn:r13543
2008-02-17cleanups and changelog entry for r13540Roger Dingledine
svn:r13542
2008-02-17patch from karsten:Roger Dingledine
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
2008-02-15 r14186@tombo: nickm | 2008-02-15 18:38:52 -0500Nick Mathewson
Add an XXXX021 item so we eventually stop calling setuid() and setgid() unnecessarily. svn:r13533
2008-02-15 r14185@tombo: nickm | 2008-02-15 18:05:54 -0500Nick Mathewson
Replace the hefty tor_strpartition with a simple function to replace its only (trivial) use. svn:r13532
2008-02-15 r14183@tombo: nickm | 2008-02-15 17:37:53 -0500Nick Mathewson
Add initial unit tests for test_addr_compare_masked svn:r13531
2008-02-15 r14182@tombo: nickm | 2008-02-15 17:20:51 -0500Nick Mathewson
Defer, downgrade, or address more XXX020s. The remaining ones are all ones we should deal with before release. svn:r13530
2008-02-15 r14181@tombo: nickm | 2008-02-15 16:48:17 -0500Nick Mathewson
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
2008-02-15 r14170@tombo: nickm | 2008-02-15 11:50:38 -0500Nick Mathewson
Fix or downgrade a bunch of xxx020 items. svn:r13527
2008-02-13 r18068@catbus: nickm | 2008-02-13 11:33:19 -0500Nick Mathewson
Patch from karsten: make hidden service code respect SafeLogging. svn:r13493
2008-02-13 r18066@catbus: nickm | 2008-02-13 11:22:19 -0500Nick Mathewson
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
2008-02-12 r18056@catbus: nickm | 2008-02-12 17:21:10 -0500Nick Mathewson
Add roger's responses from IRC to some XXX020 items. svn:r13487
2008-02-12Start choosing which bridge to use proportional to its advertisedRoger Dingledine
bandwidth, rather than uniformly at random. This should speed up Tor for bridge users. Also do this for people who set StrictEntryNodes. svn:r13486
2008-02-12 r18051@catbus: nickm | 2008-02-12 15:20:43 -0500Nick Mathewson
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
2008-02-12 r18041@catbus: nickm | 2008-02-11 23:43:18 -0500Nick Mathewson
Make version negotiation and handshaking messages more useful and accurate. svn:r13477
2008-02-12 r18029@catbus: nickm | 2008-02-11 12:36:39 -0500Nick Mathewson
Fix command.c compilation with gcc 4.2 warnings enabled. svn:r13475
2008-02-11note a simplification for the futureRoger Dingledine
svn:r13466
2008-02-11Directory mirrors no longer include a guess at the client's IPRoger Dingledine
address if the connection appears to be coming from the same /24 network; it was producing too many wrong guesses. svn:r13464
2008-02-11 r14108@tombo: nickm | 2008-02-10 20:09:10 -0500Nick Mathewson
add some documentation svn:r13462
2008-02-10 r14103@tombo: nickm | 2008-02-10 13:40:09 -0500Nick Mathewson
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
2008-02-10 r14102@tombo: nickm | 2008-02-10 13:30:04 -0500Nick Mathewson
Remove some deadcode. svn:r13459
2008-02-10 r14101@tombo: nickm | 2008-02-10 13:24:27 -0500Nick Mathewson
Merge connection_or_act_on_netinfo into command.c; remove some fields from or_handshake_state(). svn:r13458
2008-02-09patch from tup to fix bug 605Roger Dingledine
svn:r13453
2008-02-09"fix" the unit tests on openbsd/netbsdtor-0.2.0.19-alphaRoger Dingledine
svn:r13450
2008-02-09cleanups on r13442.Roger Dingledine
oh, and this should be backported too. svn:r13444
2008-02-09Patch from "Andrew S. Lists" to catch when we contact a directory mirrorRoger Dingledine
at IP address X and he says we look like we're coming from IP address X. svn:r13442
2008-02-09doxygen and other cleanupsRoger Dingledine
svn:r13440
2008-02-09Re-fetch v2 rendezvous descriptor only when first try failed. Patch from ↵Nick Mathewson
karsten. svn:r13439
2008-02-09note a question for nickRoger Dingledine
svn:r13437
2008-02-08 r17991@catbus: nickm | 2008-02-08 18:41:26 -0500Nick Mathewson
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
2008-02-08 r17989@catbus: nickm | 2008-02-08 18:09:23 -0500Nick Mathewson
Fix a new segfault when poisoning a non-present socks request. svn:r13433
2008-02-08 r17985@catbus: nickm | 2008-02-08 16:30:02 -0500Nick Mathewson
Bugfix from Karsten Loesing: Retry v2 rend descriptors on intro point failure. svn:r13431
2008-02-08 r14063@tombo: nickm | 2008-02-08 15:48:32 -0500Nick Mathewson
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
2008-02-08 r14062@tombo: nickm | 2008-02-08 15:17:07 -0500Nick Mathewson
Change DNs in x509 certificates to be harder to fingerprint. Raise common code. Refactor random hostname generation into crypto.c svn:r13429
2008-02-08 r14061@tombo: nickm | 2008-02-08 14:30:42 -0500Nick Mathewson
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
2008-02-08 r14060@tombo: nickm | 2008-02-08 13:36:52 -0500Nick Mathewson
Fix warning in onion.c svn:r13427
2008-02-08 r14059@tombo: nickm | 2008-02-08 13:36:34 -0500Nick Mathewson
downgrade xxxs in test.c svn:r13426
2008-02-08 r17968@catbus: nickm | 2008-02-07 14:11:02 -0500Nick Mathewson
Clean up IPv6-testing code in test.c; resolve a bunch of XXX020s. svn:r13425
2008-02-08 r17967@catbus: nickm | 2008-02-07 11:44:51 -0500Nick Mathewson
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
2008-02-07 r17963@catbus: nickm | 2008-02-07 10:14:25 -0500Nick Mathewson
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
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
2008-02-06 r17955@catbus: nickm | 2008-02-06 16:53:07 -0500Nick Mathewson
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
2008-02-06 r17951@catbus: nickm | 2008-02-06 14:34:13 -0500Nick Mathewson
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
2008-02-06 r17949@catbus: nickm | 2008-02-06 13:21:12 -0500Nick Mathewson
Fix bandwidth bucked calculations again, I think. Bugfix on 0.1.2.x. Backport candidate. svn:r13406