Roger Dingledine
|
45685c3cb7
|
parse_line_from_file is obsolete.
svn:r2693
|
2004-11-06 05:18:29 +00:00 |
|
Nick Mathewson
|
132c0142e2
|
Unify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are defined
svn:r2688
|
2004-11-05 17:54:50 +00:00 |
|
Nick Mathewson
|
2ac7dc39e5
|
Use new log format; convert old format to new format.
svn:r2684
|
2004-11-05 05:50:35 +00:00 |
|
Nick Mathewson
|
dc1474c747
|
Twiddle header order to compile on OS X again
svn:r2681
|
2004-11-04 22:33:20 +00:00 |
|
Nick Mathewson
|
0068a37fe8
|
Add code to read configuration lines from a string as well as a file
svn:r2676
|
2004-11-04 22:29:45 +00:00 |
|
Nick Mathewson
|
8efd03e52f
|
Fix windows build
svn:r2670
|
2004-11-04 04:01:19 +00:00 |
|
Nick Mathewson
|
f63e5f075c
|
fix typos
svn:r2666
|
2004-11-03 21:53:12 +00:00 |
|
Nick Mathewson
|
84b2b49748
|
Implement two flavors of authentication for control connections: one for trusted FS, one for untrusted FS.
svn:r2664
|
2004-11-03 19:49:03 +00:00 |
|
Nick Mathewson
|
8fba4c72bd
|
Remove extraneous local
svn:r2663
|
2004-11-03 19:15:38 +00:00 |
|
Nick Mathewson
|
e6cc8da12f
|
Add a write_bytes_to_file so we can have files with NULs in them.
svn:r2662
|
2004-11-03 19:02:48 +00:00 |
|
Nick Mathewson
|
14df958a2d
|
Add a slightly trickier string-join interface for making NUL-terminated string messages
svn:r2659
|
2004-11-03 18:28:00 +00:00 |
|
Nick Mathewson
|
9414c14f91
|
Add a callback log handler type
svn:r2658
|
2004-11-03 18:27:19 +00:00 |
|
Roger Dingledine
|
120c105523
|
my assert.h takes extra pains to be certain to _re-include_
itself if you include it twice. this is dumb, but hey.
svn:r2653
|
2004-11-03 07:29:03 +00:00 |
|
Nick Mathewson
|
4568f7a365
|
The spelling is "d-e-f-i-n-e".
svn:r2650
|
2004-11-03 00:02:17 +00:00 |
|
Nick Mathewson
|
083e9101ed
|
Add compatibility macros for printf and scanf-ing 64-bit unsigned ints
svn:r2648
|
2004-11-02 22:14:34 +00:00 |
|
Nick Mathewson
|
373e07dafe
|
Handle strlcat/strlcpy correctly on platforms that have them.
svn:r2647
|
2004-11-02 19:25:52 +00:00 |
|
Nick Mathewson
|
b128126620
|
Use a stricter set of warnings; make them all pass.
svn:r2645
|
2004-11-02 03:02:17 +00:00 |
|
Roger Dingledine
|
08de314fd1
|
canonicalize "src" and "dest" arg order in crypto.c (and others)
svn:r2644
|
2004-11-02 02:28:51 +00:00 |
|
Nick Mathewson
|
3dcce9e88a
|
Fix signed/unsigned comparison warning
svn:r2643
|
2004-11-01 22:41:32 +00:00 |
|
Roger Dingledine
|
30c9ca5dfb
|
util.c needs ctype.h for tolower and isspace
svn:r2642
|
2004-11-01 21:54:12 +00:00 |
|
Nick Mathewson
|
ee4f2a39b7
|
Split util into util (general utilities), container (smartlist and strmap), and compat (cross-platform compatability).
svn:r2640
|
2004-11-01 20:41:47 +00:00 |
|
Roger Dingledine
|
6e310f60c0
|
make sure options.MaxConn can be reached
svn:r2638
|
2004-11-01 08:24:34 +00:00 |
|
Nick Mathewson
|
6afc9a1ddf
|
Only tor and test binaries need to link against openssl and zlib; tor-resolve can be smaller.
svn:r2629
|
2004-10-30 19:27:06 +00:00 |
|
Nick Mathewson
|
e1cb54b8bd
|
Move all util functions that need openssl into crypto.c; make non-openssl functions that util needs into util. Now openssl can be separated.
svn:r2628
|
2004-10-30 19:26:31 +00:00 |
|
Nick Mathewson
|
2806e7f0c3
|
Tricksy compiler warnings! We hates them, hates them forever, my precious!
svn:r2615
|
2004-10-27 21:14:11 +00:00 |
|
Nick Mathewson
|
bf8b976d9f
|
Pass with -Wstrict-prototypes
svn:r2614
|
2004-10-27 18:16:37 +00:00 |
|
Nick Mathewson
|
a4593cd473
|
Fix windows build
svn:r2613
|
2004-10-27 18:14:38 +00:00 |
|
Nick Mathewson
|
c0405cb359
|
Use strlcpy, not strcpy.
svn:r2610
|
2004-10-27 06:48:16 +00:00 |
|
Nick Mathewson
|
ffccb22462
|
Use tor_snprintf, not snprintf
svn:r2609
|
2004-10-27 06:37:34 +00:00 |
|
Nick Mathewson
|
342c419afd
|
snprintf wrapper with consistant (though not C99) overflow behavior
svn:r2606
|
2004-10-27 06:26:23 +00:00 |
|
Nick Mathewson
|
e4e8b40876
|
Use strlcpy, not strncpy
svn:r2603
|
2004-10-27 06:03:28 +00:00 |
|
Nick Mathewson
|
6a61affc71
|
Replace sprintf with snprintf
svn:r2602
|
2004-10-27 05:53:07 +00:00 |
|
Nick Mathewson
|
4bf6f434a6
|
Add SysLog option to direct log messages to the system log instead of a FILE*.
svn:r2591
|
2004-10-26 21:48:41 +00:00 |
|
Nick Mathewson
|
05122ef2b8
|
Handle more errnos from accept() without closing the connection. This may fix a bug that could close OR listeners when (a) TCP connections were hung up before accept() could be called, or (b) during FD exhaustion.
svn:r2579
|
2004-10-24 00:55:18 +00:00 |
|
Nick Mathewson
|
8b0527b72d
|
Check for low _MSC_VER, not high. On windows, always use winsock.
svn:r2575
|
2004-10-20 23:30:38 +00:00 |
|
Roger Dingledine
|
880cd56a23
|
add winsock if you've got it, regardless of whether you're msv
svn:r2573
|
2004-10-20 23:23:53 +00:00 |
|
Nick Mathewson
|
ce30d810b2
|
Tolerate NULL nicknames better
svn:r2567
|
2004-10-19 18:17:12 +00:00 |
|
Roger Dingledine
|
f46bb185b5
|
i take back everything i've said about unit tests
svn:r2547
|
2004-10-16 22:56:03 +00:00 |
|
Roger Dingledine
|
0a28e8180c
|
don't assert multiple things in the same tor_assert()
svn:r2545
|
2004-10-16 22:28:11 +00:00 |
|
Nick Mathewson
|
2c84159748
|
Change interface of parse_addr_port() to return address in host order, since most users seem to want that.
svn:r2542
|
2004-10-16 21:53:30 +00:00 |
|
Nick Mathewson
|
e9431e03e1
|
Refactor parse-addr-mask-and-port-range into a separate function
svn:r2540
|
2004-10-16 21:41:12 +00:00 |
|
Nick Mathewson
|
f3f49aaad1
|
fix memory leak in router.c; start relying on NULL==(zero bytes)
svn:r2538
|
2004-10-16 20:38:57 +00:00 |
|
Nick Mathewson
|
0a02d05c16
|
Add an autoconf test to make sure that memset(&ptr, 0, sizeof(ptr)) and ptr=NULL are equivalent
svn:r2536
|
2004-10-16 20:26:12 +00:00 |
|
Nick Mathewson
|
ae7b62912c
|
Oops; make sure that break; and continue; work within SMARTLIST_FOREACH
svn:r2532
|
2004-10-15 20:49:31 +00:00 |
|
Nick Mathewson
|
8751323068
|
Use token-pasting magic to make nested SMARTLIST_FOREACH work.
svn:r2526
|
2004-10-15 04:45:47 +00:00 |
|
Nick Mathewson
|
100cccb261
|
add documentation for smartlist_join_strings
svn:r2524
|
2004-10-15 03:55:02 +00:00 |
|
Nick Mathewson
|
031a9d831c
|
Basic string-join functionality
svn:r2521
|
2004-10-14 19:51:47 +00:00 |
|
Nick Mathewson
|
a5054626ec
|
fix tab/space in torgzip.h
svn:r2493
|
2004-10-14 04:31:16 +00:00 |
|
Nick Mathewson
|
a9164c0b29
|
fix tab/space in torgzip.c
svn:r2492
|
2004-10-14 04:24:42 +00:00 |
|
Nick Mathewson
|
56bfe78950
|
Build without warnings on mac gcc 3.3
svn:r2487
|
2004-10-14 03:18:14 +00:00 |
|