summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2008-02-19start checking the return value of crypto_pk_asn1_encode() whileRoger Dingledine
we're trying to establish an introduction point. bug reported by veracode. svn:r13599
2008-02-19 r18230@catbus: nickm | 2008-02-19 18:29:43 -0500Nick Mathewson
Add a few asserts to catch possible errors found by veracode. svn:r13598
2008-02-19is_reverse in our struct is uint8_t. don't make it be an intRoger Dingledine
elsewhere. bug reported by veracode. svn:r13597
2008-02-19 r18228@catbus: nickm | 2008-02-19 18:05:53 -0500Nick Mathewson
Chris Palmer notes that almost nobody is using smartlist_set_capacity(). Chris Palmer is right. Remove this basically pointless function. svn:r13596
2008-02-19 r18226@catbus: nickm | 2008-02-19 18:01:01 -0500Nick Mathewson
Brown-paper-bag time. We were failing to count all the sockets from accept(). svn:r13595
2008-02-19call a "number of characters" a size_t, not an intRoger Dingledine
svn:r13594
2008-02-19be more explicit about a harmless thing that freaked veracode outRoger Dingledine
svn:r13592
2008-02-19 r18218@catbus: nickm | 2008-02-19 17:27:40 -0500Nick Mathewson
When SafeLogging is off, have TLS errors and messages logged with their associated addresses. svn:r13591
2008-02-19make explicit that we don't care if a rename() call fails.Roger Dingledine
potential bug reported by veracode. svn:r13590
2008-02-19resolve another edge case in staying dormantRoger Dingledine
svn:r13586
2008-02-19maybe it should compile too.Roger Dingledine
svn:r13585
2008-02-19If we only ever used Tor for hidden service lookups or posts, weRoger Dingledine
would stop building circuits and start refusing connections after 24 hours, since we false believed that Tor was dormant. Reported by nwf; bugfix on 0.1.2.x. svn:r13583
2008-02-19clear up another connlimit lieRoger Dingledine
svn:r13582
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