aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* r11278@catbus: nickm | 2007-01-23 14:22:27 -0500Nick Mathewson2007-01-23
| | | | | | | More doxygen comments: this time mainly around spooling and storing directory information. svn:r9392
* r11277@catbus: nickm | 2007-01-23 14:08:08 -0500Nick Mathewson2007-01-23
| | | | | | | When logging TLS certificate and identity-related errors, scrub IP addresses for incoming connections, and distinguish between incoming and outgoing connections in log messages. Backport candidate. svn:r9391
* r9727@catbus: nickm | 2007-01-22 16:12:39 -0500Nick Mathewson2007-01-23
| | | | | | | Remove redundant check for whether _connection_write_to_buf_impl is called with a zlib and a non-directory connection: TO_DIR_CONN will already assert if it gets a non-dir connection. svn:r9390
* r9723@catbus: nickm | 2007-01-22 15:47:17 -0500Nick Mathewson2007-01-22
| | | | | | | Fix an XXXX012 in routerlist.c: when we do not have enough networkstatuses to launch router requests, do not launch router requests. Backport candidate. svn:r9388
* minor cleanupsRoger Dingledine2007-01-22
| | | | svn:r9387
* r9718@catbus: nickm | 2007-01-22 14:13:00 -0500Nick Mathewson2007-01-22
| | | | | | | Free CACHE_STATE_DONE cached_router_t items on dns_free_all(). svn:r9386
* r9715@catbus: nickm | 2007-01-22 02:51:04 -0500Nick Mathewson2007-01-22
| | | | | | | Document a few undocumented functions and arguments. svn:r9385
* Flush local controller connection buffers periodically as we'reRoger Dingledine2007-01-22
| | | | | | | | | | writing to them, so we avoid queueing 4+ megabytes of data before trying to flush. Also add a new XXX012. svn:r9382
* resolve an XXX, add a new XXX, simplify some codeRoger Dingledine2007-01-22
| | | | svn:r9381
* r9709@catbus: nickm | 2007-01-21 21:34:03 -0500Nick Mathewson2007-01-22
| | | | | | | Fix memory leak on networkstatus 503. svn:r9380
* r9701@catbus: nickm | 2007-01-21 13:21:25 -0500Nick Mathewson2007-01-21
| | | | | | | Detect and reject another (harmless) class of DNS replies. Also, fix a couple of IPv6 bugs in evendns.c svn:r9379
* r9692@catbus: nickm | 2007-01-21 12:04:22 -0500Nick Mathewson2007-01-21
| | | | | | | Detect pointer loops in DNS requests and replies; avoid infinite loop on such malformed replies. Fixes bug 380. svn:r9378
* If our system clock jumps back in time, don't publish a negativeRoger Dingledine2007-01-21
| | | | | | | | uptime in the descriptor. Also, don't let the global rate limiting buckets go absurdly negative. svn:r9377
* r9689@catbus: nickm | 2007-01-19 22:34:20 -0500Nick Mathewson2007-01-20
| | | | | | | And remove another strcpy. svn:r9375
* r11987@Kushana: nickm | 2007-01-19 14:57:28 -0500Nick Mathewson2007-01-19
| | | | | | | Implement SOCKS_BAD_HOSTNAME status event. Defer remaining status events. Clean up control-spec.txt a little, and fill in recommendations for events. svn:r9374
* r9776@totoro: nickm | 2007-01-18 14:37:01 -0500Nick Mathewson2007-01-18
| | | | | | | Yes, apparently saying strcpy in front of openbsd is like saying "intellectual property" in front of RMS. They both have a point, I guess, even though they extend it to contexts where it is completely irrelevant. svn:r9370
* man, i could have sworn that compiledRoger Dingledine2007-01-18
| | | | svn:r9369
* Be willing to read or write on local connections (e.g. controllerRoger Dingledine2007-01-18
| | | | | | | connections) even when the global rate limiting buckets are empty. svn:r9368
* break out the big guns: reject dir requests much moreRoger Dingledine2007-01-17
| | | | | | | | | | aggressively. my vidalia bandwidth graph, when rate limiting to 32kB/s, has the "write" line constantly at 32kB. I can't imagine what's going on with the relay latency but it can't be good. svn:r9366
* boots and suspenders, or whatever the idiom isRoger Dingledine2007-01-17
| | | | svn:r9365
* r11983@Kushana: nickm | 2007-01-16 10:28:47 -0500Nick Mathewson2007-01-16
| | | | | | | Be even more clever about severity of messages from eventdns: NOTICE when the first nameserver comes up; INFO on subsequent ones. svn:r9364
* r11978@Kushana: nickm | 2007-01-15 18:54:25 -0500Nick Mathewson2007-01-15
| | | | | | | Apparently, the OpenBSD linker thinks it knows C better than I do, and gets to call me names for having strcat and strcpy and sprintf in my code--whether I use them safely or not. All right, OpenBSD. You win... this round. svn:r9360
* r11975@Kushana: nickm | 2007-01-15 17:11:15 -0500Nick Mathewson2007-01-15
| | | | | | | set or_conn->tls_error to 0 on non-error to avoid looking at stale errors. svn:r9359
* r11973@Kushana: nickm | 2007-01-15 16:43:25 -0500Nick Mathewson2007-01-15
| | | | | | | Answer questions from r9348. svn:r9358
* svn:r9357Nick Mathewson2007-01-15
|
* r11967@Kushana: nickm | 2007-01-15 16:13:15 -0500Nick Mathewson2007-01-15
| | | | | | | tidy up more whitespace issues svn:r9356
* r11966@Kushana: nickm | 2007-01-15 16:12:17 -0500Nick Mathewson2007-01-15
| | | | | | | Tidy up ORCONN reason patch from Mike Perry. Changes: make some of the handling of TLS error codes less error prone. Enforce house style wrt spaces. Make it compile with --enable-gcc-warnings. Only set or_conn->tls_error in the case of an actual error. Add a changelog entry. svn:r9355
* r11957@Kushana: nickm | 2007-01-15 15:25:57 -0500Nick Mathewson2007-01-15
| | | | | | | Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision. svn:r9354
* Expire socks connections if they spend too long waiting for theRoger Dingledine2007-01-15
| | | | | | | | | | | | | handshake to finish. Previously we would let them sit around for days, if the connecting application didn't close them either. Also take this opportunity to refactor a duplicate bit of circuituse.c. And change the semantics of SocksTimeout slightly, but I think it'll be ok. svn:r9350
* patch from edmanm to make "-nt-service" command-line work tooRoger Dingledine2007-01-15
| | | | svn:r9349
* two more todo items, to make eventdns log messages less loudRoger Dingledine2007-01-15
| | | | svn:r9348
* Update copyright in config.c while I'm there. Update man page toAndrew Lewman2007-01-13
| | | | | | | reflect all available options to tor binary. svn:r9341
* r11938@Kushana: nickm | 2007-01-11 11:02:28 -0500Nick Mathewson2007-01-11
| | | | | | | Check addresses for rfc953-saneness at exit too, and give a PROTOCOL_WARN when they fail. Also provide a mechanism to override this, so blossom can have its @@##$$^.whatever.exit hostnames if it wants. svn:r9336
* r11931@Kushana: nickm | 2007-01-11 09:12:49 -0500Nick Mathewson2007-01-11
| | | | | | | Fix a crash bug in the presence of DNS hijacking. svn:r9333
* r11930@Kushana: nickm | 2007-01-11 09:05:27 -0500Nick Mathewson2007-01-11
| | | | | | | fix recently-introduced segfault when not running as a dirserver svn:r9332
* Make the unit tests work again.Roger Dingledine2007-01-11
| | | | | | | | The foo_init() funcs need to happen before we call options_act() and friends. svn:r9331
* Fix crash with "tor --list-fingerprint" (reported by seeess).Roger Dingledine2007-01-10
| | | | svn:r9328
* r11922@Kushana: nickm | 2007-01-10 15:43:18 -0500Nick Mathewson2007-01-10
| | | | | | | Clear untrusted networkstatuses after 10 days too. (This is not a terribly awful bug, since we would only ever retain 16 of them, but it still might be nice to backport.) Resolves part A of bug 372. svn:r9324
* r11919@Kushana: nickm | 2007-01-10 13:32:48 -0500Nick Mathewson2007-01-10
| | | | | | | Add some defensive programming to eventdns.c in an attempt to catch possible memory stomping bugs. svn:r9322
* r11914@dhcp-18-188-69-59: nickm | 2007-01-10 11:20:59 -0500Nick Mathewson2007-01-10
| | | | | | | Base skew calculation on conn->timestamp_lastwritten, not on now. svn:r9319
* bump to 0.1.2.6-alpha-dev so we're ready for tomorrow'sRoger Dingledine2007-01-09
| | | | | | | surprise release too svn:r9314
* bump to 0.1.2.6-alphaRoger Dingledine2007-01-09
| | | | svn:r9311
* some cleanups. more probably remain, but hey, it's an alpha.Roger Dingledine2007-01-09
| | | | | | | time to put out the bugfix release. svn:r9309
* apparently i think of comments with no whitespace around them asRoger Dingledine2007-01-09
| | | | | | | | | "read this if you don't understand the code and want some help." which is not the same as "hey, you think you understand this code, but you don't." svn:r9307
* Fix an assert error introduced in 0.1.2.5-alpha: if a single TLSRoger Dingledine2007-01-09
| | | | | | | connection handles more than 4 gigs in either direction, we assert. svn:r9306
* Fix an assert error introduced in 0.1.2.5-alpha: if you're anRoger Dingledine2007-01-09
| | | | | | | | advertised exit node, somebody might try to exit from you when you're bootstrapping and before you've built your descriptor yet. svn:r9305
* r11873@Kushana: nickm | 2007-01-06 02:32:18 -0500Nick Mathewson2007-01-06
| | | | | | | Implement DNS-related status events. svn:r9285
* r11872@Kushana: nickm | 2007-01-06 02:14:12 -0500Nick Mathewson2007-01-06
| | | | | | | Implement a control status event for bad libevent version/method combos. Warn that libevent <1.1 with select() is needlessly slow. Reply to comment. svn:r9284
* r11868@Kushana: nickm | 2007-01-06 01:32:55 -0500Nick Mathewson2007-01-06
| | | | | | | Document how we set Guard a little better. svn:r9283
* r11864@Kushana: nickm | 2007-01-06 01:25:59 -0500Nick Mathewson2007-01-06
| | | | | | | Fix an XXXX012 in connection.c: prevent overflows on unfeasibly-high-bandwidth servers on 32-bit architectures. svn:r9282