| Commit message (Expand) | Author | Age |
* | r12496@catbus: nickm | 2007-04-22 23:04:05 -0400••• When logging memory usage, break down memory used in buffers by buffer type.
svn:r10004
| Nick Mathewson | 2007-04-23 |
* | r12482@catbus: nickm | 2007-04-21 13:30:24 -0400••• Rename a couple of confusing fields
svn:r9996
| Nick Mathewson | 2007-04-21 |
* | r12763@Kushana: nickm | 2007-04-20 18:42:58 -0400••• Initial version of code to stop using socket pairs for linked connections. Superficially, it seems to work, but it probably needs a lot more testing and attention.
svn:r9995
| Nick Mathewson | 2007-04-21 |
* | r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400••• Track the number of connection_t separately from the number of open sockets. It is already possible to have connections that do not count: resolving conns, for one. Once we move from socketpairs to linked conns, and once we do dns proxying, there will be lots of such connections.
svn:r9994
| Nick Mathewson | 2007-04-21 |
* | r12652@Kushana: nickm | 2007-03-25 15:01:48 -0400••• A surprisingly simple patch to stop reading on edge connections when their circuits get too full, and start again when they empty out. This lets us remove the logic to block begin_dir conns when the corresponding or conns get full: it was already broken by cell queues anyway.
svn:r9905
| Nick Mathewson | 2007-03-26 |
* | r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400••• Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit.
svn:r9899
| Nick Mathewson | 2007-03-24 |
* | Don't save non-general-purpose router descriptors to the disk cache,•••because we have no way of remembering what their purpose was when
we restart.
svn:r9894
| Roger Dingledine | 2007-03-21 |
* | a stopgap measure while we wait for proposal 111: apply the•••stricter rate limiting to all OR conns except those that have
been touched by local circuits.
svn:r9882
| Roger Dingledine | 2007-03-20 |
* | Add a separate set of token buckets for relayed traffic. Right•••now that's just defined as answers to directory requests.
svn:r9881
| Roger Dingledine | 2007-03-20 |
* | r12080@catbus: nickm | 2007-03-04 21:40:55 -0500••• Remove dnsworkers and related code. there goes another 550 lines of code.
svn:r9736
| Nick Mathewson | 2007-03-05 |
* | r12077@catbus: nickm | 2007-03-04 16:08:23 -0500••• Remove support for v0 control protocol from 0.2.0.x trunk; send back error when we receive a v0 control message. (Leave "if(v1){...}"blocks indented for now so this patch is easier to read.) ((Finally, the linecount goes _down_ a little.))
svn:r9735
| Nick Mathewson | 2007-03-04 |
* | r12074@catbus: nickm | 2007-03-04 15:11:43 -0500••• Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.)
svn:r9733
| Nick Mathewson | 2007-03-04 |
* | r11942@catbus: nickm | 2007-02-25 11:22:12 -0500••• Fix connection_get_by_type_state_rendquery(): This has been bogus for most of 0.1.2.x. Thanks to Karsten Loesing for finding the bug; fixes bug 399.
svn:r9651
| Nick Mathewson | 2007-02-25 |
* | r11813@catbus: nickm | 2007-02-14 11:42:58 -0500••• Tweak stream_bw patch: Remove a couple of redundant checks, save 8 bytes per edge connection, fix spelling in the changelog; expand spec.
svn:r9586
| Nick Mathewson | 2007-02-14 |
* | r11812@catbus: nickm | 2007-02-14 11:22:08 -0500••• Apply stream_bw patch from Robert Hogan.
svn:r9585
| Nick Mathewson | 2007-02-14 |
* | r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates.
svn:r9570
| Nick Mathewson | 2007-02-12 |
* | more useful log messages when we give up on a stream•••svn:r9552
| Roger Dingledine | 2007-02-11 |
* | r11726@catbus: nickm | 2007-02-08 16:04:53 -0500••• Resolve some XXXX012 items:
- Remove PathlenCoinWeight: if we want it again, we can add it
back in.
- Ditto with RelayBandwidth*.
- Decide to leave in the "hey, you didn't set end_reason!" BUG log message,
but stop telling people to bug me personally.
- Postpone strengthening assert_connection_ok(): it's important, but
it's also a good way to introduce weird bugs.
- Move some expensive consistency checking from dns_free_all() into
assert_cache_ok().
svn:r9533
| Nick Mathewson | 2007-02-08 |
* | r12129@Kushana: nickm | 2007-02-03 09:57:36 -0500••• Update assert_connection_ok() to match the "block tunnelled dir conn if the or conn is full" logic. This may fix bug 385.
svn:r9479
| Nick Mathewson | 2007-02-03 |
* | r11607@catbus: nickm | 2007-01-30 17:19:27 -0500••• Audit non-const char arguments; make a lot more of them const.
svn:r9466
| Nick Mathewson | 2007-01-30 |
* | r11552@catbus: nickm | 2007-01-27 03:55:02 -0500••• This one is a little tricky. Our BEGIN_DIR implementation has a
problem: the dirserv conns will decide they can flush all their data
immediately, since the edge_conns will read greedily.
For our 0.1.2 workaround, we track which or_conn a bridged dirserv
conn is attached to, and stop writing when its outbuf is too full, and
start writing again when the or_conn's outbuf empties out a little.
This requires a bit of pointer management. Let's hope it works.
svn:r9432
| Nick Mathewson | 2007-01-27 |
* | Stop saying !is_internal_IP() when we really meant•••connection_is_rate_limited(). One day this will be useful.
svn:r9422
| Roger Dingledine | 2007-01-26 |
* | never refuse directory requests from local addresses•••svn:r9421
| Roger Dingledine | 2007-01-26 |
* | r9727@catbus: nickm | 2007-01-22 16:12:39 -0500••• 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
| Nick Mathewson | 2007-01-23 |
* | Flush local controller connection buffers periodically as we're•••writing to them, so we avoid queueing 4+ megabytes of data before
trying to flush.
Also add a new XXX012.
svn:r9382
| Roger Dingledine | 2007-01-22 |
* | If our system clock jumps back in time, don't publish a negative•••uptime in the descriptor. Also, don't let the global rate limiting
buckets go absurdly negative.
svn:r9377
| Roger Dingledine | 2007-01-21 |
* | man, i could have sworn that compiled•••svn:r9369
| Roger Dingledine | 2007-01-18 |
* | Be willing to read or write on local connections (e.g. controller•••connections) even when the global rate limiting buckets are empty.
svn:r9368
| Roger Dingledine | 2007-01-18 |
* | break out the big guns: reject dir requests much more•••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
| Roger Dingledine | 2007-01-17 |
* | r11975@Kushana: nickm | 2007-01-15 17:11:15 -0500••• set or_conn->tls_error to 0 on non-error to avoid looking at stale errors.
svn:r9359
| Nick Mathewson | 2007-01-15 |
* | r11966@Kushana: nickm | 2007-01-15 16:12:17 -0500••• 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
| Nick Mathewson | 2007-01-15 |
* | r11957@Kushana: nickm | 2007-01-15 15:25:57 -0500••• Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision.
svn:r9354
| Nick Mathewson | 2007-01-15 |
* | r11864@Kushana: nickm | 2007-01-06 01:25:59 -0500••• Fix an XXXX012 in connection.c: prevent overflows on unfeasibly-high-bandwidth servers on 32-bit architectures.
svn:r9282
| Nick Mathewson | 2007-01-06 |
* | be a bit less eager to reject v1 dir requests due to load•••svn:r9271
| Roger Dingledine | 2007-01-05 |
* | more progress and cleanups•••svn:r9269
| Roger Dingledine | 2007-01-05 |
* | r11744@Kushana: nickm | 2006-12-28 23:43:53 -0500••• Refactor connection_write_to_buf_zlib back into connection_write_to_buf. Hooray for dumping duplicate code.
svn:r9209
| Nick Mathewson | 2006-12-29 |
* | r11743@Kushana: nickm | 2006-12-28 23:13:21 -0500••• Refactor _connection_controller_force_write back into conncetion_handle_write. Again, the line count goes down: groovy!
svn:r9208
| Nick Mathewson | 2006-12-29 |
* | r11741@Kushana: nickm | 2006-12-28 22:41:29 -0500••• Count TLS bytes accurately: previously, we counted only the number of bytes read or transmitted via tls, not the number of extra bytes used to do so. This has been a lonstanding wart. The fix "Works for me".
svn:r9207
| Nick Mathewson | 2006-12-29 |
* | r11736@Kushana: nickm | 2006-12-28 17:46:23 -0500••• Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy.
svn:r9205
| Nick Mathewson | 2006-12-29 |
* | r11724@Kushana: nickm | 2006-12-28 14:22:35 -0500••• Refactor and unify my-ip-addr-changed logic. Make change in IP address or in nameservers reset and relaunch DNS hijacking tests.
svn:r9200
| Nick Mathewson | 2006-12-28 |
* | reinstate the most important dead chickens for limiting•••impact of directory writes now that we're write limiting.
a few more dead chickens remain.
svn:r9170
| Roger Dingledine | 2006-12-23 |
* | reenable write limiting. nick finally convinced me this was•••a smart move.
more todo sub-items remain for it.
svn:r9101
| Roger Dingledine | 2006-12-13 |
* | minor cleanups and notes•••svn:r9093
| Roger Dingledine | 2006-12-12 |
* | r9855@Kushana: nickm | 2006-12-04 00:55:09 -0500••• Merge circuit_about_to_close_connection and connection_about_to_close_connection.
svn:r9021
| Nick Mathewson | 2006-12-04 |
* | cleanups, bump to 0.1.2.4-alpha•••svn:r9015
| Roger Dingledine | 2006-12-02 |
* | r9308@totoro: nickm | 2006-11-13 18:41:23 -0500••• Add support for (Free?)BSD's natd, which was an old way to let you
have your firewall automatically redirect traffic. (Original patch
from Zajcev Evgeny, updated for 0.1.2.x by tup.)
svn:r8946
| Nick Mathewson | 2006-11-14 |
* | r9307@totoro: nickm | 2006-11-13 18:25:56 -0500••• Patch from tup based on patch from Zajcev Evgeny: Make TransPort work even when the server wants to talk before the client.
svn:r8945
| Nick Mathewson | 2006-11-14 |
* | r9307@Kushana: nickm | 2006-10-20 13:53:54 -0400••• Have connection_about_to_close use an end_reason field in edge_connection_t to tell what reason to tell the controller for closing the stream. Set end_reason in connection_edge_end, connection_mark_unattached_ap, and everwhere we set edge_has_sent_end. Add a changelog entry.
svn:r8779
| Nick Mathewson | 2006-10-20 |
* | r9303@Kushana: nickm | 2006-10-20 12:07:34 -0400••• Start implementing reason extension for stream events to match the one one used by circuit events. (Not a complete implementation yet; actual reasons are not passed to control.c)
svn:r8777
| Nick Mathewson | 2006-10-20 |
* | bugfix and cleanups re: entry guards.•••svn:r8620
| Roger Dingledine | 2006-10-06 |