aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* stop wasting cpu time on authdirserversRoger Dingledine2004-08-08
| | | | | | | | we were making a new directory only when the old one was dirty, but every time we made one, we'd dirty it by testing it right then. svn:r2199
* fix a race condition in 008pre2: don't try to extend onto a connectionRoger Dingledine2004-08-08
| | | | | | | | | | that's still handshaking. for servers in clique mode, require the conn to be open before you'll choose it for your path. svn:r2198
* let children survive sigint, sigterm, etc.Roger Dingledine2004-08-08
| | | | | | | | this was biting us because ^c would get delivered to all of them, maybe because they were all still listening to stdin? svn:r2197
* reject the default edonkey, kazaa, gnutella portsRoger Dingledine2004-08-08
| | | | | | | to slow the coming flood svn:r2195
* Don't warn about being unverified if you're not in the running-routersRoger Dingledine2004-08-07
| | | | | | | list at all. svn:r2193
* touch-upsRoger Dingledine2004-08-07
| | | | svn:r2192
* Handle loop initialization for bandwidth tracking properlyNick Mathewson2004-08-07
| | | | svn:r2190
* Only warn about version newness onceNick Mathewson2004-08-07
| | | | svn:r2189
* list the port and socks version when complaining about unsafe socksRoger Dingledine2004-08-07
| | | | svn:r2188
* Allow multiple ORs with same nickname in routerlistNick Mathewson2004-08-07
| | | | svn:r2187
* Remove obsolete link-key keywordNick Mathewson2004-08-07
| | | | svn:r2186
* router_get_hash_impl would fail when end_str started with \n. Now it works.Nick Mathewson2004-08-07
| | | | svn:r2185
* rotate onion keys every 12 hours, not every 2 hoursRoger Dingledine2004-08-07
| | | | svn:r2184
* Fix a leakNick Mathewson2004-08-07
| | | | svn:r2183
* Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename ↵Nick Mathewson2004-08-07
| | | | | | format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests. svn:r2182
* avoid racing the mark-for-close when the client hangs up on usRoger Dingledine2004-08-07
| | | | | | | | at the same time we get an end relay cell. (thanks to wmf for reminding me) svn:r2181
* untwisting the logic, it would seem the pkey is always defined?Roger Dingledine2004-08-07
| | | | svn:r2180
* Comment about n_args<1 is correct, since all directory servers are running ↵Nick Mathewson2004-08-07
| | | | | | post-007x versions svn:r2179
* print the name of the dirserver that told us we were unverifiedRoger Dingledine2004-08-07
| | | | | | | nick, please review this. svn:r2177
* Always initialize hexid in rend_mid_rendezvous, no matter whatNick Mathewson2004-08-07
| | | | svn:r2176
* hex_encode is obsoleted by base16_encode, and never actually worked in the ↵Nick Mathewson2004-08-07
| | | | | | first place. (Thanks to Timo Lindfors for noticing the never-actually-worked part.) svn:r2175
* reject tor-resolve requests for .onion addresses earlyRoger Dingledine2004-08-07
| | | | svn:r2174
* be willing to expire routers that have a dirport openRoger Dingledine2004-08-06
| | | | | | | it's just the authoritative dirservers we want to not forget svn:r2173
* let purging routerinfos and descriptors take an age argumentRoger Dingledine2004-08-06
| | | | svn:r2171
* Keep track of a whole day of bandwidth, not just 12 hrsNick Mathewson2004-08-06
| | | | svn:r2168
* (size_t)-1 is never < 0; fix an XXXX008 by changing the interface for ↵Nick Mathewson2004-08-06
| | | | | | dirserv_get_runningrouters svn:r2165
* There is no space after network-status; make router_get_hash_impl more ↵Nick Mathewson2004-08-06
| | | | | | bulletproof. svn:r2162
* when they use tor as an http proxy, point them at a better urlRoger Dingledine2004-08-06
| | | | svn:r2161
* and add a comment to that effectRoger Dingledine2004-08-06
| | | | svn:r2159
* make explicit that 'no socks policy' means 'accept'Roger Dingledine2004-08-06
| | | | svn:r2158
* fix an assert: check the sockspolicy before we make/add the connection,Roger Dingledine2004-08-06
| | | | | | | | else we close a connection without assigning it a state, which is bad because it fails assert_conn_ok() svn:r2156
* they're uint64 and uint32, not int and intRoger Dingledine2004-08-06
| | | | svn:r2152
* list total traffic and total uptime in -usr1 statsRoger Dingledine2004-08-06
| | | | svn:r2151
* note a bug that adam foundRoger Dingledine2004-08-06
| | | | svn:r2150
* note a bug in our dns error handling. we should fix this sometime.Roger Dingledine2004-08-05
| | | | svn:r2149
* bugfix: when you finish answering a 'resolve' request, hold theRoger Dingledine2004-08-05
| | | | | | | connection open so you can flush the answer svn:r2148
* bugfix: when tor-resolve asks to resolve an IP to an IP and we answerRoger Dingledine2004-08-04
| | | | | | | | immediately, there's no need to send an 'end' relay cell when we close the conn. svn:r2147
* fix rare race condition that causes infinite loopRoger Dingledine2004-08-04
| | | | | | | | | if we get a sigchld but all our children are gone by the time we get around to reaping them (i don't think this should ever happen, but it just did), then we'd loop forever trying to reap them. svn:r2141
* commit some odds and ends, so my tree is cleanRoger Dingledine2004-08-04
| | | | svn:r2137
* <arma> did you get it working on win32? or just compilingNick Mathewson2004-08-04
| | | | svn:r2136
* Bugfix: "Okay, I just shut down like you told me. Now let me verify your ↵Nick Mathewson2004-08-04
| | | | | | signature." Also fix error message when running over-new version. svn:r2135
* only pick a default nickname if you're a serverRoger Dingledine2004-08-04
| | | | svn:r2134
* put a comment by routerlist_update_from_runningrouters() toRoger Dingledine2004-08-04
| | | | | | | remind me that it's not used yet svn:r2132
* log a warning if you're running an unverified server, to letRoger Dingledine2004-08-04
| | | | | | | | | | | | | you know you might want to get it verified also, moved that whole block below the check-signature logic, so we don't execute it if the directory is a fake. (the recommended-versions logic is still executed before the signature is checked; we should fix that.) svn:r2131
* Hack: Include date with successful directory GETs.Nick Mathewson2004-08-04
| | | | svn:r2130
* Add functions to format and parse RFC1123-style times, for HTTP protocol.Nick Mathewson2004-08-04
| | | | svn:r2129
* put the have_warned_about_unsafe_socks static var inside the functionRoger Dingledine2004-08-04
| | | | svn:r2128
* Fix all warnings on win32 buildNick Mathewson2004-08-03
| | | | svn:r2127
* warn if we use an unsafe socks variantRoger Dingledine2004-08-03
| | | | | | | | | for now, warn every time. we should decide how often we want to warn; one problem here is that there are several scenarios where we use an unsafe socks variant safely, so the warning may be inaccurate. hm. svn:r2126
* don't send an end back for a malformed resolved cell,Roger Dingledine2004-07-23
| | | | | | | since they don't establish streams svn:r2119