summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-09bump to 0.2.0.19-alphaRoger Dingledine
svn:r13449
2008-02-09cleanups on r13442.Roger Dingledine
oh, and this should be backported too. svn:r13444
2008-02-09tweakRoger Dingledine
svn:r13443
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 r17987@catbus: nickm | 2008-02-08 17:01:56 -0500Nick Mathewson
Remove spurious log stmt svn:r13432
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 r17964@catbus: nickm | 2008-02-07 10:45:02 -0500Nick Mathewson
Fix bug in last patch that made secret_to_key crash. svn:r13415
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 r17953@catbus: nickm | 2008-02-06 15:00:44 -0500Nick Mathewson
Implement a better means for testing for renegotiation. svn:r13408
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
2008-02-06 r17947@catbus: nickm | 2008-02-06 11:57:53 -0500Nick Mathewson
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405
2008-02-06misc small fixesRoger Dingledine
svn:r13403
2008-02-06New config option ServerDNSAllowBrokenResolvConf to start a relayRoger Dingledine
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
2008-02-06If the networkstatus consensus lists no recommended versions, don'tRoger Dingledine
complain to the user and demand that they upgrade to one of "". svn:r13401
2008-02-06if i'm a v3 authority, tell myself about my cert when i startup.Roger Dingledine
otherwise i'll keep asking other authorities for it, which probably isn't the best way to get it. this made bootstrapping a new network very hard. svn:r13400
2008-02-06if we have a networkstatus concensus but only 0 or 1 descriptors,Roger Dingledine
don't declare that we're ready to build circuits yet. we're not. svn:r13399
2008-02-06don't fetch or cache running-routers files if there are no v1Roger Dingledine
authorities svn:r13398
2008-02-06 r17936@catbus: nickm | 2008-02-06 00:31:11 -0500Nick Mathewson
Fix/downgrade some more XXX020s. svn:r13397
2008-02-06 r17935@catbus: nickm | 2008-02-05 20:54:54 -0500Nick Mathewson
Add typechecking cast functions for typed digestmap variants. svn:r13396
2008-02-06 r17933@catbus: nickm | 2008-02-05 19:54:28 -0500Nick Mathewson
Stamp out a bunch of atoi users; make more tor_parse_long() users check their outputs. svn:r13395
2008-02-05 r17930@catbus: nickm | 2008-02-05 18:20:40 -0500Nick Mathewson
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
2008-02-05 r17929@catbus: nickm | 2008-02-05 17:10:26 -0500Nick Mathewson
Fix or downgrade a few XXX020 items. svn:r13393
2008-02-05 r17918@catbus: nickm | 2008-02-05 16:39:17 -0500Nick Mathewson
Remove a few #if-0d items. svn:r13392
2008-02-05 r17917@catbus: nickm | 2008-02-05 16:38:15 -0500Nick Mathewson
Oops; fix compilation of control.c svn:r13391
2008-02-05 r17916@catbus: nickm | 2008-02-05 16:29:35 -0500Nick Mathewson
Fix some XXX020 items in control.c: add a maximum line length and note that the number of versioning authorities is no longer apparent to clients. svn:r13390
2008-02-05 r17915@catbus: nickm | 2008-02-05 16:28:57 -0500Nick Mathewson
Remove a dead function. svn:r13389
2008-02-05 r17914@catbus: nickm | 2008-02-05 16:12:16 -0500Nick Mathewson
Remove or downgrade some XXX020 items. svn:r13388
2008-02-05 r17913@catbus: nickm | 2008-02-05 16:11:33 -0500Nick Mathewson
Correctly register failures in connection_add() in dnsserv_launch_request() svn:r13387
2008-02-05 r17911@catbus: nickm | 2008-02-05 15:53:22 -0500Nick Mathewson
Fix a potential bug that would make authorities fail to vote under bizarre circumstances that probably never happened. svn:r13385
2008-02-05 r17910@catbus: nickm | 2008-02-05 15:36:29 -0500Nick Mathewson
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