| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Add documentation to src/common/*.h; improve documentation for SMARTLIST_FOREACH; remove never-used options and corresponding tests from tor_strpartition.
svn:r9483
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Call stat() slightly less often; use fstat() when possible.
svn:r9472
|
|
|
|
|
|
|
| |
Remove dead code; make targets of addressmap commands/configs use AllowNonRFC953Hostnames
svn:r9211
|
|
|
|
|
|
|
| |
Add a rudimentary line-wrapping function for use in dumping comments in config files.
svn:r9132
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r8498
|
|
|
|
|
|
| |
now, we allow multiple servers with the same name in the routerlist even if that name is reserved, but we check whether names are reserved when we try to look up routers by nickname. This is a minor security fix. This makes router_add_to_routerlist O(1). This is a backport candidate.
svn:r8433
|
|
|
|
| |
svn:r8358
|
|
|
|
|
|
|
| |
Amazing how much difference adding a ! to all your asserts can make.
svn:r7029
|
|
|
|
|
|
|
| |
Only use __builtin_offsetof with gcc 4 or later
svn:r7028
|
|
|
|
|
|
|
| |
And another GCC change: predict that tor_frees() are usually real frees, and tor_asserts() usually wont happen. Other test should wait till -fprofile-arcs
svn:r7022
|
|
|
|
|
|
|
| |
Use gcc offsetof where available.
svn:r7021
|
|
|
|
|
|
|
| |
Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation.
svn:r7020
|
|
|
|
|
|
|
| |
Add a utility function to verify that a string has been through strlower.
svn:r6959
|
|
|
|
|
|
| |
macro (we already need this).
svn:r6810
|
|
|
|
|
|
|
| |
the node operator, since he can't do anything about it.
svn:r6733
|
|
|
|
| |
svn:r6710
|
|
|
|
|
|
| |
that I am so bad at it.
svn:r6638
|
|
|
|
| |
svn:r6635
|
|
|
|
| |
svn:r6170
|
|
|
|
| |
svn:r6168
|
|
|
|
|
|
| |
use autoconf. Also, prefer __func__ in our own code: __func__ is a C99 standard, whereas __FUNCTION__ is not. [Fixes bug 254.]
svn:r6144
|
|
|
|
|
|
| |
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
svn:r6087
|
|
|
|
|
|
| |
understand it); needs testing.
svn:r6086
|
|
|
|
|
|
| |
the mask is not reducible to a bit-prefix.
svn:r5991
|
|
|
|
| |
svn:r5949
|
|
|
|
| |
svn:r5767
|
|
|
|
| |
svn:r5545
|
|
|
|
| |
svn:r5468
|
|
|
|
| |
svn:r5338
|
|
|
|
| |
svn:r5317
|
|
|
|
|
|
| |
domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
svn:r5309
|
|
|
|
|
|
| |
of identifiers. src/or has not been converted yet. Domains dont do anything yet.
svn:r5284
|
|
|
|
| |
svn:r5265
|
|
|
|
| |
svn:r5208
|
|
|
|
|
|
| |
leaking, using dmalloc.
svn:r5178
|
|
|
|
| |
svn:r5162
|
|
|
|
|
|
| |
little better.
svn:r5150
|
|
|
|
|
|
| |
structs; one appends.
svn:r5024
|
|
|
|
| |
svn:r4934
|
|
|
|
| |
svn:r4906
|
|
|
|
| |
svn:r4838
|
|
|
|
| |
svn:r4688
|
|
|
|
| |
svn:r4382
|
|
|
|
| |
svn:r4116
|
|
|
|
|
|
|
|
|
|
| |
daemonize process, not the beginning. this was a problem
because the first time you run tor, if your datadir isn't
there, and you have runasdaemon set to 1, it will try to
chdir to it before it tries to create it. oops.
svn:r4033
|
|
|
|
| |
svn:r3982
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Mapaddress
- Postdescriptor
- GetInfo on descriptors
Required changes elsewhere:
- Keep the most recent running_routers_t in the routerlist_t. That way we
can learn about new routers and remember whether we were last told that
they were up or down. Also enables more simplifications.
- Keep the signed descriptor inside routerinfo_t. This makes
descriptor_entry_t in dirservers.c unneeded.
- Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun.
- Check addresses for plausibility before mapping them.
svn:r3696
|