| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Patch from Sebastian Hahn: remove obsolete timeval manipulation functions.
svn:r13653
|
|
|
|
| |
svn:r13649
|
|
|
|
| |
svn:r13644
|
|
|
|
|
|
|
| |
Answer one xxx020 item; move 7 other ones to a new "XXX020rc" category: they should get fixed before we cut a release candidate. arma: please review these to see whether you have fixes/answers for any. Please check out the other 14 XXX020s to see if any look critical for the release candidate.
svn:r13640
|
|
|
|
|
|
|
| |
Fix a spelling error and clean up a recent veracode-induced integer overflow check. Both spotted by Chris Palmer.
svn:r13639
|
|
|
|
|
|
|
| |
Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry.
svn:r13638
|
|
|
|
|
|
|
| |
Correct handling of nested MAP_FOREACH loops. There are none of those ATM, but isn't it nice that now they'll be correct?
svn:r13637
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r13621
|
|
|
|
|
|
|
| |
Simplify rounding logic in bitarray; fix a bug in bitarray_expand().
svn:r13619
|
|
|
|
|
|
|
| |
Count sockets returned from socketpair() too. This is probably not the socket counting bug.
svn:r13600
|
|
|
|
|
|
|
| |
Add a few asserts to catch possible errors found by veracode.
svn:r13598
|
|
|
|
|
|
|
| |
Chris Palmer notes that almost nobody is using smartlist_set_capacity(). Chris Palmer is right. Remove this basically pointless function.
svn:r13596
|
|
|
|
|
|
|
| |
Brown-paper-bag time. We were failing to count all the sockets from accept().
svn:r13595
|
|
|
|
|
|
|
| |
New debugging code to figure out what is happending with socket counts.
svn:r13593
|
|
|
|
|
|
|
| |
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:r13581
|
|
|
|
|
|
|
| |
Try to *fix* the socket counting problem, and add an info log to detect whether we really fixed it
svn:r13580
|
|
|
|
| |
svn:r13578
|
|
|
|
|
|
|
| |
Try to make conditional include logic for openbsd malloc not warn on arma's computer. May fix bug 610.
svn:r13557
|
|
|
|
|
|
|
| |
Fix capitalization error
svn:r13545
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Replace the hefty tor_strpartition with a simple function to replace its only (trivial) use.
svn:r13532
|
|
|
|
|
|
|
| |
Defer, downgrade, or address more XXX020s. The remaining ones are all ones we should deal with before release.
svn:r13530
|
|
|
|
|
|
|
| |
Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs).
svn:r13529
|
|
|
|
|
|
|
| |
cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
svn:r13488
|
|
|
|
|
|
|
| |
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:r13480
|
|
|
|
|
|
|
| |
oops. Not *quite* ready, just yet, maybe. Do not turn the TLS client handshake on by mistake _again_.
svn:r13479
|
|
|
|
|
|
|
| |
Make version negotiation and handshaking messages more useful and accurate.
svn:r13477
|
|
|
|
|
|
|
| |
Make a couple of messages less noisy
svn:r13476
|
|
|
|
|
|
|
| |
"0 bytes in 1 empty chunks" is hardly likely.
svn:r13463
|
|
|
|
| |
svn:r13443
|
|
|
|
| |
svn:r13440
|
|
|
|
|
|
|
| |
Remove spurious log stmt
svn:r13432
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Clean up IPv6-testing code in test.c; resolve a bunch of XXX020s.
svn:r13425
|
|
|
|
|
|
|
| |
Fix some warnings identified by building with -D_FORTIFY_SOURCE=2. Remove a redundant (and nuts) definition of _FORTIFY_SOURCE from eventdns.c.
svn:r13424
|
|
|
|
|
|
|
| |
Fix bug in last patch that made secret_to_key crash.
svn:r13415
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
The SSL portion of the revised handshake now seems to work: I just finally got a client and a server to negotiate versions. Now to make sure certificate verification is really happening, connections are getting opened, etc.
svn:r13409
|
|
|
|
|
|
|
| |
Implement a better means for testing for renegotiation.
svn:r13408
|
|
|
|
|
|
|
| |
Add more documentation; change the behavior of read_to_buf_tls to be more consistent. Note a longstanding problem with current read/write interfaces.
svn:r13407
|
|
|
|
|
|
|
| |
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items.
svn:r13405
|
|
|
|
| |
svn:r13403
|