| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
weasel less
svn:r11834
|
|
|
|
|
|
|
| |
Make controllers accept LF as well as CRLF. Update spec to reflect this. Remove now-dead code. Make controller warning about v0 protocol more accurate.
svn:r11299
|
|
|
|
|
|
|
| |
possible fix for bug 473: always set buf->cur on buf_remove_from_front.
svn:r11004
|
|
|
|
|
|
| |
mallocs() be inefficient, and we havent needed it in a long long time.
svn:r10994
|
|
|
|
|
|
| |
around for an empty buffer that could go on the freelist. This wants profiling to make sure that performance doesnt suffer.
svn:r10993
|
|
|
|
|
|
|
| |
Weasel noticed that many buffers spend their time with empty 4k, 8k, and 16k memory chunks. Thus, be more aggressive about putting empty chunks on the freelist, regardless of their high water marks. (Also, run buffer_shrink_freelist on the 8k-chunk freelist.)
svn:r10953
|
|
|
|
|
|
|
|
|
| |
Fix warnings on platforms where rlim values can be signed.
Add an 8k buffer freelist.
svn:r10948
|
|
|
|
|
|
|
| |
When dumping memory usage, list bytes used in buffer memory free-lists.
svn:r10947
|
|
|
|
| |
svn:r10854
|
|
|
|
| |
svn:r10851
|
|
|
|
|
|
|
| |
Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere.
svn:r10645
|
|
|
|
|
|
|
| |
Remove some deadcode that seems unlikely to return
svn:r10509
|
|
|
|
|
|
|
| |
When freeing slack buffers, free the buffers at the end of the freelist first.
svn:r10313
|
|
|
|
|
|
|
| |
Enable (and cope with) more GCC 4.2 warnings.
svn:r10196
|
|
|
|
|
|
|
| |
Make buffer unit tests pass again
svn:r10158
|
|
|
|
| |
svn:r10152
|
|
|
|
|
|
|
| |
Keep two freelists for buffer ram chunks: one of 4k chunks, and one of 16k chunks. Also, document the whole business.
svn:r10150
|
|
|
|
|
|
|
| |
Periodically clean the freelist of buffer memory chunks.
svn:r10149
|
|
|
|
|
|
|
| |
hope this doesn't break it
svn:r10025
|
|
|
|
|
|
|
| |
Avoid another assert failure in the new buffer memory code. (This time, it hit when freeing a 4k buffer with some data on it.)
svn:r10011
|
|
|
|
|
|
|
| |
Avoid a segfault when freeing a buffer with size 0.
svn:r10010
|
|
|
|
|
|
|
| |
Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t.
svn:r10006
|
|
|
|
|
|
|
| |
When logging memory usage, break down memory used in buffers by buffer type.
svn:r10004
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r9634
|
|
|
|
|
|
|
| |
Resolve 56 DOCDOC comments.
svn:r9594
|
|
|
|
|
|
|
| |
Update copyright dates.
svn:r9570
|
|
|
|
|
|
|
| |
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
|
|
|
|
|
|
|
| |
Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision.
svn:r9354
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
control-spec: upcase arguments in status events; note unimplemented events individually
r11825@Kushana: nickm | 2007-01-03 17:41:43 -0500
Implement EXTERNAL IP server status event.
r11826@Kushana: nickm | 2007-01-03 17:47:10 -0500
Implement BAD_SERVER_DESCRIPTOR server status event.
r11827@Kushana: nickm | 2007-01-03 18:01:56 -0500
Implement SOCKS_UNKNOWN_PROTOCOL and DANGEROUS_SOCKS client events.
r11828@Kushana: nickm | 2007-01-03 18:23:22 -0500
Implement BUG controller events. Also, flush ERR-level status events just like ERR-level log messages.
r11829@Kushana: nickm | 2007-01-03 23:37:27 -0500
Yet more status events: CLOCK_SKEW, GOOD/ACCEPTED_SERVER_DESCRIPTOR, {CHECKING_}REACHABILITY_{SUCCEEDED|FAILED}
r11833@Kushana: nickm | 2007-01-05 16:56:37 -0500
Note some unimplementedness in control-spec.txt
svn:r9279
|
|
|
|
|
|
|
|
|
|
|
| |
buffer, make sure our tls_get_forced_write_size doesn't
make it write whatever's after the buffer.
this hasn't triggered yet, but it would be rare, so let's
leave it in.
svn:r9107
|
|
|
|
|
|
|
| |
fix last fix
svn:r9106
|
|
|
|
|
|
|
| |
Try to fix an assert failure in new write limiting code: make buffers.c aware of previous "forced" write sizes from tortls.
svn:r9105
|
|
|
|
|
|
|
|
|
|
| |
New socks command CONNECT_DIR. New config option TunnelDirConns that
builds a circ ending at the directory server and delivers a BEGIN_DIR
cell if it's running 0.1.2.2-alpha or later. We still need to make
one-hop circs when appropriate, while making other conns avoid them.
svn:r9098
|
|
|
|
|
|
|
| |
Fix some more mipspro warnings. Nothing should remain excecpt "conversion from pointer to same-sized integral type."
svn:r8950
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
unless it doesn't. (Nick, please confirm.)
Backport candidate.
svn:r8844
|
|
|
|
| |
svn:r8727
|
|
|
|
|
|
|
| |
Specify and implement SOCKS5 interface for reverse hostname lookup.
svn:r8451
|
|
|
|
| |
svn:r8427
|
|
|
|
|
|
|
| |
Add some doxygen, concentrated in dns.c
svn:r8256
|
|
|
|
|
|
|
| |
Fix bug 314: Instead of checking address_in_virtualrange, check addressmap_have_mapping(). This should be more accurate. [Rename to addressmap_have_mapping() from addressmap_already_mapped().]
svn:r8226
|
|
|
|
|
|
|
|
|
| |
throw out everything waiting on the buffer in between socks
handshake phases, since they can't possibly (so the theory
goes) have predicted what we plan to respond to them.
svn:r8223
|
|
|
|
| |
svn:r6763
|
|
|
|
| |
svn:r6683
|
|
|
|
| |
svn:r6658
|
|
|
|
| |
svn:r6657
|
|
|
|
| |
svn:r6656
|
|
|
|
| |
svn:r6653
|