aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* r16409@catbus: nickm | 2007-11-05 10:38:25 -0500Nick Mathewson2007-11-05
| | | | | | | Split handshake state into its own structure. Revise versions and netinfo code to use this structure. svn:r12380
* r16407@catbus: nickm | 2007-11-05 10:02:22 -0500Nick Mathewson2007-11-05
| | | | | | | Add a log message when we start retrieving networkstatus svn:r12378
* r14702@tombo: nickm | 2007-11-04 15:48:56 -0500Nick Mathewson2007-11-04
| | | | | | | Define SHARE_DATADIR, LOCALSTATEDIR, and BINDIR in Makefile.am as autoconf recommends. Do not move CONFDIR yet, since we seem to support overriding it in a weird way. Resolves bug 542. svn:r12376
* add the other v3 dir bugfixes. my bridge is now workingRoger Dingledine2007-11-04
| | | | | | | again even when my datadir starts empty. phew. svn:r12372
* r14700@tombo: nickm | 2007-11-03 22:29:21 -0400Nick Mathewson2007-11-04
| | | | | | | Fix sign error in networkstatus_note_certs_arrived(). svn:r12371
* avoid sending a request for "keys/fp" (for which we'll get a 400 badRoger Dingledine2007-11-04
| | | | | | | | request) if we need more v3 certs but we've already got pending requests for all of them. svn:r12370
* fix an assert error on startup if we didn't already have theRoger Dingledine2007-11-04
| | | | | | | | | | | consensus and certs cached in our datadirectory: we were caching the consensus in consensus_waiting_for_certs but then free'ing it right after. more bugs remain here, i think. svn:r12369
* If bridge users set UpdateBridgesFromAuthority, but the digestRoger Dingledine2007-11-04
| | | | | | | | they ask for is a 404 from the bridge authority, they now fall back to trying the bridge directly. svn:r12368
* always use begin_dir for publishing and fetching bridgeRoger Dingledine2007-11-03
| | | | | | | descriptors, no matter our config svn:r12365
* Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, toRoger Dingledine2007-11-03
| | | | | | | | accommodate the growing number of servers that use the default and are reaching it. svn:r12364
* r14678@tombo: nickm | 2007-11-03 16:12:31 -0400Nick Mathewson2007-11-03
| | | | | | | Try to make hidden service directory lookup functions a bit more efficient: go for fewer O(n) operations, and look at the consensus rather than the routerinfo list. svn:r12361
* r14677@tombo: nickm | 2007-11-03 15:16:27 -0400Nick Mathewson2007-11-03
| | | | | | | Add a smartlist_bsearch_idx function that gives more useful output than regular bsearch for the value-not-found case. svn:r12360
* Nov 03 11:15:13.103 [info] connection_dir_client_reached_eof(): Received ↵Roger Dingledine2007-11-03
| | | | | | | | | | consensus directory (size 330543) from server '86.59.21.38:80' Nov 03 11:15:13.129 [info] networkstatus_set_current_consensus(): Got a consensus we already have Nov 03 11:15:13.129 [warn] Unable to load consensus directory dowloaded from server '86.59.21.38:80' svn:r12359
* Stop leaking conn->nickname every time we make a connection to aRoger Dingledine2007-11-03
| | | | | | | | Tor relay without knowing its expected identity digest (e.g. when using bridges). Bugfix on 0.2.0.3-alpha. svn:r12355
* r16367@catbus: nickm | 2007-11-02 13:13:15 -0400Nick Mathewson2007-11-02
| | | | | | | Space fixes. svn:r12345
* r14652@tombo: nickm | 2007-11-02 12:02:13 -0400Nick Mathewson2007-11-02
| | | | | | | If setting our rlimit to rlim_max or cap fails, fall back to OPEN_FILES if defiled. This makes Tor run on OSX 10.5, while allowing OSX to mend its ways in the future. svn:r12341
* r14647@tombo: nickm | 2007-11-02 10:48:37 -0400Nick Mathewson2007-11-02
| | | | | | | Use rlim_t instead of unsigned long to manipulate rlimit values. svn:r12339
* r14631@tombo: nickm | 2007-11-02 00:18:17 -0400Nick Mathewson2007-11-02
| | | | | | | Better log messages for "not enough to build a circuit" message. svn:r12324
* r14623@tombo: nickm | 2007-11-01 22:25:18 -0400Nick Mathewson2007-11-02
| | | | | | | More tweaks from karsten, with some cleanup and commentary. svn:r12319
* r16337@catbus: nickm | 2007-11-01 14:18:58 -0400Nick Mathewson2007-11-01
| | | | | | | Remove superseded assert in directory.c svn:r12317
* make r12272 compile on 64-bitRoger Dingledine2007-11-01
| | | | svn:r12315
* fix compile errors on r12310 (thanks karsten)Roger Dingledine2007-11-01
| | | | svn:r12314
* r16326@catbus: nickm | 2007-11-01 00:56:45 -0400Nick Mathewson2007-11-01
| | | | | | | As an authority, send back an X-Descriptor-Not-New header when we accept but do not store a descriptor. Partial implementation of fix for bug 535. svn:r12310
* r16322@catbus: nickm | 2007-11-01 00:26:15 -0400Nick Mathewson2007-11-01
| | | | | | | Implement --quiet. svn:r12306
* r16320@catbus: nickm | 2007-11-01 00:11:20 -0400Nick Mathewson2007-11-01
| | | | | | | Learn new addresses for authorities from their certificates. svn:r12305
* r16317@catbus: nickm | 2007-10-31 23:52:52 -0400Nick Mathewson2007-11-01
| | | | | | | Use HMAC() function from openssl. Oops. svn:r12304
* r16314@catbus: nickm | 2007-10-31 23:40:08 -0400Nick Mathewson2007-11-01
| | | | | | | Clients download and cache new hidden descriptor format. svn:r12302
* r16302@catbus: nickm | 2007-10-31 16:45:16 -0400Nick Mathewson2007-10-31
| | | | | | | Clean spaces. svn:r12301
* r16301@catbus: nickm | 2007-10-31 16:43:49 -0400Nick Mathewson2007-10-31
| | | | | | | A couple of small tweaks to karsten's latest patch, and note an issue with using a bitmap to represent a single int. svn:r12300
* r16300@catbus: nickm | 2007-10-31 15:36:41 -0400Nick Mathewson2007-10-31
| | | | | | | Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate. svn:r12299
* r16287@catbus: nickm | 2007-10-31 00:53:53 -0400Nick Mathewson2007-10-31
| | | | | | | HMAC-SHA-1 implementation, with unit tests based on vectors from RVFC2202. Steven's stuff will need this. svn:r12289
* r16285@catbus: nickm | 2007-10-30 17:43:25 -0400Nick Mathewson2007-10-30
| | | | | | | Implement (but do not enable) link connection version negotiation svn:r12286
* r16282@catbus: nickm | 2007-10-30 14:28:58 -0400Nick Mathewson2007-10-30
| | | | | | | Implement lots of proposal 105. None of it is enabled yet. svn:r12285
* r16279@catbus: nickm | 2007-10-30 11:14:29 -0400Nick Mathewson2007-10-30
| | | | | | | Improved skew reporting: "You are 365 days in the duture" is more useful than "You are 525600 minutes in the future". Also, when we get something that proves we are at least an hour in the past, tell the controller "CLOCK_SKEW MIN_SKEW=-3600" rather than just "CLOCK_SKEW" svn:r12283
* r16278@catbus: nickm | 2007-10-30 09:46:28 -0400Nick Mathewson2007-10-30
| | | | | | | Accept future networkstatus documents, but warn about skew when we get them. svn:r12282
* r16263@catbus: nickm | 2007-10-29 15:08:17 -0400Nick Mathewson2007-10-29
| | | | | | | Tidy last patch a bit. svn:r12273
* r16262@catbus: nickm | 2007-10-29 13:21:35 -0400Nick Mathewson2007-10-29
| | | | | | | Patch from Karsten: Code to act as (and use) v2 hidden service directories. svn:r12272
* r16252@catbus: nickm | 2007-10-29 11:13:03 -0400Nick Mathewson2007-10-29
| | | | | | | Change symbol from DATADIR to SHARE_DATADIR, since DATADIR conflicts with objidl.h in mingw. svn:r12268
* r16248@catbus: nickm | 2007-10-28 19:42:14 -0400Nick Mathewson2007-10-28
| | | | | | | Do not count a server as having any WFU until we have known about it for 18 hours (weighted). svn:r12261
* r16246@catbus: nickm | 2007-10-28 19:34:58 -0400Nick Mathewson2007-10-28
| | | | | | | Implement a FallbackNetworkstatusFile (default to $prefix/share/tor/fallback-consensus) to that we know about lots of directory servers and routers when we start up the first time. svn:r12259
* r16242@catbus: nickm | 2007-10-28 16:28:13 -0400Nick Mathewson2007-10-28
| | | | | | | Implement if-modified-since for consensus networkstatuses so that we do not download duplicates needlessly. svn:r12258
* Downgrade the mismatched fpr warning to infoPeter Palfrader2007-10-28
| | | | svn:r12257
* r16238@catbus: nickm | 2007-10-28 15:46:10 -0400Nick Mathewson2007-10-28
| | | | | | | Whitespace fix. svn:r12256
* r16237@catbus: nickm | 2007-10-28 15:45:25 -0400Nick Mathewson2007-10-28
| | | | | | | Tidy v2 hidden service descriptor format code: fix memory leaks, fix reference problems, note magic numbers, note questions, remove redundant checks, remove a possible stack smashing bug when encoding a descriptor with no protocols supported. svn:r12255
* r16236@catbus: nickm | 2007-10-28 14:36:30 -0400Nick Mathewson2007-10-28
| | | | | | | Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors. svn:r12254
* r16234@catbus: nickm | 2007-10-28 14:27:22 -0400Nick Mathewson2007-10-28
| | | | | | | Clean up a couple of comments from r12244. svn:r12253
* Separate "SOCKS_COMMAND_CONNECT_DIR" into two flags inRoger Dingledine2007-10-28
| | | | | | | | | | | | edge_connection_t: want_onehop if it must attach to a circuit with only one hop (e.g. for the current tunnelled connections that use begin_dir), and use_begindir if we mean to use a BEGIN_DIR relay command to establish the stream rather than the normal BEGIN. Now we can make anonymized begin_dir connections for (e.g.) more secure hidden service posting and fetching. svn:r12244
* we need to send nick to the chalkboard to type 'un' 1000 times:Roger Dingledine2007-10-27
| | | | | | | | | Stop servers from crashing if they set a Family option (or maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported by Fabian Keil. svn:r12235
* don't warn so loudly when we couldn't load the unverified-consensusRoger Dingledine2007-10-27
| | | | | | | file. we can live without it. svn:r12221
* r16195@catbus: nickm | 2007-10-26 18:48:52 -0400Nick Mathewson2007-10-26
| | | | | | | base "Guard" flag on WFU rather than MTBF. Note an issue in the TODO. Roger: thoughts? svn:r12219