summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-02-21maybe appease the overflow detectors moreRoger Dingledine
svn:r13663
2008-02-21 r14371@tombo: nickm | 2008-02-21 16:13:18 -0500Nick Mathewson
Fix all -Wshorten-64-to-32 warnings that appear on my macbook. svn:r13662
2008-02-21 r18347@catbus: nickm | 2008-02-21 15:54:40 -0500Nick Mathewson
Make autoconf autodetect -Wshorten-64-to-32 when --enable-gcc-warnings is given to the configure script. svn:r13661
2008-02-21 r18345@catbus: nickm | 2008-02-21 13:45:04 -0500Nick Mathewson
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
2008-02-21 r14364@31-33-219: nickm | 2008-02-21 11:11:56 -0500Nick Mathewson
Note in the TODO some stuff I want to do in the next dev cycle so it stops bouncing around in my head svn:r13659
2008-02-21 r14363@31-33-219: nickm | 2008-02-21 11:11:33 -0500Nick Mathewson
Answer the next-to-last XXX020rc item. svn:r13658
2008-02-21 r14362@31-33-219: nickm | 2008-02-21 11:01:10 -0500Nick Mathewson
Change some of our log messages related to closed TLS connections in order to better reflect reality. svn:r13657
2008-02-21 r14357@31-33-219: nickm | 2008-02-21 10:39:11 -0500Nick Mathewson
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
2008-02-21 r14356@31-33-219: nickm | 2008-02-21 10:38:26 -0500Nick Mathewson
Defer a couple of XXX020rc items, based on recommendation from arma. svn:r13654
2008-02-21 r18336@catbus: nickm | 2008-02-21 09:33:15 -0500Nick Mathewson
Patch from Sebastian Hahn: remove obsolete timeval manipulation functions. svn:r13653
2008-02-21other cleanups that have been sitting in my sandboxRoger Dingledine
svn:r13649
2008-02-21start allowing clients to give up on trackhostexits targets ifRoger Dingledine
five circuit attempts fail for a given stream. part of the fix for bug 437. still an XXX020rc remaining. svn:r13648
2008-02-21Even though the man page said that "TrackHostExits ." shouldRoger Dingledine
work, nobody had ever implemented it. Bugfix on 0.1.0.x. svn:r13647
2008-02-21Change the behavior of "getinfo status/good-server-descriptor"Roger Dingledine
so it doesn't return failure when any authority disappears. svn:r13645
2008-02-21resolve one more, and leave two for nick.Roger Dingledine
svn:r13644
2008-02-21If we're trying to flush the last bytes on a connection (forRoger Dingledine
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
2008-02-21and another useful answerRoger Dingledine
svn:r13642
2008-02-21answer one of nick's XXX020rc's usefullyRoger Dingledine
svn:r13641
2008-02-21 r18296@catbus: nickm | 2008-02-20 23:30:11 -0500Nick Mathewson
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
2008-02-21 r18294@catbus: nickm | 2008-02-20 22:42:44 -0500Nick Mathewson
Fix a spelling error and clean up a recent veracode-induced integer overflow check. Both spotted by Chris Palmer. svn:r13639
2008-02-21 r18291@catbus: nickm | 2008-02-20 22:35:32 -0500Nick Mathewson
Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry. svn:r13638
2008-02-21 r18290@catbus: nickm | 2008-02-20 22:34:59 -0500Nick Mathewson
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
2008-02-21 r18288@catbus: nickm | 2008-02-20 21:18:38 -0500Nick Mathewson
Recover from bad tracked-since value in mtbf history file. This may finally close bug 537. svn:r13636
2008-02-21 r18286@catbus: nickm | 2008-02-20 21:10:33 -0500Nick Mathewson
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
2008-02-20 r18283@catbus: nickm | 2008-02-20 18:58:31 -0500Nick Mathewson
Fix assertion when searching for a string in an empty chunk. svn:r13634
2008-02-20 r18279@catbus: nickm | 2008-02-20 18:38:48 -0500Nick Mathewson
Log message to try to detect error in buffers.c svn:r13633
2008-02-20 r18278@catbus: nickm | 2008-02-20 18:29:07 -0500Nick Mathewson
Unit tests for buf_find_string_offset() svn:r13632
2008-02-20 r18277@catbus: nickm | 2008-02-20 18:28:45 -0500Nick Mathewson
Fix spelling svn:r13631
2008-02-20 r18272@catbus: nickm | 2008-02-20 18:20:33 -0500Nick Mathewson
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
2008-02-20I wonder what color it will bePeter Palfrader
svn:r13628
2008-02-20if you have more than 40k FDs on your system let Tor use up to 16k of them ↵Peter Palfrader
by default svn:r13627
2008-02-20 r18269@catbus: nickm | 2008-02-20 17:28:24 -0500Nick Mathewson
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
2008-02-20Change the default for MAX_FILEDESCRIPTORS in our init script to depend on thePeter Palfrader
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
2008-02-20 r18267@catbus: nickm | 2008-02-20 16:57:45 -0500Nick Mathewson
Suppress signed/unsigned comparison warnings in buffers.c svn:r13624
2008-02-20 r18264@catbus: nickm | 2008-02-20 12:48:21 -0500Nick Mathewson
fix bufs in buf_pos_t implementation. svn:r13623
2008-02-20 r18263@catbus: nickm | 2008-02-20 12:45:15 -0500Nick Mathewson
Oops. not supposed to use tor_assert() in eventdns.c svn:r13622
2008-02-20One last tweak on debugging code.Nick Mathewson
svn:r13621
2008-02-20 r18259@catbus: nickm | 2008-02-20 12:03:15 -0500Nick Mathewson
Make the last of the veracode warning issues get fixed. svn:r13620
2008-02-20 r18256@catbus: nickm | 2008-02-20 11:57:31 -0500Nick Mathewson
Simplify rounding logic in bitarray; fix a bug in bitarray_expand(). svn:r13619
2008-02-20 r18255@catbus: nickm | 2008-02-20 11:44:55 -0500Nick Mathewson
Add asserts and refactor some comparisons in order to fix some veracode-identified issues. Note a bug in buffers.c svn:r13618
2008-02-20pass bucket sizes num_read and num_written around as size_tsRoger Dingledine
rather than ints svn:r13610
2008-02-20We were comparing the raw BridgePassword entry with a base64'edRoger Dingledine
version of it, when handling a "/tor/networkstatus-bridges" directory request. Now compare correctly. Noticed by Veracode. svn:r13609
2008-02-20similarly, don't throw around an int for the uint8_t circ->stateRoger Dingledine
svn:r13608
2008-02-20don't throw around an int for relay_command if we're going toRoger Dingledine
squeeze it into a uint8_t later. also reported by veracode. svn:r13607
2008-02-20notice an integer overflow if we ever get source files with moreRoger Dingledine
than 65k lines in them. also pointed out by veracode. svn:r13606
2008-02-20if you thought r13604 was a kludge, how about this.Roger Dingledine
svn:r13605
2008-02-20be more clear about a possible integer underflow problem. thisRoger Dingledine
should probably be fixed better somehow. svn:r13604
2008-02-19check return value for crypto_pk_asn1_encode here too. thanks veracode.Roger Dingledine
svn:r13603
2008-02-19 r18236@catbus: nickm | 2008-02-19 18:55:21 -0500Nick Mathewson
Explain why I am right and veracode is wrong in routerparse.c line 1141. Using math! svn:r13602
2008-02-19rearrange our assert so we don't possibly overflow rh.length beforeRoger Dingledine
triggering the assert. reported by veracode. svn:r13601