aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.c
Commit message (Expand)AuthorAge
...
* r13836@catbus: nickm | 2007-07-19 15:43:04 -0400••• Some older GCCs think that iph4 could be used uninitialized. Fix that. svn:r10882 Nick Mathewson2007-07-19
* r13834@catbus: nickm | 2007-07-19 15:40:42 -0400••• Another patch from croup: drop support for address masks that do not correspond to bit prefixes. Nobody has used this for a while, and we have given warnings for a long time. svn:r10881 Nick Mathewson2007-07-19
* r13827@catbus: nickm | 2007-07-19 14:42:25 -0400••• Merge in some generic address manipulation code from croup. Needs some work. svn:r10880 Nick Mathewson2007-07-19
* r13788@catbus: nickm | 2007-07-16 14:26:25 -0400••• Patch from croup: rewrite the logic of get_next_token() to do the right thing with input that ends at weird places, or aligns with block boundaries after mmap. should fix bug 455. Needs fuzzing. svn:r10847 Nick Mathewson2007-07-16
* r13687@catbus: nickm | 2007-07-10 16:08:14 -0400••• Possible partial fix for bug 455: use eos logic everywhere. svn:r10786 Nick Mathewson2007-07-10
* r13239@catbus: nickm | 2007-06-04 11:30:37 -0400••• Fix the fix for bug 445: set umask properly. Also use open+fdopen rather than just umask+fopen, and create authority identity key with mode 400. svn:r10485 Nick Mathewson2007-06-04
* r13154@catbus: nickm | 2007-06-02 11:26:44 -0400••• Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents. svn:r10451 Nick Mathewson2007-06-02
* trivial changes from my sandbox•••svn:r10429 Roger Dingledine2007-05-31
* r12955@catbus: nickm | 2007-05-25 13:17:30 -0400••• First bare stubs of ipv6 work: commit some (untested, hence doublessly broken) implementations of inet_ntop/pton for systems that lack them. svn:r10326 Nick Mathewson2007-05-25
* r12916@catbus: nickm | 2007-05-24 12:43:45 -0400••• Add math functions to round values to the nearest power of 2. Make mempools more careful about making sure that the size of their chunks is a little less than a power of 2, not a little more. svn:r10304 Nick Mathewson2007-05-24
* r12898@catbus: nickm | 2007-05-22 13:11:04 -0400••• More v3 directory code: have authorities load certificates; have everybody store certificates to disk and load them; provide a way to configure v3 authorities. svn:r10293 Nick Mathewson2007-05-22
* r12850@catbus: nickm | 2007-05-21 22:20:42 -0400••• Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up. svn:r10248 Nick Mathewson2007-05-22
* r12764@catbus: nickm | 2007-05-15 17:17:39 -0400••• Enable (and cope with) more GCC 4.2 warnings. svn:r10196 Nick Mathewson2007-05-15
* r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400••• Track the number of connection_t separately from the number of open sockets. It is already possible to have connections that do not count: resolving conns, for one. Once we move from socketpairs to linked conns, and once we do dns proxying, there will be lots of such connections. svn:r9994 Nick Mathewson2007-04-21
* r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500••• We have a PATH_SEPARATOR macro. How about we use it? svn:r9782 Nick Mathewson2007-03-09
* r12468@Kushana: nickm | 2007-03-06 15:24:00 -0500••• More unit tests: gcov is fun. svn:r9748 Nick Mathewson2007-03-06
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500••• Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733 Nick Mathewson2007-03-04
* r12001@catbus: nickm | 2007-02-28 15:24:12 -0500••• Try to build without warnings on mingw with verbose warnings on. First attempt. svn:r9688 Nick Mathewson2007-02-28
* r11992@catbus: nickm | 2007-02-28 12:46:32 -0500••• compile fix on mingw: mingw does not define _MSC_VER. svn:r9682 Nick Mathewson2007-02-28
* doc pedant•••svn:r9634 Roger Dingledine2007-02-24
* r11832@catbus: nickm | 2007-02-16 15:31:59 -0500••• Fix 35 remaining DOCDOC comments. Yowza. svn:r9596 Nick Mathewson2007-02-16
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r11774@catbus: nickm | 2007-02-12 16:31:47 -0500••• Handle errors on opening cached-routers* more uniformly and sanely: log not-found errors at level INFO, and all other errors at level WARN. Needs testing on win32. svn:r9569 Nick Mathewson2007-02-12
* r11639@catbus: nickm | 2007-02-05 13:33:38 -0500••• Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition. svn:r9483 Nick Mathewson2007-02-05
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477 Nick Mathewson2007-02-02
* r11620@catbus: nickm | 2007-02-01 13:06:27 -0500••• Call stat() slightly less often; use fstat() when possible. svn:r9472 Nick Mathewson2007-02-01
* r11987@Kushana: nickm | 2007-01-19 14:57:28 -0500••• Implement SOCKS_BAD_HOSTNAME status event. Defer remaining status events. Clean up control-spec.txt a little, and fill in recommendations for events. svn:r9374 Nick Mathewson2007-01-19
* r9776@totoro: nickm | 2007-01-18 14:37:01 -0500••• Yes, apparently saying strcpy in front of openbsd is like saying "intellectual property" in front of RMS. They both have a point, I guess, even though they extend it to contexts where it is completely irrelevant. svn:r9370 Nick Mathewson2007-01-18
* r11978@Kushana: nickm | 2007-01-15 18:54:25 -0500••• Apparently, the OpenBSD linker thinks it knows C better than I do, and gets to call me names for having strcat and strcpy and sprintf in my code--whether I use them safely or not. All right, OpenBSD. You win... this round. svn:r9360 Nick Mathewson2007-01-15
* r11749@Kushana: nickm | 2006-12-29 00:51:42 -0500••• Remove dead code; make targets of addressmap commands/configs use AllowNonRFC953Hostnames svn:r9211 Nick Mathewson2006-12-29
* r11670@Kushana: nickm | 2006-12-21 12:23:55 -0500••• Clean up logic in parse_port_range(); accept 0 on low end and 65536 on high end for people who are bad at math. svn:r9169 Nick Mathewson2006-12-21
* r11668@Kushana: nickm | 2006-12-20 22:22:53 -0500••• Fix bug found by Keith Skinner: Treat malformed max-ports in address ranges as an error, and dont ignore errors with min-ports even if a max-port is present. svn:r9168 Nick Mathewson2006-12-21
* r11597@Kushana: nickm | 2006-12-15 15:49:27 -0500••• Add a rudimentary line-wrapping function for use in dumping comments in config files. svn:r9132 Nick Mathewson2006-12-15
* r11581@Kushana: nickm | 2006-12-15 00:12:24 -0500••• Make PIDFile work on windows. Reported by Arrakis. svn:r9116 Nick Mathewson2006-12-15
* r9315@totoro: nickm | 2006-11-13 22:40:59 -0500••• Fix a build warning on angela-sid svn:r8949 Nick Mathewson2006-11-14
* r9313@totoro: nickm | 2006-11-13 20:07:41 -0500••• Try to compile with fewer warnings on irix64's MIPSpro compiler / environment, which apparently believes that: - off_t can be bigger than size_t. - only mean kids assign things they do not subsequently inspect. I don't try to fix the "error" that makes it say: cc-3970 cc: WARNING File = main.c, Line = 1277 conversion from pointer to same-sized integral type (potential portability problem) uintptr_t sig = (uintptr_t)arg; Because really, what can you do about a compiler that claims to be c99 but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x; is safe? svn:r8948 Nick Mathewson2006-11-14
* r9274@Kushana: nickm | 2006-10-19 16:16:58 -0400••• Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string. svn:r8762 Nick Mathewson2006-10-19
* Add missing return so this builds on mingw.•••svn:r8649 Andrew Lewman2006-10-08
* r8923@totoro: nickm | 2006-10-07 11:44:33 -0400••• More doxygen comments svn:r8637 Nick Mathewson2006-10-07
* more minor cleanups•••svn:r8630 Roger Dingledine2006-10-07
* r8851@totoro: nickm | 2006-10-02 18:13:27 -0400••• Remove/clarify some XXXs for no longer being accurate; for begin things we do not indend to fix; for already being parts of big todo issues (like "/* XXX ipv6 */"); etc. Also fix some spaces. svn:r8580 Nick Mathewson2006-10-02
* r8846@totoro: nickm | 2006-10-02 16:59:57 -0400••• Move is_local_IP to config.c; have it check for same-/24; make it used only for reachability (not for banwidth, because that is probably not what we want). Fixes an XXX. svn:r8578 Nick Mathewson2006-10-02
* r8845@totoro: nickm | 2006-10-02 16:34:58 -0400••• Fix an XXXX: make path_is_relative work on windows even though we never use it there. svn:r8577 Nick Mathewson2006-10-02
* r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400••• Differentiate more duplicated log entries svn:r8542 Nick Mathewson2006-09-29
* r9023@Kushana: nickm | 2006-09-29 17:27:24 -0400••• Make distinct all non-bug messages at notice or higher that appear 3 or more times. svn:r8541 Nick Mathewson2006-09-29
* r9008@Kushana: nickm | 2006-09-29 13:50:10 -0400••• Doxygen comments for code in common. Also simplify a few code paths to be more clear/speedy/correct. svn:r8536 Nick Mathewson2006-09-29
* r8974@Kushana: nickm | 2006-09-28 17:05:59 -0400••• Improvement to last entry guards patch: track when we last attempted to connect to a node in our state file along with how long it has been unreachable. Also clarify behavior of parse_iso_time() when it gets extra characters. svn:r8520 Nick Mathewson2006-09-28
* r8878@Kushana: nickm | 2006-09-21 17:15:47 -0400••• Trivial whitespace cleanups. svn:r8443 Nick Mathewson2006-09-21
* Speed up eat_whitespace by a lot.•••svn:r8434 Nick Mathewson2006-09-19
* NEEDS REVIEW. Act on previous comment, and handle named servers differently: ...•••svn:r8433 Nick Mathewson2006-09-19