summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-07Update polipo nsi and makefile for win32. Andrew Lewman
svn:r13411
2008-02-07 r17957@catbus: nickm | 2008-02-06 20:08:29 -0500Nick Mathewson
Oops; left a dquote out of acinclude.m4 svn:r13410
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 r17912@catbus: nickm | 2008-02-05 15:57:51 -0500Nick Mathewson
Document truncation of version lines svn:r13386
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
2008-02-05 r17909@catbus: nickm | 2008-02-05 14:48:22 -0500Nick Mathewson
As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete. svn:r13383
2008-02-05 r17903@catbus: nickm | 2008-02-05 14:40:03 -0500Nick Mathewson
Remove some dead code; fix some XXX020s; turn some XXX020s into XXXX_IP6s (i.e., "needs to be fixed when we add ipv6 support"). svn:r13382
2008-02-05 r17900@catbus: nickm | 2008-02-05 14:14:54 -0500Nick Mathewson
I wonder what the emacs command is for "exchange words?" I know that there _is_ one, because I apparently hit it by accident. svn:r13381
2008-02-05 r17899@catbus: nickm | 2008-02-05 14:14:06 -0500Nick Mathewson
Fix a couple of XXX020 items. Also, disable all "condition" sychronization code, since Tor does not use it yet svn:r13380
2008-02-05 r17898@catbus: nickm | 2008-02-05 14:01:35 -0500Nick Mathewson
Add (and use) a MAP_DEL_CURRENT macro to augment a non-const variant of MAP_FOREACH. svn:r13379
2008-02-05 r17897@catbus: nickm | 2008-02-05 13:51:40 -0500Nick Mathewson
Whitespace cleanups svn:r13378
2008-02-05Apparently, our windows code for detecting ipv6 structures has worked for a ↵Nick Mathewson
while. Remove the special-case, remove the related XXXX020s, and add useful comments instead. svn:r13377
2008-02-05torbutton-1.1.13-alpha exists.Andrew Lewman
svn:r13375
2008-02-05Updated mingw makefile for polipo to include forbidden functionality inAndrew Lewman
win32 and match it to mainline. svn:r13374
2008-02-04If we're a relay, avoid picking ourselves as an introduction point,Roger Dingledine
a rendezvous point, or as the final hop for internal circuits. Bug reported by taranis and lodger. Bugfix on 0.1.2.x. svn:r13372
2008-02-04Don't trigger an assert if we start a directory authority with aRoger Dingledine
private IP address (like 127.0.0.1). svn:r13371
2008-02-04correct copyright statementRoger Dingledine
svn:r13370
2008-02-03Copyright file updatePeter Palfrader
svn:r13366
2008-02-03Fix postinst find command that chowns stuff to the right user. Find does ↵Peter Palfrader
weird things in the presence of !. svn:r13364
2008-02-02Update pointer for gs bug from #321435 to #457568Peter Palfrader
svn:r13358