aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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 andPeter 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
* Remove pdfs since they aren't created this early in the process.Andrew Lewman2006-03-11
| | | | svn:r6127
* bump to 0.1.1.15-rcRoger Dingledine2006-03-11
| | | | svn:r6126
* fix bug reported by gozu: if we get a linelist or linelist_sRoger Dingledine2006-03-11
| | | | | | | | config option from the torrc and it has no value, warn and skip rather than silently resetting it to its default. svn:r6125
* huge warning sign for esc_router_info()Roger Dingledine2006-03-11
| | | | svn:r6124
* Include package_list.txt for detailed uninstallation on osx. Force theAndrew Lewman2006-03-11
| | | | | | | | osx uninstall script to actually clean up directories as well. Make TorPostflight actions safer. svn:r6123
* Properly add the image to make the OSX install pretty.Andrew Lewman2006-03-11
| | | | svn:r6122
* Remove the imageAndrew Lewman2006-03-11
| | | | svn:r6121
* This makes the install pretty.Andrew Lewman2006-03-11
| | | | svn:r6120
* Include actual documentation with the installation, include theAndrew Lewman2006-03-11
| | | | | | | uninstaller in executable format, and make the install pretty. svn:r6119
* Include the osx uninstaller in the metapackage.Andrew Lewman2006-03-11
| | | | svn:r6118
* Use escaped() for remaining cases.Nick Mathewson2006-03-11
| | | | svn:r6117
* make entry guard logs even quieterRoger Dingledine2006-03-10
| | | | svn:r6116
* add johnny's further discussion on incentives.Roger Dingledine2006-03-09
| | | | svn:r6115
* stop printing a log message at every iteration through theRoger Dingledine2006-03-09
| | | | | | | | event loop when holding open a conn for flushing but it doesn't want to flush any more bytes yet. svn:r6114
* add to the stack of implementation notes.Roger Dingledine2006-03-09
| | | | svn:r6113
* Let the controller attachstream conns that are in connect_waitRoger Dingledine2006-03-09
| | | | | | | | or resolve_wait: we detach them first and then act as before. Resolves bug 264. svn:r6112
* distribute contrib/rc.subr in the tarballRoger Dingledine2006-03-09
| | | | svn:r6111