Age | Commit message (Collapse) | Author |
|
Do the last part of arma's fix for bug 437: Track the origin of every addrmap, and use this info so we can remove all the trackhostexits-originated mappings for a given exit.
svn:r13660
|
|
Change some of our log messages related to closed TLS connections in order to better reflect reality.
svn:r13657
|
|
Fix bug-handling code for unhandled write errors, so that it does not try to flush any data on the failed connection. Bugfix on 0.1.2.x.
svn:r13655
|
|
work, nobody had ever implemented it. Bugfix on 0.1.0.x.
svn:r13647
|
|
so it doesn't return failure when any authority disappears.
svn:r13645
|
|
example, when answering a directory request), reset the
time-to-give-up timeout every time we manage to write something
on the socket. Bugfix on 0.1.2.x.
svn:r13643
|
|
Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry.
svn:r13638
|
|
Recover from bad tracked-since value in mtbf history file. This may finally close bug 537.
svn:r13636
|
|
Fix a bug that kept buf_find_string_offset from finding a string at the very end of the buffer. Add a unit test for this. Also, do not save a pointer to a chunk that might get reallocated by buf_pullup().
svn:r13635
|
|
Fix spelling
svn:r13631
|
|
add a flag to suppress overwriting the certificates file with new certificates, so we do not overwrite all certs when starting as an authority.
svn:r13630
|
|
Apply patch from Sebastian Hahn: stop imposing an arbitrary maximum on the number of file descriptors used for busy servers. Bug reported by Olaf Selke.
svn:r13626
|
|
fix bufs in buf_pos_t implementation.
svn:r13623
|
|
version of it, when handling a "/tor/networkstatus-bridges"
directory request. Now compare correctly. Noticed by Veracode.
svn:r13609
|
|
Brown-paper-bag time. We were failing to count all the sockets from accept().
svn:r13595
|
|
When SafeLogging is off, have TLS errors and messages logged with their associated addresses.
svn:r13591
|
|
Add some checks in torgzip.c to make sure we never overflow size_t there. Also make sure we do not realloc(list,0) in container.c. Backport candidate.
svn:r13587
|
|
svn:r13585
|
|
would stop building circuits and start refusing connections after
24 hours, since we false believed that Tor was dormant. Reported
by nwf; bugfix on 0.1.2.x.
svn:r13583
|
|
Add a --with-tcmalloc argument to configure.
svn:r13546
|
|
Add openbsd memory allocator discussed in bug 468, to make it easier for linux users to get non-awful allocation patterns. Use --enable-openbsd-malloc to turn it on. Needs more testing.
svn:r13544
|
|
Partial fix for bug 586: Add an ephemeral __HashedControlSessionPassword.
svn:r13543
|
|
svn:r13542
|
|
Replace the hefty tor_strpartition with a simple function to replace its only (trivial) use.
svn:r13532
|
|
Patch from karsten: make hidden service code respect SafeLogging.
svn:r13493
|
|
cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
svn:r13488
|
|
bandwidth, rather than uniformly at random. This should speed up Tor
for bridge users. Also do this for people who set StrictEntryNodes.
svn:r13486
|
|
Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation.
svn:r13484
|
|
svn:r13481
|
|
address if the connection appears to be coming from the same /24
network; it was producing too many wrong guesses.
svn:r13464
|
|
"0 bytes in 1 empty chunks" is hardly likely.
svn:r13463
|
|
svn:r13446
|
|
oh, and this should be backported too.
svn:r13444
|
|
Bugfix from Karsten Loesing: Retry v2 rend descriptors on intro point failure.
svn:r13431
|
|
Add a bunch more code documentation; change the interface of fetch_var_cell_from_buf() so it takes the current link protocol into account and can't get confused by weird command bytes on v1 connections.
svn:r13430
|
|
Change DNs in x509 certificates to be harder to fingerprint. Raise common code. Refactor random hostname generation into crypto.c
svn:r13429
|
|
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
|
|
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
|
|
Oops; left a dquote out of acinclude.m4
svn:r13410
|
|
Fix bandwidth bucked calculations again, I think. Bugfix on 0.1.2.x. Backport candidate.
svn:r13406
|
|
Stamp out a bunch of atoi users; make more tor_parse_long() users check their outputs.
svn:r13395
|
|
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
|
|
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
|
|
Correctly register failures in connection_add() in dnsserv_launch_request()
svn:r13387
|
|
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
|
|
private IP address (like 127.0.0.1).
svn:r13371
|
|
Bugfix from weasel: possible fix for 593: make connection_write_to_buf("") work when using zlib compression.
svn:r13347
|
|
Periodically check whether we have an expired consensus networkstatus. If we do, and we think we have enough directory info, then call router_dir_info_changed(). Fixes bug 401. This bug was deferred from 0.1.2.x, but fixing it there is nontrivial.
svn:r13342
|
|
Correctly insert connections into the identity->connection map when we connect to a bridge without having specified its key. Fixes bug 574.
svn:r13341
|
|
Write a new autoconf macro to test whether a function is declared. It is suboptimal and possibly buggy in some way, but it seems to work for me. use it to test for a declaration of malloc_good_size, so we can workaround operating systems (like older OSX) that have the function in their libc but do not deign to declare it in their headers. Should resolve bug 587.
svn:r13339
|