Commit Graph

28152 Commits

Author SHA1 Message Date
Nick Mathewson
b3f6b55ea1 Dont expire circuits we didnt originate. This may be redundant somehow, but better safe than sorry.
svn:r1331
2004-03-21 05:01:06 +00:00
Nick Mathewson
2561472809 Add missing dollar sign
svn:r1330
2004-03-21 04:19:31 +00:00
Nick Mathewson
b69f5f3e1b Add an autoconf test for whether unaligned int access is permitted.
It works on macos, and works correctly when I twiddle the test code to
generate a spurious segfault.  Will it work anywhere else?


svn:r1329
2004-03-21 04:14:06 +00:00
Nick Mathewson
f608b85ddf Replace all connection_removes outsice of main.c with connection_mark_for_close
svn:r1328
2004-03-21 03:18:45 +00:00
Nick Mathewson
b7c2b18bd6 Add a RunTesting option to try to learn link state by creating test circuits, even when SocksPort is off.
svn:r1327
2004-03-21 03:03:10 +00:00
Nick Mathewson
0d8feba6d8 Add macros and functions to wrap memcpy/alignment logic.
svn:r1326
2004-03-21 02:01:17 +00:00
Roger Dingledine
dfb16a6274 mark off another bug
svn:r1325
2004-03-20 23:27:41 +00:00
Roger Dingledine
3d2c6c7cfa catch signals in a more portable way, so solaris can catch them too
svn:r1324
2004-03-20 23:27:22 +00:00
Roger Dingledine
e9b67e1e6a fix one bug, add another
svn:r1323
2004-03-20 22:38:20 +00:00
Roger Dingledine
d10fcc89ec make uname() more likely to work on solaris
(linux says 0 is success, solaris says 1 is success)


svn:r1322
2004-03-20 21:22:16 +00:00
Roger Dingledine
49a221500d fix one bug, note two more
svn:r1321
2004-03-20 20:49:33 +00:00
Roger Dingledine
30520b926c solaris no longer needs special ./configure directions
svn:r1320
2004-03-20 20:48:27 +00:00
Roger Dingledine
ed0ef86c0e make OR not crash when non-OR connection dies
svn:r1319
2004-03-20 20:37:49 +00:00
Roger Dingledine
568a4e0a04 warn and fail if server chose a nickname with illegal characters
svn:r1318
2004-03-20 20:28:53 +00:00
Roger Dingledine
4f0bad280d make servers not crash when they rep-hist-note circuits that don't start at them
svn:r1317
2004-03-20 20:21:20 +00:00
Roger Dingledine
e5cf396285 oops, and make make work too on solaris
svn:r1316
2004-03-20 20:08:19 +00:00
Roger Dingledine
31aadef2d3 make configure work on solaris without mods
svn:r1315
2004-03-20 20:00:58 +00:00
Roger Dingledine
66f878513f deal with hardware word alignment
this was causing the seg faults on sparc processors

i wonder if i got them all.


svn:r1314
2004-03-20 09:30:30 +00:00
Nick Mathewson
2ba2f02181 Integrate the new "rephist" [rep(utation) hist(ory)] module to trace
successful/failed connections, successful/failed extends, and
connection uptimes.

It's still not done: more tests are needed, and not everything calls
connection/circuit_mark_for_close properly.  This skews the results.

Also, there needs to be a 'testing' mode for non-OP ORs, where they
periodically build circuits just to test whether extends work.


svn:r1313
2004-03-20 04:59:29 +00:00
Nick Mathewson
50354cbae7 Add TODO item to make everything use mark_for_close; not doing so will now skew the stats
svn:r1312
2004-03-20 04:57:27 +00:00
Peter Palfrader
52356f3e16 And tree.h is by Nils. Thanks arma
svn:r1311
2004-03-20 02:07:37 +00:00
Nick Mathewson
da9d5ccfda Add initial history-tracking backend code for reputation module. Not called or tested yet.
svn:r1310
2004-03-20 01:48:05 +00:00
Nick Mathewson
b0ef4e1143 Use strmap code for client DNS.
svn:r1309
2004-03-20 01:21:19 +00:00
Roger Dingledine
1dca07fc51 todo: make ./configure work on solaris more easily
svn:r1308
2004-03-19 22:17:23 +00:00
Roger Dingledine
c783ebe485 add a hint for solaris users
svn:r1307
2004-03-19 22:17:08 +00:00
Nick Mathewson
9199696182 Add some wrappers around SPLAY_* for the common map-from-string-to-X case.
It will probably be less blindingly fast than using SPLAY_* directly, but
only slightly so.


