aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Expand)AuthorAge
...
* r14448@Kushana: nickm | 2007-09-17 14:26:56 -0400••• Unify all of the divergent median/nth-percentile code in container.[ch] svn:r11457 Nick Mathewson2007-09-17
* r14363@Kushana: nickm | 2007-09-08 16:25:45 -0400••• Another round of whitespeace fixes. svn:r11407 Nick Mathewson2007-09-08
* r14359@Kushana: nickm | 2007-09-08 15:07:17 -0400••• Add some generic skew-and-tolerance functions so we can handle time more sanely. svn:r11406 Nick Mathewson2007-09-08
* r14869@catbus: nickm | 2007-08-31 08:49:26 -0400••• Fix a segfault in expand_filename("~"). Found by lindi. svn:r11332 Nick Mathewson2007-08-31
* r14832@catbus: nickm | 2007-08-29 15:00:27 -0400••• Use (and debug) new file-writing functions in order to simplify code that formerly built big strings in RAM. svn:r11301 Nick Mathewson2007-08-29
* r14831@catbus: nickm | 2007-08-29 14:17:42 -0400••• Refactor write_chunks_to_file_impl: break out the "pick a temporary name if it makes sense, and open the right filename" logic and the "close the file and unlink or rename if necessary" logic. This will let us write big files in a smarter way than "Build a big string" or "make a list of chunks", once we get around to using it. svn:r11300 Nick Mathewson2007-08-29
* r14227@Kushana: nickm | 2007-08-27 11:33:28 -0400••• Add a new ClientDNSRejectInternalAddresses option (default: on) to refuse to believe that any address can map to or from an internal address. This blocks some kinds of potential browser-based attacks, especially on hosts using DNSPort. Also clarify behavior in some comments. Backport candiate? svn:r11287 Nick Mathewson2007-08-27
* Handle unexpected whitespace better in malformed descriptors. Bug•••found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x. svn:r11229 Roger Dingledine2007-08-20
* r14651@catbus: nickm | 2007-08-17 21:37:03 -0400••• Another attempt to confirm to msvc for bug 482. svn:r11162 Nick Mathewson2007-08-18
* redefine BITARRAY_MASK as a function of BITARRAY_SHIFT•••svn:r11160 Peter Palfrader2007-08-17
* r14639@catbus: nickm | 2007-08-17 17:45:28 -0400••• Compile without warnings on MinGW, even with --enable-gcc-warnings enabled. svn:r11157 Nick Mathewson2007-08-17
* r14634@catbus: nickm | 2007-08-17 16:43:49 -0400••• Try to fix bug 482: do not rely on s6_addr16 or s6_addr32 on MSVC. How ugly. svn:r11155 Nick Mathewson2007-08-17
* r14051@Kushana: nickm | 2007-08-15 15:55:36 -0400••• Fix an XXXX020 and a few DOCDOCs. svn:r11127 Nick Mathewson2007-08-15
* r14093@catbus: nickm | 2007-08-08 01:49:54 -0400••• Include fewer redundant headers; use the compiler search paths better. svn:r11060 Nick Mathewson2007-08-08
* r14091@catbus: nickm | 2007-08-08 01:13:17 -0400••• Fix an annoying warning on OpenBSD: only include malloc.h if we are using it. svn:r11059 Nick Mathewson2007-08-08
* r13926@Kushana: nickm | 2007-08-03 00:55:23 -0700••• Fix compilation with HAVE_GETADDRINFO unset svn:r11042 Nick Mathewson2007-08-03
* r13907@Kushana: nickm | 2007-08-02 10:29:13 -0700••• Try (once again) to fix mingw build wrt detecting ipv6 types. svn:r11037 Nick Mathewson2007-08-02
* r13873@Kushana: nickm | 2007-07-31 10:54:05 -0700••• Split over-optimized digestmap_set code into a generic part and a digestmap-specific part. svn:r11012 Nick Mathewson2007-08-01
* r13872@Kushana: nickm | 2007-07-31 08:27:54 -0700••• Rename IN4_ADDR and IN6_ADDR to try to avoid conflicting with Windows definitions. This may fix the windows build. svn:r11011 Nick Mathewson2007-08-01
* r13871@Kushana: nickm | 2007-07-31 08:10:58 -0700••• Fix warning aobut unused parameter on platforms without mallinfo. svn:r11010 Nick Mathewson2007-08-01
* r14024@catbus: nickm | 2007-07-30 14:13:58 -0400••• Glibc (and maybe others) define a mallinfo() that can be used to see how the platform malloc is acting inside. When we have it, dump its output on dumpmemusage(). svn:r10996 Nick Mathewson2007-07-30
* r14015@catbus: nickm | 2007-07-30 13:18:05 -0400••• Add missing code documentation in src/common svn:r10991 Nick Mathewson2007-07-30
* r13988@catbus: nickm | 2007-07-29 16:32:36 -0400••• Cheesy attempt to break some censorware. Not a long-term fix, but it will be intersting to watch the epidemiology of the workarounds as the censors apply them. svn:r10975 Nick Mathewson2007-07-29
* r13964@catbus: nickm | 2007-07-28 22:55:10 -0400••• Change "IN_ADDR" macro to "IN4_ADDR" in an attempt to fix mingw compilation svn:r10963 Nick Mathewson2007-07-29
* r13944@catbus: nickm | 2007-07-27 15:52:35 -0400••• Fix warnings on platforms where rlim values can be signed. Add an 8k buffer freelist. svn:r10948 Nick Mathewson2007-07-27
* r13934@catbus: nickm | 2007-07-27 10:41:00 -0400••• Fix spelling; add a comment. svn:r10943 Nick Mathewson2007-07-27
* Maybe fix #471. Compute the size of bitfields more correctly. Nick, please ...•••svn:r10941 Peter Palfrader2007-07-27
* r13926@catbus: nickm | 2007-07-26 17:21:06 -0400••• Add a bit-array type with reasonably fast inline functions. svn:r10938 Nick Mathewson2007-07-26
* r13920@catbus: nickm | 2007-07-26 16:25:25 -0400••• whitespace fixes svn:r10935 Nick Mathewson2007-07-26
* r13858@catbus: nickm | 2007-07-22 18:44:02 -0400••• Fix/note some relatively trivial mem usage issues svn:r10905 Nick Mathewson2007-07-22
* r13856@catbus: nickm | 2007-07-20 14:30:44 -0400••• slightly smarter heuristic about when to use obsolete ::a.b.c.d format. svn:r10893 Nick Mathewson2007-07-20
* r13850@catbus: nickm | 2007-07-20 12:25:24 -0400••• Fix some bugs in ntop/pton. svn:r10891 Nick Mathewson2007-07-20
* r13848@catbus: nickm | 2007-07-19 16:47:16 -0400••• Use our own version of inet_ntop and inet_pton everywhere, to avoid partitioning attacks. svn:r10888 Nick Mathewson2007-07-19
* r13840@catbus: nickm | 2007-07-19 16:00:43 -0400••• Apparently, this problem can occur on the whole BSD family. "Yay." svn:r10884 Nick Mathewson2007-07-19
* r13838@catbus: nickm | 2007-07-19 15:50:16 -0400••• Apparently, OSX does not define s6_addr32 or s6_addr16. How silly. svn:r10883 Nick Mathewson2007-07-19
* 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
* free some more memory on exit•••svn:r10837 Roger Dingledine2007-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
* r13631@catbus: nickm | 2007-07-06 10:17:22 -0400••• Try to fix win32 build again. svn:r10750 Nick Mathewson2007-07-06
* r13600@Kushana: nickm | 2007-07-05 23:49:47 -0400••• try to fix mingw compile svn:r10743 Nick Mathewson2007-07-06
* r13596@kushana: nickm | 2007-07-05 10:53:22 -0400••• Argh, re-enable CRITICAL_SECTION code in win32. svn:r10741 Nick Mathewson2007-07-05
* svn:r10740Nick Mathewson2007-07-05
* r13454@kushana: nickm | 2007-06-20 14:22:44 -0400••• Switch windows locking implementation to CRITICAL_SECTION, not Mutex: Mutex is heavier-weight, and meant for multi-process situations. svn:r10739 Nick Mathewson2007-07-05
* Make it build with -O0 as well•••svn:r10722 Peter Palfrader2007-07-02
* Make DEBUG_SMARTLIST work•••svn:r10721 Peter Palfrader2007-07-02
* r13570@catbus: nickm | 2007-06-30 20:41:05 -0400••• Implement conditions in compat.c; switch windows to use "critical sections" instead of mutexes. Apparently, mutexes are for IPC and critical sections are for multithreaded. svn:r10716 Nick Mathewson2007-07-01
* r13477@catbus: nickm | 2007-06-17 14:22:03 -0400••• Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere. svn:r10645 Nick Mathewson2007-06-17