Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-02-21 | r18286@catbus: nickm | 2008-02-20 21:10:33 -0500 | Nick 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 -0500 | Nick 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 -0500 | Nick 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 -0500 | Nick Mathewson | |
Unit tests for buf_find_string_offset() svn:r13632 | |||
2008-02-20 | r18277@catbus: nickm | 2008-02-20 18:28:45 -0500 | Nick Mathewson | |
Fix spelling svn:r13631 | |||
2008-02-20 | r18272@catbus: nickm | 2008-02-20 18:20:33 -0500 | Nick 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-20 | I wonder what color it will be | Peter Palfrader | |
svn:r13628 | |||
2008-02-20 | if 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 -0500 | Nick 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-20 | Change the default for MAX_FILEDESCRIPTORS in our init script to depend on the | Peter 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 -0500 | Nick Mathewson | |
Suppress signed/unsigned comparison warnings in buffers.c svn:r13624 | |||
2008-02-20 | r18264@catbus: nickm | 2008-02-20 12:48:21 -0500 | Nick Mathewson | |
fix bufs in buf_pos_t implementation. svn:r13623 | |||
2008-02-20 | r18263@catbus: nickm | 2008-02-20 12:45:15 -0500 | Nick Mathewson | |
Oops. not supposed to use tor_assert() in eventdns.c svn:r13622 | |||
2008-02-20 | One last tweak on debugging code. | Nick Mathewson | |
svn:r13621 | |||
2008-02-20 | r18259@catbus: nickm | 2008-02-20 12:03:15 -0500 | Nick 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 -0500 | Nick 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 -0500 | Nick 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-20 | pass bucket sizes num_read and num_written around as size_ts | Roger Dingledine | |
rather than ints svn:r13610 | |||
2008-02-20 | We were comparing the raw BridgePassword entry with a base64'ed | Roger Dingledine | |
version of it, when handling a "/tor/networkstatus-bridges" directory request. Now compare correctly. Noticed by Veracode. svn:r13609 | |||
2008-02-20 | similarly, don't throw around an int for the uint8_t circ->state | Roger Dingledine | |
svn:r13608 | |||
2008-02-20 | don't throw around an int for relay_command if we're going to | Roger Dingledine | |
squeeze it into a uint8_t later. also reported by veracode. svn:r13607 | |||
2008-02-20 | notice an integer overflow if we ever get source files with more | Roger Dingledine | |
than 65k lines in them. also pointed out by veracode. svn:r13606 | |||
2008-02-20 | if you thought r13604 was a kludge, how about this. | Roger Dingledine | |
svn:r13605 | |||
2008-02-20 | be more clear about a possible integer underflow problem. this | Roger Dingledine | |
should probably be fixed better somehow. svn:r13604 | |||
2008-02-19 | check 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 -0500 | Nick Mathewson | |
Explain why I am right and veracode is wrong in routerparse.c line 1141. Using math! svn:r13602 | |||
2008-02-19 | rearrange our assert so we don't possibly overflow rh.length before | Roger Dingledine | |
triggering the assert. reported by veracode. svn:r13601 | |||
2008-02-19 | r18233@catbus: nickm | 2008-02-19 18:46:07 -0500 | Nick Mathewson | |
Count sockets returned from socketpair() too. This is probably not the socket counting bug. svn:r13600 | |||
2008-02-19 | start checking the return value of crypto_pk_asn1_encode() while | Roger Dingledine | |
we're trying to establish an introduction point. bug reported by veracode. svn:r13599 | |||
2008-02-19 | r18230@catbus: nickm | 2008-02-19 18:29:43 -0500 | Nick Mathewson | |
Add a few asserts to catch possible errors found by veracode. svn:r13598 | |||
2008-02-19 | is_reverse in our struct is uint8_t. don't make it be an int | Roger Dingledine | |
elsewhere. bug reported by veracode. svn:r13597 | |||
2008-02-19 | r18228@catbus: nickm | 2008-02-19 18:05:53 -0500 | Nick Mathewson | |
Chris Palmer notes that almost nobody is using smartlist_set_capacity(). Chris Palmer is right. Remove this basically pointless function. svn:r13596 | |||
2008-02-19 | r18226@catbus: nickm | 2008-02-19 18:01:01 -0500 | Nick Mathewson | |
Brown-paper-bag time. We were failing to count all the sockets from accept(). svn:r13595 | |||
2008-02-19 | call a "number of characters" a size_t, not an int | Roger Dingledine | |
svn:r13594 | |||
2008-02-19 | r18221@catbus: nickm | 2008-02-19 17:46:16 -0500 | Nick Mathewson | |
New debugging code to figure out what is happending with socket counts. svn:r13593 | |||
2008-02-19 | be more explicit about a harmless thing that freaked veracode out | Roger Dingledine | |
svn:r13592 | |||
2008-02-19 | r18218@catbus: nickm | 2008-02-19 17:27:40 -0500 | Nick Mathewson | |
When SafeLogging is off, have TLS errors and messages logged with their associated addresses. svn:r13591 | |||
2008-02-19 | make explicit that we don't care if a rename() call fails. | Roger Dingledine | |
potential bug reported by veracode. svn:r13590 | |||
2008-02-19 | r18208@catbus: nickm | 2008-02-19 17:02:30 -0500 | Nick Mathewson | |
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 | |||
2008-02-19 | resolve another edge case in staying dormant | Roger Dingledine | |
svn:r13586 | |||
2008-02-19 | maybe it should compile too. | Roger Dingledine | |
svn:r13585 | |||
2008-02-19 | If we only ever used Tor for hidden service lookups or posts, we | Roger Dingledine | |
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 | |||
2008-02-19 | clear up another connlimit lie | Roger Dingledine | |
svn:r13582 | |||
2008-02-19 | clean up the socket counting thing. third time's a charm. | Roger Dingledine | |
svn:r13581 | |||
2008-02-19 | r18198@catbus: nickm | 2008-02-19 14:30:30 -0500 | Nick Mathewson | |
Try to *fix* the socket counting problem, and add an info log to detect whether we really fixed it svn:r13580 | |||
2008-02-19 | r18195@catbus: nickm | 2008-02-19 14:11:15 -0500 | Nick Mathewson | |
TOR_PERF has not not been a sane thing for ages. Remove it. svn:r13579 | |||
2008-02-19 | hunt for killerchicken's socket counting problem | Roger Dingledine | |
svn:r13578 | |||
2008-02-19 | document that if you enable TOR_PERF, you won't be compatible with the | Roger Dingledine | |
main Tor network. svn:r13577 | |||
2008-02-19 | r14246@tombo: nickm | 2008-02-17 19:33:02 -0500 | Nick Mathewson | |
Fix a wide line in control.c; make the check-spaces target ignore the openbsd malloc file. svn:r13566 | |||
2008-02-18 | r18142@catbus: nickm | 2008-02-18 14:24:31 -0500 | Nick Mathewson | |
Our preferred spelling for a bitfield is "unsigned int", not "unsigned" or "uint8_t". svn:r13560 |