summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* cleanups on r13037Roger Dingledine2008-01-06
| | | | svn:r13045
* r17473@catbus: nickm | 2008-01-05 22:15:05 -0500Nick Mathewson2008-01-06
| | | | | | | Add a reverse mapping from SSL to tor_tls_t*: we need this in order to do a couple of things the sensible way from inside callbacks. Also, add a couple of missing cases in connection_or.c svn:r13040
* r17472@catbus: nickm | 2008-01-05 22:10:19 -0500Nick Mathewson2008-01-06
| | | | | | | Another test for the increasingly bad check-spaces style checker to check: #else\n#if is almost a sure sign of a failure to use #elif. Fortunately, we only did that 3 times. svn:r13039
* r17471@catbus: nickm | 2008-01-05 21:47:08 -0500Nick Mathewson2008-01-06
| | | | | | | Missing documentation in container.h svn:r13038
* patch from karsten to complain less when a node losesRoger Dingledine2008-01-06
| | | | | | | its hsdir status svn:r13037
* r17469@catbus: nickm | 2008-01-05 20:14:07 -0500Nick Mathewson2008-01-06
| | | | | | | Fix bug 579: Count DNSPort and hidden services when checking whether Tor is going to do anything. Change "no configured ports" from fatal to warning. svn:r13036
* r17467@catbus: nickm | 2008-01-05 19:54:20 -0500Nick Mathewson2008-01-06
| | | | | | | fix whitespace svn:r13035
* r17459@catbus: nickm | 2008-01-03 17:44:25 -0500Nick Mathewson2008-01-03
| | | | | | | add init_logging calls to tor_gencert and tor_resolve svn:r13028
* r15787@tombo: nickm | 2008-01-02 01:59:07 -0500Nick Mathewson2008-01-02
| | | | | | | Allow config values in quotes to contain special characters, with full C escape syntax. With tests. Addresses bug 557. svn:r13021
* r15786@tombo: nickm | 2008-01-02 01:11:51 -0500Nick Mathewson2008-01-02
| | | | | | | Push the strdups used for parsing configuration lines into parse_line_from_string(). This will make it easier to parse more complex value formats, which in turn will help fix bug 557 svn:r13020
* r15784@tombo: nickm | 2008-01-02 00:38:06 -0500Nick Mathewson2008-01-02
| | | | | | | Fix bug 575: protect the list of logs with a mutex. I couldn't find any appreciable change in logging performance on osx, but ymmv. You can undef USE_LOG_MUTEX to see if stuff gets faster for you. svn:r13019
* r15782@tombo: nickm | 2008-01-01 23:57:43 -0500Nick Mathewson2008-01-02
| | | | | | | Bugfix for bug 569: do not try to download nonexistant certificates with signing key 000000000000000. svn:r13018
* r15779@tombo: nickm | 2008-01-01 23:43:24 -0500Nick Mathewson2008-01-02
| | | | | | | Use reference-counting to avoid allocating a zillion little addr_policy_t objects. (This is an old patch that had been sitting on my hard drive for a while.) svn:r13017
* update the license for 2008, complete a todo.Andrew Lewman2008-01-01
| | | | svn:r13014
* r15768@tombo: nickm | 2007-12-31 16:12:09 -0500Nick Mathewson2007-12-31
| | | | | | | Patch from Tup: make NS events work again. svn:r13009
* r15767@tombo: nickm | 2007-12-31 16:06:27 -0500Nick Mathewson2007-12-31
| | | | | | | Note an unfreed cert svn:r13008
* r15750@tombo: nickm | 2007-12-29 19:12:51 -0500Nick Mathewson2007-12-30
| | | | | | | Make HTTP-processing code in buffers.c faster: do not pull up 50K of text into the first chunk if the headers end earlier than that. svn:r13006
* r17433@catbus: nickm | 2007-12-29 12:35:57 -0500Nick Mathewson2007-12-29
| | | | | | | Incomplete code to avoid doing needless pull-ups on HTTP. Also, use memstr instead of strstr to find the content-length header. svn:r13005
* r15745@tombo: nickm | 2007-12-29 00:15:17 -0500Nick Mathewson2007-12-29
| | | | | | | Try even harder not to allocate chunks bigger than MAX_CHUNK_ALLOC. svn:r13003
* r17426@catbus: nickm | 2007-12-28 21:12:29 -0500Nick Mathewson2007-12-29
| | | | | | | Remove need for buf_pullup in fetch_line_from_buf(). svn:r13002
* r17423@catbus: nickm | 2007-12-28 01:54:42 -0500Nick Mathewson2007-12-28
| | | | | | | Fix compilation with dmalloc svn:r12998
* r17410@catbus: nickm | 2007-12-27 09:20:27 -0500Nick Mathewson2007-12-27
| | | | | | | Exciting new entries in buf_dump_freelist_sizes() to make sure our freelist sizes are reasonable. svn:r12996
* r17407@catbus: nickm | 2007-12-27 00:18:31 -0500Nick Mathewson2007-12-27
| | | | | | | Fix windows compile error svn:r12995
* r17405@catbus: nickm | 2007-12-26 22:27:37 -0500Nick Mathewson2007-12-27
| | | | | | | And clean up an assertion failure. svn:r12993
* r17403@catbus: nickm | 2007-12-26 22:23:50 -0500Nick Mathewson2007-12-27
| | | | | | | Apparently loops work better when you actually increment/decrement the loop variable. Who knew? svn:r12992
* r15723@tombo: nickm | 2007-12-26 19:25:51 -0500Nick Mathewson2007-12-27
| | | | | | | Actually trim freelists. svn:r12991
* r15721@tombo: nickm | 2007-12-26 17:07:10 -0500Nick Mathewson2007-12-26
| | | | | | | Fix a nasty infinite loop in flush_buf[_tls]. svn:r12990
* r15719@tombo: nickm | 2007-12-26 14:02:12 -0500Nick Mathewson2007-12-26
| | | | | | | More tweaks on 0-byte TLS writes. svn:r12989
* r15717@tombo: nickm | 2007-12-26 13:55:53 -0500Nick Mathewson2007-12-26
| | | | | | | Oops. flush_buf_tls can request more than the requested number of bytes. When that happens, do not let the size_t sz wrap around. svn:r12988
* r15715@tombo: nickm | 2007-12-26 13:09:27 -0500Nick Mathewson2007-12-26
| | | | | | | Peacetime managed to run overnight in paranoia mode. Disabling paranoia, so that buffers.c can be a little speedy again. svn:r12987
* bump torbutton versionAndrew Lewman2007-12-26
| | | | svn:r12985
* r15710@tombo: nickm | 2007-12-25 19:36:03 -0500Nick Mathewson2007-12-26
| | | | | | | Fix in flush_buf_tls: it is okay to flush an empty buffer, since we may have a partial TLS record pending. svn:r12984
* r15693@tombo: nickm | 2007-12-25 19:11:29 -0500Nick Mathewson2007-12-26
| | | | | | | Here, have some terribly clever new buffer code. It uses a mbuf-like strategy rather than a ring buffer strategy, so it should require far far less extra memory to hold any given amount of data. Also, it avoids access patterns like x=malloc(1024);x=realloc(x,1048576);x=realloc(x,1024);append_to_freelist(x) that might have been contributing to memory fragmentation. I've tested it out a little on peacetime, and it seems to work so far. If you want to benchmark it for speed, make sure to remove the #define PARANOIA; #define NOINLINE macros at the head of the module. svn:r12983
* r15692@tombo: nickm | 2007-12-25 18:15:50 -0500Nick Mathewson2007-12-26
| | | | | | | Bump version to 0.2.0.15-alpha-dev svn:r12982
* r15691@tombo: nickm | 2007-12-25 18:13:54 -0500Nick Mathewson2007-12-26
| | | | | | | New, slightly esoteric function, tor_malloc_roundup(). While tor_malloc(x) allocates x bytes, tor_malloc_roundup(&x) allocates the same size of chunk it would use to store x bytes, and sets x to the usable size of that chunk. svn:r12981
* Fix a typo. Thanks sjmurdoch.Andrew Lewman2007-12-25
| | | | svn:r12978
* proposal 121: replaced misleading term "authentication" by "authorization", ↵Karsten Loesing2007-12-25
| | | | | | added some clarifications (comments by Sven Kaffille) svn:r12967
* New upstream versionPeter Palfrader2007-12-25
| | | | svn:r12965
* bump to 0.2.0.15-alphator-0.2.0.15-alphaRoger Dingledine2007-12-25
| | | | svn:r12962
* The bridge GeoIP stats were counting other relays, for exampleRoger Dingledine2007-12-25
| | | | | | | self-reachability and authority-reachability tests. svn:r12960
* tweaksRoger Dingledine2007-12-24
| | | | svn:r12959
* minor patches from Christian BruefferRoger Dingledine2007-12-24
| | | | svn:r12958
* 0.2.0.15-alpha is coming out tonight. get yer bug reports in now!Roger Dingledine2007-12-24
| | | | svn:r12957
* correct the patch from cjacker huang for iphone compilingRoger Dingledine2007-12-24
| | | | svn:r12953
* Fix several remotely triggerable asserts based on DirPort requestsRoger Dingledine2007-12-24
| | | | | | | | | | | | | | for a v2 or v3 networkstatus object before we were prepared. This was particularly bad for 0.2.0.13 and later bridge relays, who would never have a v2 networkstatus and would thus always crash when used. Bugfixes on 0.2.0.x. Estimate the v3 networkstatus size more accurately, rather than estimating it at zero bytes and giving it artificially high priority compared to other directory requests. Bugfix on 0.2.0.x. svn:r12952
* some geoip related todo itemsRoger Dingledine2007-12-24
| | | | svn:r12951
* bugfix on r10612:Roger Dingledine2007-12-24
| | | | | | | | | When we load a bridge descriptor from the cache, and it was previously unreachable, mark it as retriable so we won't just ignore it. Also, try fetching a new copy immediately. svn:r12950
* r15653@tombo: nickm | 2007-12-23 14:15:12 -0500Nick Mathewson2007-12-23
| | | | | | | Refactor circuit_launch* functions to take a bitfield of flags rather than 4 separate nonconsecutive flags arguments. Also, note a possible but in circuit_find_to_cannibalize, which seems to be ignoring its purpose argument. svn:r12948
* r15648@tombo: nickm | 2007-12-23 13:27:30 -0500Nick Mathewson2007-12-23
| | | | | | | Support building for iPhone; patch from cjacker huang. svn:r12946
* r15646@tombo: nickm | 2007-12-23 13:17:33 -0500Nick Mathewson2007-12-23
| | | | | | | Handle cross-compilation more sanely: avoid most uses of the (never-defined!) CROSS_COMPILE variable; in the one place where we cannot help it, use the correct cross_compiling. svn:r12945