| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
| |
by default
svn:r13627
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
number of system-wide available file descriptors: /proc/sys/fs/file-max is
bigger than 100k, set ulimit -n to 32k, if it's smaller than 20k set it to
1024. Big servers at the moment regularly use more than 10k FDs, so our old
default of 8k no longer is sufficient. On the other hand we don't want lower
end systems to run out of FDs on Tor's account.
svn:r13625
|
| |
|
|
|
|
|
| |
Suppress signed/unsigned comparison warnings in buffers.c
svn:r13624
|
| |
|
|
|
|
|
| |
fix bufs in buf_pos_t implementation.
svn:r13623
|
| |
|
|
|
|
|
| |
Oops. not supposed to use tor_assert() in eventdns.c
svn:r13622
|
| |
|
|
| |
svn:r13621
|
| |
|
|
|
|
|
| |
Make the last of the veracode warning issues get fixed.
svn:r13620
|
| |
|
|
|
|
|
| |
Simplify rounding logic in bitarray; fix a bug in bitarray_expand().
svn:r13619
|
| |
|
|
|
|
|
| |
Add asserts and refactor some comparisons in order to fix some veracode-identified issues. Note a bug in buffers.c
svn:r13618
|
| |
|
|
|
|
|
| |
rather than ints
svn:r13610
|
| |
|
|
|
|
|
|
| |
version of it, when handling a "/tor/networkstatus-bridges"
directory request. Now compare correctly. Noticed by Veracode.
svn:r13609
|
| |
|
|
| |
svn:r13608
|
| |
|
|
|
|
|
| |
squeeze it into a uint8_t later. also reported by veracode.
svn:r13607
|
| |
|
|
|
|
|
| |
than 65k lines in them. also pointed out by veracode.
svn:r13606
|
| |
|
|
| |
svn:r13605
|
| |
|
|
|
|
|
| |
should probably be fixed better somehow.
svn:r13604
|
| |
|
|
| |
svn:r13603
|
| |
|
|
|
|
|
| |
Explain why I am right and veracode is wrong in routerparse.c line 1141. Using math!
svn:r13602
|
| |
|
|
|
|
|
| |
triggering the assert. reported by veracode.
svn:r13601
|
| |
|
|
|
|
|
| |
Count sockets returned from socketpair() too. This is probably not the socket counting bug.
svn:r13600
|
| |
|
|
|
|
|
|
| |
we're trying to establish an introduction point. bug reported
by veracode.
svn:r13599
|
| |
|
|
|
|
|
| |
Add a few asserts to catch possible errors found by veracode.
svn:r13598
|
| |
|
|
|
|
|
| |
elsewhere. bug reported by veracode.
svn:r13597
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
svn:r13594
|
| |
|
|
|
|
|
| |
New debugging code to figure out what is happending with socket counts.
svn:r13593
|
| |
|
|
| |
svn:r13592
|
| |
|
|
|
|
|
| |
When SafeLogging is off, have TLS errors and messages logged with their associated addresses.
svn:r13591
|
| |
|
|
|
|
|
| |
potential bug reported by veracode.
svn:r13590
|
| |
|
|
|
|
|
| |
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:r13586
|
| |
|
|
| |
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
|
| |
|
|
| |
svn:r13582
|
| |
|
|
| |
svn:r13581
|
| |
|
|
|
|
|
| |
Try to *fix* the socket counting problem, and add an info log to detect whether we really fixed it
svn:r13580
|
| |
|
|
|
|
|
| |
TOR_PERF has not not been a sane thing for ages. Remove it.
svn:r13579
|
| |
|
|
| |
svn:r13578
|
| |
|
|
|
|
|
| |
main Tor network.
svn:r13577
|
| |
|
|
|
|
|
| |
Fix a wide line in control.c; make the check-spaces target ignore the openbsd malloc file.
svn:r13566
|
| |
|
|
|
|
|
| |
Our preferred spelling for a bitfield is "unsigned int", not "unsigned" or "uint8_t".
svn:r13560
|
| |
|
|
|
|
|
| |
Clarify logic in trusted_dirs_load_certs_from_string(); avoid a maybe-impossible maybe-not double-free spotted by lodger.
svn:r13558
|
| |
|
|
|
|
|
| |
Try to make conditional include logic for openbsd malloc not warn on arma's computer. May fix bug 610.
svn:r13557
|
| |
|
|
| |
svn:r13549
|
| |
|
|
|
|
|
| |
Better debugging to track down bug 606. Also remove a break; that may have been the possible culprit
svn:r13547
|
| |
|
|
|
|
|
| |
Add a --with-tcmalloc argument to configure.
svn:r13546
|
| |
|
|
|
|
|
| |
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
|