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