| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
Now, when you call tor --digests, it dumps the SHA1 digest of each
source file that Tor was built with. We support both 'sha1sum' and
'openssl sha1'. If the user is building from a tarball and they
haven't edited anything, they don't need any program that calculates
SHA1. If they _have_ modified a file but they don't have a program to
calculate SHA1, we try to build so we do not output digests.
|
|
|
|
| |
svn:r18761
|
|
|
|
|
|
|
|
|
|
| |
tor_sscanf() only handles %u and %s for now, which will make it
adequate to replace sscanf() for date/time/IP parsing. We want this
to prevent attackers from constructing weirdly formed descriptors,
cells, addresses, HTTP responses, etc, that validate under some
locales but not others.
svn:r18760
|
|
|
|
|
|
| |
candidate.
svn:r18234
|
|
|
|
|
|
| |
parsing mismatches on different platforms.
svn:r18189
|
|
|
|
|
|
| |
autoconf, or build without warnings, but not both. So never include malloc.h on OpenBSD. Backport candidate.
svn:r17891
|
|
|
|
|
|
|
|
| |
The subversion $Id$ fields made every commit force a rebuild of
whatever file got committed. They were not actually useful for
telling the version of Tor files in the wild.
svn:r17867
|
|
|
|
| |
svn:r17754
|
|
|
|
| |
svn:r17741
|
|
|
|
| |
svn:r17739
|
|
|
|
| |
svn:r17734
|
|
|
|
|
|
| |
comments so that they will get recognized as doxygen.
svn:r17729
|
|
|
|
| |
svn:r17727
|
|
|
|
| |
svn:r17706
|
|
|
|
|
|
| |
per write, or once per cell with calls to a function that looks at a cached value of time. This is tricksy to benchmark, since it will only help on systems where time() is a syscall and syscalls are relatively slow.
svn:r17690
|
|
|
|
|
|
| |
patch.
svn:r17686
|
|
|
|
| |
svn:r17684
|
|
|
|
|
|
| |
them just lseek instead.
svn:r17460
|
|
|
|
| |
svn:r17194
|
|
|
|
| |
svn:r17190
|
|
|
|
|
|
| |
comparing is not nul-terminated.
svn:r17187
|
|
|
|
| |
svn:r17161
|
|
|
|
|
|
|
|
|
|
| |
dmalloc_malloc, dmalloc_realloc and dmalloc_strdup. It only calls those
functions if we're using the magic USE_DMALLOC macro. If we're not doing
that, we call the normal malloc, realloc and strdup. This is my first
night at malloc disambiguation club, so I had to disambiguate. Also, first commit, I have my commit bit now. Huzzzah!!!
svn:r17157
|
|
|
|
|
|
|
| |
complaining about an errno set from some arbitrary previous problem).
svn:r16684
|
|
|
|
|
|
|
| |
Split out the address manipulation functions from compat and util: they were about 21% of the total of those, and spread out too much.
svn:r16208
|
|
|
|
|
|
|
| |
Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start.
svn:r16178
|
|
|
|
|
|
|
| |
Fix for bug 742: do not use O_CREAT on 2-option version of open(). Especially do not use it on /dev/null. Fix from Michael Scherer. Bugfix on 0.0.2pre19 (wow).
svn:r15626
|
|
|
|
|
|
|
| |
Improved code for counting clients by country: support recording by number of directory status requests in addition to number of IPs seen.
svn:r15097
|
|
|
|
|
|
| |
--enable-geoip-stats passed to configure.
svn:r14802
|
|
|
|
|
|
|
| |
Rename tor_addr_t manipulation functions for a consistent style.
svn:r14639
|
|
|
|
|
|
|
| |
Add very short 0.2.1.x list based on discussion from arma. needs fleshing out and merging with other lists.
svn:r14324
|
|
|
|
|
|
|
| |
Detect errors from directory listing correctly on win32. Bug found by lodger.
svn:r14102
|
|
|
|
|
|
|
| |
Clarify documentation for file_status a little
svn:r14079
|
|
|
|
|
|
|
| |
Clean up an overwide line.
svn:r14072
|
|
|
|
| |
svn:r13999
|
|
|
|
|
|
|
| |
make a note to try to be more helpful still.
svn:r13776
|
|
|
|
|
|
|
| |
Fix all remaining shorten-64-to-32 errors in src/common. Some were genuine problems. Many were compatibility errors with libraries (openssl, zlib) that like predate size_t. Partial backport candidate.
svn:r13665
|
|
|
|
|
|
|
| |
Apply warnings about implicit 64-to-32 conversions; some from Sebastian Hahn; some not.
svn:r13664
|
|
|
|
|
|
|
| |
Patch from Sebastian Hahn: remove obsolete timeval manipulation functions.
svn:r13653
|
|
|
|
|
|
|
| |
Replace the hefty tor_strpartition with a simple function to replace its only (trivial) use.
svn:r13532
|
|
|
|
| |
svn:r13440
|
|
|
|
|
|
|
| |
Fix some warnings identified by building with -D_FORTIFY_SOURCE=2. Remove a redundant (and nuts) definition of _FORTIFY_SOURCE from eventdns.c.
svn:r13424
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items.
svn:r13405
|
|
|
|
|
|
|
| |
Remove some dead code; fix some XXX020s; turn some XXX020s into XXXX_IP6s (i.e., "needs to be fixed when we add ipv6 support").
svn:r13382
|
|
|
|
|
|
|
| |
Write a new autoconf macro to test whether a function is declared. It is suboptimal and possibly buggy in some way, but it seems to work for me. use it to test for a declaration of malloc_good_size, so we can workaround operating systems (like older OSX) that have the function in their libc but do not deign to declare it in their headers. Should resolve bug 587.
svn:r13339
|
|
|
|
|
|
|
| |
Fixes to more anonymously-reported typos and logic errors.
svn:r13136
|
|
|
|
|
|
|
| |
escape sequence; this patch fixes it
svn:r13086
|
|
|
|
|
|
|
| |
Another test for the increasingly bad check-spaces style checker to check: #else\n#if is almost a sure sign of a failure to use #elif. Fortunately, we only did that 3 times.
svn:r13039
|
|
|
|
|
|
|
| |
fix whitespace
svn:r13035
|