Nick Mathewson
|
e6f3bf2a68
|
tor_assert(), not assert()
svn:r1777
|
2004-05-02 20:27:48 +00:00 |
|
Nick Mathewson
|
3dd1ef8783
|
Fix windows compile.
svn:r1776
|
2004-05-02 20:23:35 +00:00 |
|
Nick Mathewson
|
af08c4f878
|
Working strerror for windows socket errors, plus some snide comments.
svn:r1775
|
2004-05-02 20:18:21 +00:00 |
|
Roger Dingledine
|
1558fb7650
|
some patches on the patches
svn:r1761
|
2004-05-01 23:29:20 +00:00 |
|
Nick Mathewson
|
4dc30ea3c8
|
Remove bogus */ so util.c compiles
svn:r1759
|
2004-05-01 21:50:53 +00:00 |
|
Nick Mathewson
|
9a041591ac
|
Finish documenting the functions in common
svn:r1758
|
2004-05-01 21:41:23 +00:00 |
|
Nick Mathewson
|
908ccb9dcd
|
Handle windows socket errors correctly; comment most of common.
svn:r1756
|
2004-05-01 20:46:28 +00:00 |
|
Roger Dingledine
|
4b316b4a7d
|
some cosmetic fixes
svn:r1747
|
2004-04-29 02:52:49 +00:00 |
|
Nick Mathewson
|
9322641710
|
Use socketclose on windows as appropriate; end pid files with newline
svn:r1745
|
2004-04-28 21:14:56 +00:00 |
|
Nick Mathewson
|
7055f837ab
|
Make Tor build on win32 with VC6 without warnings.
svn:r1739
|
2004-04-28 20:13:21 +00:00 |
|
Nick Mathewson
|
ac622d94dc
|
Workarounds for a couple of pieces of windows strangeness.
svn:r1734
|
2004-04-28 19:35:12 +00:00 |
|
Nick Mathewson
|
568a4d187a
|
Check for machine/limits.h in addition to sys/limits.h
svn:r1705
|
2004-04-25 23:47:26 +00:00 |
|
Roger Dingledine
|
37192bd25e
|
use tor_assert and PUBLIC_KEY_OK
but don't use tor_assert inside log.c, to avoid loops
svn:r1696
|
2004-04-25 19:59:38 +00:00 |
|
Roger Dingledine
|
06a60c4fbb
|
use the real socketpair if we've got it
now it's just windows that has to use the kludged one
svn:r1675
|
2004-04-19 21:31:32 +00:00 |
|
Roger Dingledine
|
a54ded2879
|
util.c uses LONG_MAX, needs another include on fbsd 5.x
svn:r1653
|
2004-04-17 06:35:03 +00:00 |
|
Nick Mathewson
|
024c059fae
|
Force tor_malloc(0) to always be sane
svn:r1558
|
2004-04-08 03:05:08 +00:00 |
|
Nick Mathewson
|
8169da5c30
|
Don't use Tor version 0.0.5 for intro/rendezvous points. (We don't need
to worry about 0.0.4 or earlier, because nobody is running them any more.)
svn:r1533
|
2004-04-07 21:36:03 +00:00 |
|
Nick Mathewson
|
3d60cd1d61
|
Delete trailing whitespace and expand tabs; remove unused aes decrypt code
svn:r1522
|
2004-04-07 19:57:40 +00:00 |
|
Nick Mathewson
|
75c19716a8
|
Put ourself in router list; act accordingly.
svn:r1521
|
2004-04-07 19:46:27 +00:00 |
|
Nick Mathewson
|
8b371c2aa5
|
router_choose_random_node wants a smartlist of routers, not of nicknames.
svn:r1510
|
2004-04-06 21:19:59 +00:00 |
|
Nick Mathewson
|
6290d027c9
|
Continue attack on magic numbers; use new crypto wrappers where possible
svn:r1504
|
2004-04-06 20:16:12 +00:00 |
|
Nick Mathewson
|
257d509b91
|
Document stuff, reduce magic numbers, add emacs magic
svn:r1502
|
2004-04-06 03:44:36 +00:00 |
|
Nick Mathewson
|
b3c2b62a14
|
Make "common" no longer depend on or.h
svn:r1466
|
2004-04-03 04:05:12 +00:00 |
|
Nick Mathewson
|
7451de5d97
|
Loops work better when they terminate. Non-terminating loops are easier
to diagnose when they don't trash the stack.
svn:r1460
|
2004-04-03 02:55:42 +00:00 |
|
Nick Mathewson
|
fc4d15baf6
|
Hide smartlist internals
svn:r1451
|
2004-04-03 00:58:54 +00:00 |
|
Nick Mathewson
|
e8345bfced
|
refactor; start adding debugging logs to midpoint rend stuff
svn:r1445
|
2004-04-02 23:30:54 +00:00 |
|
Nick Mathewson
|
b32440a028
|
Implement hidserv_XX functions; there is still an XXX in directory_handle_command
svn:r1404
|
2004-03-31 03:42:56 +00:00 |
|
Nick Mathewson
|
93ab51e9ac
|
Make smartlist Do What Arma Expects.
svn:r1401
|
2004-03-30 22:59:00 +00:00 |
|
Nick Mathewson
|
96a86ef14d
|
Remove maximum-size field from smartlists
svn:r1397
|
2004-03-30 20:05:52 +00:00 |
|
Nick Mathewson
|
abcf3d9341
|
Make smartlists start small and grow as needed.
svn:r1394
|
2004-03-30 19:25:43 +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
|
0d8feba6d8
|
Add macros and functions to wrap memcpy/alignment logic.
svn:r1326
|
2004-03-21 02:01:17 +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 |
|
Nick Mathewson
|
b0ef4e1143
|
Use strmap code for client DNS.
svn:r1309
|
2004-03-20 01:21:19 +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
|
c195f69058
|
isspace and friends take an int. solaris cares.
svn:r1303
|
2004-03-19 20:50:12 +00:00 |
|
Roger Dingledine
|
7648c6c0ea
|
define INADDR_NONE so we compile on solaris
svn:r1295
|
2004-03-18 19:59:39 +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 |
|
Roger Dingledine
|
6a2821a7ff
|
fix a byte order bug
svn:r1277
|
2004-03-15 04:00:11 +00:00 |
|
Roger Dingledine
|
f55ff5b8d2
|
teach us to recognize internal IPs
svn:r1271
|
2004-03-14 18:07:46 +00:00 |
|
Roger Dingledine
|
45a3f6b97c
|
more pesky tabs
svn:r1265
|
2004-03-12 13:02:16 +00:00 |
|
Nick Mathewson
|
976bacae94
|
Make all the other read/writes into recv/sends, except when they shouldn't be.
svn:r1260
|
2004-03-11 06:35:03 +00:00 |
|
Nick Mathewson
|
0e5a134709
|
Fix DOS line endings; autoconfize checks for strptime and inet_aton
svn:r1248
|
2004-03-09 22:09:13 +00:00 |
|
Nick Mathewson
|
2da54de968
|
Make tor build on windows again. More work still needed
svn:r1247
|
2004-03-09 22:01:17 +00:00 |
|
Roger Dingledine
|
08346f13f0
|
make parse_line_from_file fail rather than warn for malformed lines
svn:r1193
|
2004-03-02 04:59:52 +00:00 |
|
Roger Dingledine
|
5cf0b6224b
|
bugfix: stop trying to write to a stderr that may not be there
also, tell start_daemon our desired cwd
svn:r1170
|
2004-02-28 23:21:29 +00:00 |
|
Roger Dingledine
|
f202d38191
|
patch from vicman to publish less platform information
svn:r1111
|
2004-02-18 21:23:50 +00:00 |
|
Nick Mathewson
|
cacacfe2b1
|
Integrate new daemon code, adapted from submission by christian grothoff
svn:r969
|
2004-01-03 22:40:49 +00:00 |
|
Roger Dingledine
|
eb730c41c8
|
clean tabs, trailing whitespace
svn:r952
|
2003-12-17 21:14:13 +00:00 |
|