summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* right now we don't support entryguards on auth dirservers,Roger Dingledine2006-03-17
| | | | | | | | but that doesn't mean we need to remind them every time they start up. svn:r6179
* Implement router purposes, and don't choose a non-generalRoger Dingledine2006-03-17
| | | | | | | | | | | purpose router when picking random nodes for a circuit. Also implement SETROUTERPURPOSE and modify +POSTDESCRIPTOR. This concludes bug 250 assuming it all works. svn:r6178
* specify SETROUTERPURPOSE and modify +POSTDESCRIPTORRoger Dingledine2006-03-17
| | | | | | | to address bug 250. svn:r6177
* but i made the line too longRoger Dingledine2006-03-17
| | | | svn:r6176
* stop tricking server operators into thinking they got theirRoger Dingledine2006-03-17
| | | | | | | torrc perfect, just because tor could build a circuit. svn:r6175
* Comments: cleanups and additions.Nick Mathewson2006-03-17
| | | | svn:r6174
* normalize whitespace.Nick Mathewson2006-03-17
| | | | svn:r6173
* Only warn about lack of name binding for self if we have tried downloading ↵Nick Mathewson2006-03-17
| | | | | | every networkstatus. svn:r6172
* resume being printist: if the hostname contains non-printableRoger Dingledine2006-03-15
| | | | | | | | | | | | characters, then fail. this time don't even bother telling the server operator about these cases, because what's he going to do? if it turns out that some significant population somewhere in the world uses non-printable hostnames and wants to use tor, then i hereby assume that they will contact us. svn:r6171
* add tor_strisprint() back in, this time with comments.Roger Dingledine2006-03-15
| | | | svn:r6170
* quiet another entry guard log messageRoger Dingledine2006-03-15
| | | | svn:r6169
* and remove now-extraneous functionRoger Dingledine2006-03-15
| | | | svn:r6168
* Stop being printist: just because our local platform doesn'tRoger Dingledine2006-03-15
| | | | | | | | consider an alleged destination to be printable doesn't mean nobody in the world will want to use it. svn:r6167
* Interim fix for 272: Only warn that we are not named if we have status docs ↵Nick Mathewson2006-03-15
| | | | | | from some naming authorities. svn:r6166
* Implement GETINFO(dir/server/foo); status will be harder.Nick Mathewson2006-03-15
| | | | svn:r6165
* (Missing header change) Do not warn about unknown servers in our family when ↵Nick Mathewson2006-03-15
| | | | | | they are given as hex digests. svn:r6164
* Do not warn about unknown servers in our family when they are given as hex ↵Nick Mathewson2006-03-15
| | | | | | digests. svn:r6163
* if we as a directory mirror don't know of any v1 directoryRoger Dingledine2006-03-15
| | | | | | | authorities, then don't try to cache any v1 directories. svn:r6162
* change INET_NTOA_BUF_LEN+1 to INET_NTOA_BUF_LENPeter Palfrader2006-03-14
| | | | | | | add a comment in a few places where we add weird numbers to buffer lengths svn:r6161
* remove extraneous (i hope) include from the openssl detectionRoger Dingledine2006-03-14
| | | | svn:r6160
* I wonder what an internal internet protocol isPeter Palfrader2006-03-14
| | | | svn:r6159
* When we try to be a server and Address is not explicitly setPeter Palfrader2006-03-14
| | | | | | | | and our hostname resolves to a private IP address, try to use an interface address if it has a public address. svn:r6158
* Fix an off-by-one buffer size in dirserv.c that magically never hit ourPeter Palfrader2006-03-14
| | | | | | | three authorities but broke sjmurdoch's own tor network. svn:r6157
* when event_add or event_del fail, tell us why.Roger Dingledine2006-03-13
| | | | svn:r6156
* Fix minor semantic error with no real effect:Peter Palfrader2006-03-13
| | | | | | | | | we were doing "is_internal_IP(htonl(in.s_addr))" but in.s_addr is in network order and is_internal_IP wants host order. Change to "is_internal_IP(ntohl(in.s_addr))". svn:r6155
* fix some punctuation and tabsRoger Dingledine2006-03-13
| | | | svn:r6154
* Use INLINE (which we define) instead of __inline (which is nonstandard) in ↵Nick Mathewson2006-03-13
| | | | | | ht.h. Resolves bug 270; maybe sun C will work now. svn:r6153
* fix a flipped boolean. I had mistakenly assumed my OSX latptop was my friendNick Mathewson2006-03-13
| | | | svn:r6152
* Add a missing include in ssl version test.Nick Mathewson2006-03-13
| | | | svn:r6151
* Nuke space after backslash in contrib/osx/Makefile.am.Nick Mathewson2006-03-13
| | | | svn:r6150
* Another configure.in fix. We copied some idiocy from our example "look for ↵Nick Mathewson2006-03-13
| | | | | | openssl" code where we skipped checking for the presence of header files when deciding whether we needed a -L or -I option. This broke the case where openssl/libevent was in our default linker search path, but not our default cpp search path. Thanks go to cat-"pathological case"-xeger and her Solaris box. svn:r6149
* Fix a couple of bugs in OpenSSL detection. Also, deal better when there are ↵Nick Mathewson2006-03-13
| | | | | | multiple SSLs installed. svn:r6148
* Added tor_logo.gif to dist and corrected tor html doc linksAndrew Lewman2006-03-13
| | | | svn:r6147
* Be a little more careful when our calculated bandwidth is so high that we ↵Nick Mathewson2006-03-13
| | | | | | could never ever exhaust our bandwidth limit. This should resolve bug 130. svn:r6146
* Fix bug in close_logs(): when we close and delete logs, remove them all from ↵Nick Mathewson2006-03-13
| | | | | | the global "logfiles" list. This should fix bug 222. svn:r6145
* Instead of listing a set of compilers that prefers __func__ to __FUNCTION__, ↵Nick Mathewson2006-03-13
| | | | | | use autoconf. Also, prefer __func__ in our own code: __func__ is a C99 standard, whereas __FUNCTION__ is not. [Fixes bug 254.] svn:r6144
* More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson2006-03-12
| | | | svn:r6143
* Cleanup on time-relaqted constants. New conventions:Nick Mathewson2006-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Surround all constants by (parens), whether we'll be using them in a denominator or not. 2) Express all time periods as products (24*60*60), not as multiplied-out constants (86400). 3) Comments like "(60*60) /* one hour */" are as pointless as comments like "c = a + b; /* set c to the sum of a and b */". Remove them. 4) All time periods should be #defined constants, not given inline. 5) All time periods should have doxygen comments. 6) All time periods, unless specified, are in seconds. It's not necessary to say so. To summarize, the old (lack of) style would allow: #define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */ next_try = now + 3600; The new style is: /** How often do we reattempt foo? */ #define FOO_RETRY_INTERVAL (60*60) next_try = now + RETRY_INTERVAL; svn:r6142
* lower the reachability timeout, so we're more likely to actRoger Dingledine2006-03-12
| | | | | | | quickly if a server stops being reachable. svn:r6141
* We screwed up in anticipating how to add new dirservers:Roger Dingledine2006-03-12
| | | | | | | | | | | | | Old servers won't realize they're supposed to stay connected to the new dirservers, so they'll expire connections to them, but that means the dirservers will list them as unreachable. So the fix is to stop requiring an open connection when deciding if a server is reachable. This makes us slightly less accurate, but at least it will work. svn:r6140
* a better clean-upRoger Dingledine2006-03-12
| | | | svn:r6139
* and another fixRoger Dingledine2006-03-12
| | | | svn:r6138
* make tor --verify-config closer to workingRoger Dingledine2006-03-12
| | | | svn:r6137
* Now do address rewriting when the controller asks us to attachRoger Dingledine2006-03-12
| | | | | | | | | | to a particular circuit too. This will let Blossom specify "moria2.exit" without having to learn what moria2's IP address is. It may also cause other controller authors some angst. Let us know. svn:r6136
* when we get funny-looking lines on our dirport, shut up about it.Roger Dingledine2006-03-12
| | | | svn:r6135
* fix assert while attachstream'ing a connect-wait orRoger Dingledine2006-03-12
| | | | | | | resolve-wait stream. svn:r6134
* avoid shadowing a variable so we don't get sad later.Roger Dingledine2006-03-12
| | | | svn:r6133
* bump to 0.1.1.15-rc-cvsRoger Dingledine2006-03-12
| | | | svn:r6132
* Apparently passing --host to configure when not cross-compiling is evil now andtor-0.1.1.15-rcdebian-version-0.1.1.15-rc-1Peter Palfrader2006-03-11
| | | | | | | | greatly confuses configure. So don't do it unless it actually differs from the --build host. svn:r6129
* New upstream versionPeter Palfrader2006-03-11
| | | | svn:r6128