svn:r1306
2004-03-19 22:07:24 +00:00
Roger Dingledine
df3f37b84f getpid returns a pid_t. we all know that's an int. but solaris doesn't know.
svn:r1305
2004-03-19 21:34:04 +00:00
Roger Dingledine
4d37311481 we'd forgotten to autoconf fcntl.h
svn:r1304
2004-03-19 21:33:36 +00:00
Roger Dingledine
c195f69058 isspace and friends take an int. solaris cares.
svn:r1303
2004-03-19 20:50:12 +00:00
Peter Palfrader
51750ae09a New upstream release
svn:r1301
2004-03-19 11:38:06 +00:00
Roger Dingledine
161d7d19ae our changelog for 0.0.2
svn:r1299
2004-03-19 07:08:15 +00:00
Roger Dingledine
1c1d75bd83 we should leave old server descriptors out of the directory
svn:r1298
2004-03-19 07:07:00 +00:00
Roger Dingledine
6438a5db08 ship strlcat and strlcpy with the tarball, but don't compile them
svn:r1297
2004-03-19 06:39:52 +00:00
Roger Dingledine
e66adf3d79 bump version to 0.0.2
svn:r1296
2004-03-19 06:28:20 +00:00
Roger Dingledine
7648c6c0ea define INADDR_NONE so we compile on solaris
svn:r1295
2004-03-18 19:59:39 +00:00
Roger Dingledine
208625ae31 clean up some presentation and comments
svn:r1294
2004-03-18 19:22:56 +00:00
Roger Dingledine
c01253da96 another todo item re: logs
svn:r1293
2004-03-18 16:27:54 +00:00
Nick Mathewson
3c15876603 Turns out, these files should not actually be in cvs!
svn:r1292
2004-03-18 04:54:54 +00:00
Roger Dingledine
431c8ad63b extend copyright to 2004
svn:r1291
2004-03-18 03:00:03 +00:00
Peter Palfrader
ef84481aff Add license of strlcat and strlcpy to debian/copyright
svn:r1290
2004-03-17 13:25:10 +00:00
Nick Mathewson
971b002d93 Include strlcpy and strlcat where not available, so our string ops can be less error-prone.
svn:r1289
2004-03-17 07:28:09 +00:00
Peter Palfrader
d9a8e317e4 Add ...truncated to TODO list
svn:r1288
2004-03-15 15:52:43 +00:00
Roger Dingledine
a346889e94 make directory format tests quiet again
svn:r1287
2004-03-15 05:13:25 +00:00
Roger Dingledine
0b9c140102 make it warn about internal IPs not only if we had to guess,
but also if they used a hostname rather than an IP


svn:r1285
2004-03-15 04:57:24 +00:00
Peter Palfrader
39835dd9f6 New upstream release
svn:r1283
2004-03-15 04:22:16 +00:00
Roger Dingledine
702a6370b4 changelog for pre27
svn:r1282
2004-03-15 04:21:47 +00:00
Roger Dingledine
de04585103 bump us to pre27
world's shortest release


svn:r1281
2004-03-15 04:21:35 +00:00
Roger Dingledine
a0cb5fe143 check off a todo item
svn:r1280
2004-03-15 04:20:14 +00:00
Roger Dingledine
70cc557a18 only complain about private IPs if we had to guess
svn:r1279
2004-03-15 04:04:16 +00:00
Roger Dingledine
be18884765 and another one
svn:r1278
2004-03-15 04:00:14 +00:00