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
Roger Dingledine
5078dc6e00
Hidden service operators had a bug in version 1 style INTRODUCE cells
...
that made them fail. Fix the bug, and revert clients to use version 0
until 0.0.9pre4 is obsolete.
svn:r2641
2004-11-01 21:46:27 +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
274fd4705c
make the tarball build
...
svn:r2639
2004-11-01 20:01:01 +00:00
Roger Dingledine
6e310f60c0
make sure options.MaxConn can be reached
...
svn:r2638
2004-11-01 08:24:34 +00:00
Roger Dingledine
801433f71a
hunt for getrlimit setrlimit sys/time.h sys/resource.h
...
svn:r2637
2004-11-01 08:23:45 +00:00
Roger Dingledine
fa35951951
change min required number of fd's to 1024
...
svn:r2636
2004-11-01 08:09:59 +00:00
Roger Dingledine
3d63131ab7
make our autogen.sh work on ksh as well as bash
...
svn:r2635
2004-11-01 06:40:49 +00:00
Roger Dingledine
baa590ff74
clean up confusing instruction
...
svn:r2634
2004-10-31 21:19:28 +00:00
Roger Dingledine
c40da3d3ed
fix 'make dist' so it works again
...
svn:r2633
2004-10-31 21:16:09 +00:00
Roger Dingledine
39b879a965
stop trying to maintain two separate doc sections
...
now README points to tor-doc.html
svn:r2632
2004-10-31 21:15:16 +00:00
Roger Dingledine
0fa18dde81
oh, and add the actual file too
...
svn:r2631
2004-10-31 20:29:25 +00:00
Roger Dingledine
4a69d89a5f
implement first piece of hibernation
...
still need to track bandwidth, and make decisions based on bandwidth
svn:r2630
2004-10-31 20:28:41 +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
6428c62766
tor --list-fingerprint to print fingerprint and exit
...
svn:r2627
2004-10-30 19:18:37 +00:00
Roger Dingledine
55539f9961
add a note to the doc telling openbsd folks that their fd limit is
...
too low
svn:r2626
2004-10-30 19:00:29 +00:00
Nick Mathewson
e357495f6c
Add TODO item: gripe early when fd limits are low, rather than blowing up when we run out
...
svn:r2625
2004-10-30 18:54:31 +00:00
Roger Dingledine
afeec71065
Fix paul gardner's assert bug. Turns out when circuit_launch_by_nickname()
...
failed at the first hop, it would try to relaunch another circ right
then, even though the first circuit hadn't been populated yet with its
pending_final_cpath.
svn:r2624
2004-10-30 05:04:52 +00:00
Nick Mathewson
ae4fd081c6
Link tools directory into rest of build system
...
svn:r2623
2004-10-28 20:31:15 +00:00
Nick Mathewson
8e557766c5
Note item completion
...
svn:r2622
2004-10-28 20:30:56 +00:00
Nick Mathewson
e4379a9157
Rename Python tor-resolve to tor-resolve.py; stop installing it; move tor-resolve manpage to doc directory
...
svn:r2621
2004-10-28 20:30:10 +00:00
Nick Mathewson
d9e309ea10
Add a pure-C tor-resolve implementation
...
svn:r2620
2004-10-28 20:28:13 +00:00
Nick Mathewson
ec0ff60c07
Mark item completed
...
svn:r2619
2004-10-28 18:40:21 +00:00
Nick Mathewson
f835159b00
Tweaks to prevent obsolete restarting tors from hammering the dirservers. (1) Cache a received directory as soon as the signature checks out. (2) Treat a cached directory as "recent" based on its mtime. (3) If we have a recent directory, we dont need to fetch a newer one for DirFetchPostPeriod. This needs review!
...
svn:r2618
2004-10-28 18:37:52 +00:00
Nick Mathewson
f3fa640bdd
Fix in warning fix
...
svn:r2617
2004-10-27 21:54:44 +00:00
Nick Mathewson
e33bf0d5d3
Check return of tor_snprintf
...
svn:r2616
2004-10-27 21:30:47 +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
dd4526436e
Add ability for some-but-not-all abbrevs to work in config file. Add a bunch of singular/plural abbrevs suggested by arma
...
svn:r2612
2004-10-27 17:37:01 +00:00
Roger Dingledine
7b1345bfff
stop freeing arbitrary memory
...
fix a couple of memory leaks
svn:r2611
2004-10-27 12:34:02 +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
Roger Dingledine
6095d2ac2c
clean up todo file some more
...
svn:r2608
2004-10-27 06:30:17 +00:00
Roger Dingledine
0affec40d9
document dirpolicy config option
...
svn:r2607
2004-10-27 06:29:11 +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
fd504c0c96
Avoid strcat; use snprintf or strlcat instead
...
svn:r2605
2004-10-27 06:25:29 +00:00
Roger Dingledine
9740cdb951
setting up your own tor network is much simpler now
...
svn:r2604
2004-10-27 06:24:16 +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
3d9d08fc16
Tenatively break items down for "launch" version
...
svn:r2601
2004-10-27 05:34:57 +00:00
Nick Mathewson
af19eae8a5
Make it compile on Linux
...
svn:r2600
2004-10-27 03:42:09 +00:00
Nick Mathewson
b63819c7f0
Add cvsignore in win32 directory
...
svn:r2599
2004-10-27 03:38:42 +00:00
Nick Mathewson
b652e0a9f6
Clean TODO indentation
...
svn:r2598
2004-10-27 03:14:54 +00:00
Nick Mathewson
b0a3bbbeae
Mark item completed
...
svn:r2597
2004-10-27 03:08:43 +00:00
Nick Mathewson
59ced2dcd0
Document new config code
...
svn:r2596
2004-10-27 03:08:04 +00:00
Nick Mathewson
1a837f6765
document configuration options with InitialCaps
...
svn:r2595
2004-10-27 03:07:53 +00:00